For loop... turning matrix into array?

1 view (last 30 days)
Meghan Griffin
Meghan Griffin on 6 Oct 2019
Answered: Srivardhan Gadila on 11 Oct 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 Comments
Meghan Griffin
Meghan Griffin on 6 Oct 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 on 6 Oct 2019
Can you please use button for code inserting?
121Capture.PNG

Sign in to comment.

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 11 Oct 2019
You may refer to splitapply.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!