Is it possible to get a relationship between two vectors in matlab?
3 ビュー (過去 30 日間)
古いコメントを表示
I have 2 vectors x and y. I need to represent y as a function of x. Is it possible to do so in matlab?
0 件のコメント
回答 (1 件)
David Sanchez
2013 年 7 月 15 日
plot(x,y)
will do the trick, as long as x and y are of the same length.
1 件のコメント
David Sanchez
2013 年 7 月 15 日
and if you want to get the relationship, use the curve fitting tool by typing
cftool
A user interface will be prompted where you can approximate your data to the shape of your liking.
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!