For loop... turning matrix into array?

6 ビュー (過去 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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by