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

조회 수: 4 (최근 30일)
Muazzim Hussain
Muazzim Hussain 2016년 11월 30일
답변: Image Analyst 2016년 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