Q.1 Write all the MATLAB command and show the results from the MATLAB program Note: Turn the grid on, label axes and put
Posted: Fri May 20, 2022 12:52 pm
Q.1 Write all the MATLAB command and show the results from the MATLAB program Note: Turn the grid on, label axes and put a title for each plot. 1- Create a vector that ranges from 0 to pi in steps of pi/31. 2- Compute the column vectors x, y and z from the following relations: 0-1 sin(02) x = 2sin(O), y= and z= 0+1 3- Plot 0 versus x (red solid), o versus y (green dotted) and Oversus z (cyan dashed) in the same figure (with linewidth =3). 02