Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Calculate different rowss in a matrix

조회 수: 3 (최근 30일)
Jonas Damsbo
Jonas Damsbo 2019년 1월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi
I want to calculate different rows in a matrix.
If I have a matrix, lets say, 300x180
I want now to calculate:
A(1:30,:)*10
A(31:180,:)*5
A(181:300,:)*10
Any easy way to do that - I want only one output - a matrix with size 300x180?

답변 (1개)

madhan ravi
madhan ravi 2019년 1월 14일
save it as a cell using {}

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by