Question: 1 . Execute the MATLAB commands indicated and record the output ( omit the zeros after the decimal point ) . ( a ) 2

1. Execute the MATLAB commands indicated and record the output (omit the zeros after the decimal
point).
(a)2:-1.4:-5________________________(b)3:2:-6____________________________
(c)-4:5:10__________________________
2. Write the MATLAB command that gives the following.
(a) Assigns [-3.1-2.3-1.5-0.70.10.9] to the variable z.__________________________________
(b) Generates 100 evenly spaced numbers between 0 and 1, assigns this vector to the variable y, but
doesnt display the vector y. Do not use the linspace command

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!