フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Calculate different rowss in a matrix

1 回表示 (過去 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