构造范德蒙德行列式。

7 ビュー (過去 30 日間)
galasi
galasi 2022 年 11 月 18 日
回答済み: sixovey 2022 年 11 月 18 日
如何将一个10*1的矩阵A中的10个元素构造范德蒙德形式矩阵。M=10;
for i=1:M;
zi=A(i,1);
Z=vander();
end
上面是我能想到的。

採用された回答

sixovey
sixovey 2022 年 11 月 18 日
求帮助,有点急
>> a=rand(10,1)
a =
0.8147
0.9058
0.1270
0.9134
0.6324
0.0975
0.2785
0.5469
0.9575
0.9649
>> b=vander(a)
b =
0.1582 0.1941 0.2383 0.2925 0.3590 0.4406 0.5408 0.6638 0.8147 1.0000
0.4104 0.4531 0.5003 0.5523 0.6097 0.6732 0.7432 0.8205 0.9058 1.0000
0.0000 0.0000 0.0000 0.0000 0.0000 0.0003 0.0020 0.0161 0.1270 1.0000
0.4424 0.4844 0.5303 0.5806 0.6357 0.6960 0.7620 0.8343 0.9134 1.0000
0.0162 0.0256 0.0404 0.0639 0.1011 0.1599 0.2529 0.3999 0.6324 1.0000
0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0009 0.0095 0.0975 1.0000
0.0000 0.0000 0.0001 0.0005 0.0017 0.0060 0.0216 0.0776 0.2785 1.0000
0.0044 0.0080 0.0146 0.0268 0.0489 0.0894 0.1636 0.2991 0.5469 1.0000
0.6765 0.7065 0.7379 0.7706 0.8048 0.8406 0.8779 0.9168 0.9575 1.0000
0.7249 0.7513 0.7786 0.8070 0.8363 0.8668 0.8983 0.9310 0.9649 1.0000

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange编程 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!