Effacer les filtres
Effacer les filtres

extracting value from a matrix

1 vue (au cours des 30 derniers jours)
Maria Imdad
Maria Imdad le 19 Avr 2021
Hi everyone,
I have this matrix "X" of one row and 64 columns, it has only binary values as given by
I want help to create a for loop which helps me extract each value from this matrix, column by column and save the obtained vaue to another variable, Y.
  1 commentaire
Paul Hoffrichter
Paul Hoffrichter le 19 Avr 2021
This free self-paced course will help you learn a good deal about Matlab operations. After you take this course, please post some code if you are still having some issues.

Connectez-vous pour commenter.

Réponse acceptée

Rafael Hernandez-Walls
Rafael Hernandez-Walls le 19 Avr 2021
I think it is better to put the variable X as a string and from there start. for example:
for k=1:m

Plus de réponses (0)


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!

Translated by