how to reshape array in a for cycle
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everybody, i have a small problem regarding the reshape of a vector and the calculation of a feature inside a for cycle. I have a column vector that is a concatenation of n blocks of p*b elements. What i would like to perform is: 1 - extract every block of the vector. n vector of p*b elements. 2 - reshape the extracted vector in a matrix b*p. i will have n matrix of b*p elements. 3 - integrate (trapz) every single column of the n matrix. i will obtain n row vector of 1*b dimension. 4 - concatenate the n vector obtained after the integration. i will obtain a n*b matrix. 5 - imshow of the concatenated matrix (n* b)
Can be done in only one for cycle?
Thanks in advance
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation 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!