Question: pls solve using MATLAB thanks 1. Creating a user-defined function Write a user-defined MATLAB function named PBTask4p1 f.m for the following math function with x

 pls solve using MATLAB thanks 1. Creating a user-defined function Write

pls solve using MATLAB thanks

1. Creating a user-defined function Write a user-defined MATLAB function named PBTask4p1 f.m for the following math function with x the input argument and y the output y(x)-0.8x-13x2-5x The function should work for x being a scalar or a vector Write a script file named PBTask4pl.m to a) Use the function to calculate y(3) and y(5) and display the results in command window b) Use the function to make a plot of the function y(x) for 5 sxs 5. Label the x-axis and y-axis of the plot like the one as follows. 2018, Maryam Rahou, mrahou@swin.edu.au Page 12 of 35 MAE20002 Digital and Data Systems Portfolio Tasks Description 200 150 100 50 100 Input x

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!