Homework
Use live scripts as the basis for assignments. Give students the live script used in the lecture and
have them complete exercises that test their understanding of the material.
Use the techniques described above to complete the following exercises:
Exercise 1: Write MATLAB code to calculate the 3 cube roots of i.
% Put your code here
Exercise 2: Write MATLAB code to calculate the 5 fifth roots of -1.
% Put your code here
Exercise 3: Describe the mathematical approach you would use to calculate the nth roots of an
arbitrary complex number. Include the equations you used in your approach.
(Describe your approach here)
See Also
More About
•
“Create Live Scripts in the Live Editor” on page 19-6
•
MATLAB Live Script Gallery
Create Interactive Course Materials Using the Live Editor
19-83
Précédent

- 701/1450

Suivant