フィルターのクリア

plot scale is messed up

4 ビュー (過去 30 日間)
flemingtb
flemingtb 2018 年 5 月 7 日
コメント済み: Ameer Hamza 2018 年 5 月 7 日
Wow i'm rusty... I'd like to interpolate for Wn over the range of Ln in the code below. Which it does but the plot 'X' axis is numbered from 1 to 25. Why doesn't it scale from 500 to 2500?
L = 500:500:2500;
W = [13 11 10 15 22];
Ln = 500:100:2500;
Wn = interp1(L, W, Ln);
  1 件のコメント
jonas
jonas 2018 年 5 月 7 日
How do you plot?

サインインしてコメントする。

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 5 月 7 日
Plot using
plot(Ln, Wn)
  2 件のコメント
flemingtb
flemingtb 2018 年 5 月 7 日
that was easy...thank you.
Ameer Hamza
Ameer Hamza 2018 年 5 月 7 日
You are welcome.

サインインしてコメントする。

その他の回答 (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