How can i find a certain vector in a matrix?
Ältere Kommentare anzeigen
Hey there,
I have a 3x370 Matrix and I want to find a 3x1 vector within the matrix.
Output should be the Column number of the 3x1 vector in the matrix.
I´be really glad if someone can help me :)
Greets Lukas
Akzeptierte Antwort
Weitere Antworten (1)
Matt J
am 2 Dez. 2019
[~,loc]=ismember(vector.',Matrix.','rows');
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!