Convert matrix A to S
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I try to convert ths matrix (called A)
A = [5 8 3; 1 2 3; 2 4 6]
to a matrix called S, using this code
S =
1 2
5 8
9 10
S=[A(1,1:2); A(2:3,1).'; 9 10]
This is not qute right
Any ideas? Thank you
1 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!