フィルターのクリア

What should I write in the command window for this input of the function?

1 回表示 (過去 30 日間)
redroses
redroses 2020 年 4 月 6 日
回答済み: Mehmed Saad 2020 年 4 月 6 日
Hi All,
Basically, I was given this function by my teacher:
function[stability,lds]=lds_cal(state,hs,fs,time,n_neighbours, plot)
and there is more explainantion of the funtion after this line. I've already insert all the value for the input of this function in the command window such as state, hs, time, fs,n_neighbours. But the problem is I dont know what to write for the "plot" input in the command window.
  8 件のコメント
redroses
redroses 2020 年 4 月 6 日
okay got it!!! thanks a lot yaaa!!
redroses
redroses 2020 年 4 月 6 日
i don't know how to accept your answer since there is no button "accept answer" here..

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

採用された回答

Mehmed Saad
Mehmed Saad 2020 年 4 月 6 日
function[stability,lds]=lds_cal(state,hs,fs,time,n_neighbours, plot)
if(plot)
figure,plot(time,n_neighbours) % or any two args you want to plot
end
end

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by