For loop... turning matrix into array?

8 visualizzazioni (ultimi 30 giorni)
Meghan Griffin
Meghan Griffin il 6 Ott 2019
Risposto: Srivardhan Gadila il 11 Ott 2019
so i have some matrix and i have another line of code that turns one column of that matrix into an array and then uses a function to generate some result. I would like my function to step through all 100 columns and give me results for each. How do i use a loop to do this?
  3 Commenti
Meghan Griffin
Meghan Griffin il 6 Ott 2019
I would like to put my loop where the word "for" isScreen Shot 2019-10-06 at 8.11.17 AM.png
darova
darova il 6 Ott 2019
Can you please use button for code inserting?
121Capture.PNG

Accedi per commentare.

Risposte (1)

Srivardhan Gadila
Srivardhan Gadila il 11 Ott 2019
You may refer to splitapply.

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by