Create a matrix with letters
74 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
James Tursa
am 6 Apr. 2018
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])]
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!