필터 지우기
필터 지우기

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 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