Effacer les filtres
Effacer les filtres

How to perform the same actions on a matrix that is broken up into sections?

1 vue (au cours des 30 derniers jours)
Em
Em le 22 Fév 2021
Hi everyone,
I have a matrix where one column has values '1,1,1,.....1,2,2,2.....2,3,3,3..... etc). I want to divide the matrix up into several matrices with the same first column value, but then perform the same set of actions on each matrix (s.d., fourier transform) after I'll plot them all together. I'm dealing with a lot of really similar data so I'd really like to learn how to program more efficiently. Does anyone have any ideas on approaches I could use other than simply using a certain range within the matrix each time?
Cheers!
  1 commentaire
James Tursa
James Tursa le 22 Fév 2021
Please provide more specifics. How do you want your matrix split up? What exact operation(s) do you want done with the pieces? How would you put things back together? Etc. A small example would help.

Connectez-vous pour commenter.

Réponses (1)

SaiDileep Kola
SaiDileep Kola le 26 Fév 2021
Various operations are discussed for matrix segmentation and rebuilding here and also refer matrix array operations

Catégories

En savoir plus sur Matrices and Arrays 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!

Translated by