Insert and write row with condition
Ältere Kommentare anzeigen
I have a large matrix 248201*5 (see the first image below). I need to put values from coulmn 1/2 to column 3/4, with condition in coulmn 5.

The new matrix should look this this. I have done 3 iteration manually. I need to do it for the whole matrix.

2 Kommentare
Mathieu NOE
am 25 Okt. 2021
hello
sorry but the logic is not super clear for me
would better if you could describe like in a pseudo code what the scenario in column 5 will do on the data
Ravi Kumar
am 25 Okt. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
