Create a matrix with letters
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
James Tursa
le 6 Avr 2018
Modifié(e) : James Tursa
le 6 Avr 2018
Are you trying to form a symbolic matrix? How is this going to be used downstream in your code?
Réponses (1)
James Tursa
le 6 Avr 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])]
Voir également
Catégories
En savoir plus sur Number Theory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!