simple plotting in matlab

조회 수: 4 (최근 30일)
nida
nida 2014년 4월 4일
댓글: Azzi Abdelmalek 2014년 4월 4일
x=1:1:30 h=70 y=h/x
i understand they are unequal in length but how would i plot it dividing 70 by x one at a time to plot

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 4일
편집: Azzi Abdelmalek 2014년 4월 4일
x=1:1:30
h=70
y=h./x
plot(x,y)
  댓글 수: 4
nida
nida 2014년 4월 4일
편집: nida 2014년 4월 4일
my question is that keeping x-axis same i want to plot y by dividing h with specific numbers...s.
Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 4일
x and y must have the same length

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by