Plotting a cell array

1 回表示 (過去 30 日間)
Mahmoud Abbas
Mahmoud Abbas 2022 年 2 月 26 日
コメント済み: Voss 2022 年 2 月 26 日
I have an array 'J' that I want to plot. Each cell in the array represents the x and y coordinates of a single point. I am not sure how to do the plot

採用された回答

Voss
Voss 2022 年 2 月 26 日
xy = vertcat(J{:});
plot(xy(:,1),xy(:,2),'.');
  2 件のコメント
Mahmoud Abbas
Mahmoud Abbas 2022 年 2 月 26 日
Worked perfectly, Thank You!
Voss
Voss 2022 年 2 月 26 日
Excellent, You're welcome!

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by