$30
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?