フィルターのクリア

Implementation of a matrix

2 ビュー (過去 30 日間)
Franziska Bömann
Franziska Bömann 2020 年 7 月 18 日
編集済み: Bruno Luong 2020 年 7 月 18 日
Hello!
I want to implement the following matrix:
Can anyone show me how to do that?
  2 件のコメント
KSSV
KSSV 2020 年 7 月 18 日
Implement how?
Franziska Bömann
Franziska Bömann 2020 年 7 月 18 日
I have given a vector and from this I want to create the matrix

サインインしてコメントする。

採用された回答

Bruno Luong
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 件のコメント
Franziska Bömann
Franziska Bömann 2020 年 7 月 18 日
I got it now!
Bruno Luong
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 件)

madhan ravi
madhan ravi 2020 年 7 月 18 日
x(:).^(0:numel(x))
  1 件のコメント
Franziska Bömann
Franziska Bömann 2020 年 7 月 18 日
thank you!

サインインしてコメントする。


KSSV
KSSV 2020 年 7 月 18 日
syms x [ 4 4]

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by