Question: FABE 3 1 5 0 Lab 1 - MatLab next week Sp 2 4 For the following exercises, turn in a printout of commands performed

FABE 3150
Lab 1- MatLab
next week
Sp 24
For the following exercises, turn in a printout of commands performed in MATLAB and the corresponding results. Also include written comments where necessary.
Calculate
1.51010-20i2
Give answer in short and long scientific notation.
2. Find information on the for command in MATLAB.
3. Generate the following matrix using as few commands as possible:
E=[12345678910111213141516170192021023025262702930]
Extract the following submatrices:
F=[234589101114151617],G=[123131415192021]
Write an m-file in MATLAB to do the following:
i) Ask user input for the angle theta (in degrees). Note angle input on graph.
ii) Compute the following functions shown on the next page.
iii) Plot f1,f2, and f3 vs x all on the same figure. Use three different markers and colors to differentiate the curves. Include labels on x-axis and y-axis, a title, and a legend.
iv) Create a separate figure and plot f1 vs x and f2,f3 vs x on subplots that are arranged vertically (i.e.,2 subplots with one above the other). Use the same markers and colors as above. Include labels for x-axis and y-axis, a title, and label curves by using the text command.
 FABE 3150 Lab 1- MatLab next week Sp 24 For the

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!