Compare all elements in a matrix with elements in array
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I have a matrix A with numbers on the 7 point scale (-3 0 2 4 7 10 12). If a number in this matrix A is ex 5, i would like to tell the user where there is a number which is different from a number on the scale. If all numbers are correct the program shall just display ('well done')
Antworten (1)
James Tursa
am 20 Nov. 2015
See if this helps do what you want:
doc ismember
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!