Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Calculate different rowss in a matrix

1 visualizzazione (ultimi 30 giorni)
Jonas Damsbo
Jonas Damsbo il 14 Gen 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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?

Risposte (1)

madhan ravi
madhan ravi il 14 Gen 2019
save it as a cell using {}

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by