simple plotting in matlab

3 ビュー (過去 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 Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by