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

9 Ansichten (letzte 30 Tage)
Muazzim Hussain
Muazzim Hussain am 30 Nov. 2016
Beantwortet: Image Analyst am 30 Nov. 2016
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 Kommentar
Jan
Jan am 30 Nov. 2016
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by