Create an array for θ from 0 to 2π with 1000 elements

11 次查看(过去 30 天)
Create an array for θ from 0 to 2π with 1000 elements and generate a graph showing sin(nθ) for n=1, 2, … 5, all on a polar plot using an M-file. Include a legend and for each graph use a different line specification (colour).
  1 个评论
Jan
Jan 2016-11-30
This is not a question but a command. Because this sounds like a homework, please post, what you have tried so far and ask a specific question.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2016-11-30
Hint: use the linspace(), polar(), and legend() functions.

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by