フィルターのクリア

How to plot symbolic row matrix in MATLAB?

2 ビュー (過去 30 日間)
Shubham Maurya
Shubham Maurya 2016 年 3 月 1 日
コメント済み: Explorer 2016 年 3 月 5 日
I have a row vector whose elements are all some arbitrary functions of x. How to plot this row vector on y-axis and index of element on x-axis?
% code
strain <1x10 sym>
I want to plot this strain.

採用された回答

Explorer
Explorer 2016 年 3 月 1 日
編集済み: Explorer 2016 年 3 月 1 日
I am not sure what exactly you want to do. But is it similar to your solution?
strain=([16 52 93 74 57 66 55 88 99 44]) % sym of 1x10 order
plot(strain)
  2 件のコメント
Shubham Maurya
Shubham Maurya 2016 年 3 月 1 日
strain=([x x-1 x+2 x^2 x*2 x+3 x+9 x-2 x x-10])
for i=1:10
subs(strain(i),i)
plot(strain,'o')
end
I got what I wanted to do. Thanks
Explorer
Explorer 2016 年 3 月 5 日
Okay, thanks for accepting my answer formally.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by