MATLAB Answers

For loop... turning matrix into array?

3 views (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

darova
darova on 6 Oct 2019
Can you please show what do you have? MAybe some ideas?
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.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags