Can anyone help?
2 ビュー (過去 30 日間)
古いコメントを表示

Don't know how to generate the A matrix, can someone help and explain this?
Thank you!
2 件のコメント
James Tursa
2021 年 3 月 17 日
What have you done so far? What specific problems are you having with your code? You might want to look at the .^ operator for this ... it will be easy to generate A in one simple expression.
回答 (1 件)
James Tursa
2021 年 3 月 17 日
Hint: Look at the results of this operation, and I think you can figure it out from there:
x = [2;3;4]; % column vector
y = 0:5; % row vector
x .^ y
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!