Comparing 2 column vectors?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jon Snow
am 16 Mai 2014
Kommentiert: Jon Snow
am 16 Mai 2014
Lets say I have 2 vectors: a = [0,0,1] b = [0,1,0]
Comparing a and b, there is a a difference in 2 digits (column 2 and column 3). Therefor error rate is 2/3.
Can you help me set up a code that compares each column in vector a and b and that prints an error. Perhaps, use a for/if loop?
Thank you
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!