Construct a permutation matrix from two vectors
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
If I have two vectors:
a = [1 ; 2 ; 3];
b = [4 ; 5 ; 6];
How can I constrcut a matrix that has the shape of:

Thanks.
0 件のコメント
採用された回答
その他の回答 (1 件)
Bruno Luong
2023 年 3 月 23 日
編集済み: Bruno Luong
2023 年 3 月 23 日
combinations, new stock function in R2023a
a = [1 ; 2 ; 3];
b = [4 ; 5 ; 6];
combinations(a,b)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Delaunay Triangulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!