For loop... turning matrix into array?

1 Ansicht (letzte 30 Tage)
Meghan Griffin
Meghan Griffin am 6 Okt. 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 Kommentare
Meghan Griffin
Meghan Griffin am 6 Okt. 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 am 6 Okt. 2019
Can you please use button for code inserting?
121Capture.PNG

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Srivardhan Gadila
Srivardhan Gadila am 11 Okt. 2019
You may refer to splitapply.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by