Question: # Matlab Lab 1 : Type in your answer into this script after each problem statement. # Run each command and view the results in

# Matlab Lab 1: Type in your answer into this script after each problem statement.
# Run each command and view the results in the Command Window to see if it worked.
# submit this script file to the dropbox
# Problem 1: use the four ways of creating a vector explained in the Intro to Matlab
# document to create the vector (3,4,5,6,7,8,9)
linspace (3,9,7)
# Problem 2: use the linspace command to create the vector (6,5,4)
# Problem 3: create a 2 x 3 matrix of zeros
# Problem 4: create a 54 matrix of ones
# Problem 5: create a random matrix of size 34
# Problem 6: create an identity matrix of size 33
I=3***3
# Problem 7: create a diagonal matrix with the entries 1,3,5,7 along the diagonal
 # Matlab Lab 1: Type in your answer into this script

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!