フィルターのクリア

plotting functions with many inputs

3 ビュー (過去 30 日間)
cgo
cgo 2014 年 12 月 1 日
回答済み: dpb 2014 年 12 月 1 日
Hi,
A plot can be generated by using plot(x,y). What if I want to have a user-defined number of inputs?
plot(x_1,y_1,x_2,y_2) would be easy to type for 2 inputs. But what if I have 100 inputs? How do I make it efficient?
Thanks

回答 (1 件)

dpb
dpb 2014 年 12 月 1 日
Use arrays and it's still plot(x,y) -- that's the power of Matlab.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by