How to create this matrix without hardcoding the values
1 回表示 (過去 30 日間)
古いコメントを表示
13 -1 5
-22 10 -87
6 件のコメント
採用された回答
the cyclist
2019 年 2 月 3 日
編集済み: the cyclist
2019 年 2 月 3 日
Here is one way.
r = [ 1.5355 + 0.0000i
-1.0914 + 1.0781i
-1.0914 - 1.0781i
0.3621 + 1.3117i
0.3621 - 1.3117i]';
p = reshape(round(13*poly(r)),[3 2])';
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!