Description
ICE for Week 3
Problem 1
• a=[1 2 3; 4 5 6] • x=0:30:180; • Table=[x’ sin(x*pi/180)’]
Problem 2
• Evaluate the following MATLAB expressions before checking the
answers in MATLAB
Use MATLAB to evaluate the following expressions.
Problem 3
Problem 4
Problem 5
Problem 6
• Rewrite the statements in more economically by using a for loop. Can you do even better by
vectoring the code?
Problem 7
Problem 8
Problem 9
Problem 10
Problem 11