Store variable number of data sets
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello Everyone,
I have a matrix of size Z [15*22] elements and in this matrix I want to add some particular set of distance values. These distance reading I am getting from a sensor. My problem is that the number of distance reading vary. So in the first set of data readings my number of distances can be 22 but in the second set of reading I may get only 21 values. These values need to be plugged in Z matrix.
How can I solve this problem.
Thanks
0 commentaires
Réponses (1)
Image Analyst
le 20 Juin 2013
I don't see the problem. Why not just use a Z of 15x21? Who's forcing you to use only 15x22 when that is not appropriate for 15x21 data? Just use the size of the matrix that matches the number of measurements you have.
Voir également
Catégories
En savoir plus sur Logical 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!