Implementation of a matrix
1 回表示 (過去 30 日間)
古いコメントを表示
Hello!
I want to implement the following matrix:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/333624/image.png)
Can anyone show me how to do that?
採用された回答
Bruno Luong
2020 年 7 月 18 日
n=3;
>> x=ceil(5*rand(1,n+1))
x =
3 5 1 3
>> M=fliplr(vander(x))
M =
1 3 9 27
1 5 25 125
1 1 1 1
1 3 9 27
12 件のコメント
Bruno Luong
2020 年 7 月 18 日
編集済み: Bruno Luong
2020 年 7 月 18 日
Then your code is likely wrong. You want me to point out where it's wrong? Let me look at my christal-ball: it tells me line #4, column #7 of your MATLAB script
その他の回答 (2 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!