How to plot columns of matrix A(size:k X m) vs columns of matrix B( size: k X n)

1 回表示 (過去 30 日間)
Mysurareddy Yerramreddy
Mysurareddy Yerramreddy 2020 年 9 月 23 日
編集済み: KSSV 2020 年 9 月 23 日
I had matrix A of size k X m and matrix B of size k X n. How to plot columns of A as X axis and columns of B as Y axis.
  1 件のコメント
VBBV
VBBV 2020 年 9 月 23 日
編集済み: KSSV 2020 年 9 月 23 日
plot(A(1,:),B(1,:),'b');% 1st row
for i = 1:k
plot(A(i,:),B(i,:),'b'); % all rows
hold on
end

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

回答 (0 件)

カテゴリ

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