[SOLVED] CS113-Excercise 3

35.00 $

Category:

Description

5/5 - (1 vote)

Problem 1
• a=[1 2 3; 4 5 6] • x=0:30:180; • Table=[x’ sin(x*pi/180)’]

• Evaluate the following MATLAB expressions before checking the answers in MATLAB

Use MATLAB to evaluate the following expressions.

• Rewrite the statements in more economically by using a for loop. Can you do even better by vectoring the code?