フィルターのクリア

A function that outputs multiple plots?

1 回表示 (過去 30 日間)
alpedhuez
alpedhuez 2020 年 8 月 13 日
コメント済み: alpedhuez 2020 年 8 月 13 日
  4 件のコメント
hosein Javan
hosein Javan 2020 年 8 月 13 日
alpedhuez for example the function "step" plots step response of a system. or the function "spectrogram" plots the fourier transform spectrum.
alpedhuez
alpedhuez 2020 年 8 月 13 日
Let me work on it.

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

採用された回答

hosein Javan
hosein Javan 2020 年 8 月 13 日
function plotoutput()
x = 1:10;
y = x.*x;
plot(x,y)
when you call the function, it shows a figure.
  3 件のコメント
hosein Javan
hosein Javan 2020 年 8 月 13 日
編集済み: hosein Javan 2020 年 8 月 13 日
function plotoutput()
x = 1:10;
y1 = x.*x;
y2 = x + 1;
figure(1);plot(x,y1)
figure(2);plot(x,y2)
alpedhuez
alpedhuez 2020 年 8 月 13 日
Let me work on it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by