How to plot a graph from matrix each row elements should start plotting from row number

4 ビュー (過去 30 日間)
Arpita Chopra
Arpita Chopra 2019 年 9 月 9 日
編集済み: madhan ravi 2019 年 9 月 10 日
I want to plot a graph from a matrix which contains 12 rows and 150 columns. Each row element should start plotting from row number.

回答 (1 件)

madhan ravi
madhan ravi 2019 年 9 月 9 日
編集済み: madhan ravi 2019 年 9 月 9 日
I'm not certain what you want though , see if the below satisfies your needs:
plot(matrix)
  3 件のコメント
madhan ravi
madhan ravi 2019 年 9 月 10 日
編集済み: madhan ravi 2019 年 9 月 10 日
For instance how do you want the graph for the below matrix:
matrix = [1,2;3,4] %?
Attach the desired graph screenshot.
Arpita Chopra
Arpita Chopra 2019 年 9 月 10 日
matrix = [1,2;3,4]
1 and 2 are in row 1 so it should start print from y axis 1.
3 and 4 are in row 2 so it will start printing from y axis 2.

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

カテゴリ

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