For loop... turning matrix into array?

조회 수: 2 (최근 30일)
Meghan Griffin
Meghan Griffin 2019년 10월 6일
답변: Srivardhan Gadila 2019년 10월 11일
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
Meghan Griffin
Meghan Griffin 2019년 10월 6일
I would like to put my loop where the word "for" isScreen Shot 2019-10-06 at 8.11.17 AM.png
darova
darova 2019년 10월 6일
Can you please use button for code inserting?
121Capture.PNG

댓글을 달려면 로그인하십시오.

답변 (1개)

Srivardhan Gadila
Srivardhan Gadila 2019년 10월 11일
You may refer to splitapply.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by