Constucting an array in column form
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Construct an array a (in column form) made of 17 (equally-spaced) values between 17 and 289.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Mischa Kim
le 25 Jan 2014
Modifié(e) : Mischa Kim
le 25 Jan 2014
Use
c = linspace(17, 289, 19)
This results in 19 data points, including the two end points, 17 and 289. To switch between row and column vector simply use the "prime"
c'
0 commentaires
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!