i used
n1=5;
for x=50:5:200;
y=2*pi*n1/x;
plot (x,y);
its show an empty plot

 채택된 답변

Torsten
Torsten 2016년 8월 17일

1 개 추천

n1=5;
x=50:5:200;
y=2*pi*n1./x;
plot (x,y);
Best wishes
Torsten.

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 8월 17일
편집: Azzi Abdelmalek 2016년 8월 17일

1 개 추천

If you want to do it with a for loop
n1=5;
for x=50:5:200;
y=2*pi*n1./x;
scatter(x,y);
hold on
end

댓글 수: 1

shaker mahmood
shaker mahmood 2016년 8월 17일
편집: shaker mahmood 2016년 8월 17일
thank you so much ,its help me a lot

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Log Plots에 대해 자세히 알아보기

태그

질문:

2016년 8월 17일

편집:

2016년 8월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by