[SOLVED] CS113-Excercise 3

35.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

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?

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.