Masking an array back to a selected region in a Matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
waqas
am 23 Sep. 2019
Kommentiert: waqas
am 23 Sep. 2019
Hi,
I have a column vector which I need to insert back to the a matrix(Attached in .mat file). The variable region has logicals in the places where I want to put the data given by variable name vdisp_selected. Is there an efficient way of achieving this by masking?
I tried to play around with masking based on region but I am getting a square region in the end.
Cheers,
2 Kommentare
Fabio Freschi
am 23 Sep. 2019
region is 304x640 (double), vdisp_selected is 16472x1 (logical). How vdisp_selected is related to region?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Author Block Masks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!