Create a matrix with letters
5 ビュー (過去 30 日間)
古いコメントを表示
I would like to know how to create the following matrix:

When there is a list of points with weights (xi, yi, zi are coordinates and mi are weights) I just don't know how to create it with those letters.
4 件のコメント
James Tursa
2018 年 4 月 6 日
編集済み: James Tursa
2018 年 4 月 6 日
Are you trying to form a symbolic matrix? How is this going to be used downstream in your code?
回答 (1 件)
James Tursa
2018 年 4 月 6 日
Is this what you want:
A = [sym('m%d',[n 1]) sym('x%d',[n 1]) sym('y%d',[n 1]) sym('z%d',[n 1])]
参考
カテゴリ
Help Center および File Exchange で Number Theory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!