Plot different dimension matrices of points into the same plot

4 ビュー (過去 30 日間)
Simo
Simo 2014 年 6 月 25 日
回答済み: Rishabh Gupta 2019 年 3 月 4 日
I have generated dx matrices of points x and y (2rows(x,y) and different number of columns (points) with the function
for dx=1:length(outX) eval(sprintf('A%d = table2array(XY_table(:,dx))', dx)); end Now I want to plot the A matrices into the same graph. How do i take A matrices I created? Thanks

回答 (1 件)

Rishabh Gupta
Rishabh Gupta 2019 年 3 月 4 日
Hi Simo,
To plot multiple matrices on the same plot, each matrix must have the same dimensions.
For different dimensions, you could increase the dimension of the of the smaller matrix by redefining the samller matrix to the size of the larger dimension matrix and set the empty cells equal to zero.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by