构造范德蒙德行列式。

5 次查看(过去 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 CenterFile Exchange 中查找有关 编程 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!