フィルターのクリア

How to do sum for 3D matrix using for loop

1 回表示 (過去 30 日間)
AS
AS 2022 年 9 月 13 日
コメント済み: AS 2022 年 9 月 13 日
I have 3D matrix with size (2501*90*5). Now I awnt to sum using for loop by taking 2D matrix 2501*90 for 5 times. Like, first it will start with taking 2501*90 *1 and do sum and so on.
How to do that.
Please help me to solve this.
  2 件のコメント
Dyuman Joshi
Dyuman Joshi 2022 年 9 月 13 日
Do you want to add all (5) 2501*90 matrices? Or perform any other sum operation?
AS
AS 2022 年 9 月 13 日
Thanks for replying. Its done.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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