ms=[ 2 8; 3 6; 1 9; 4 3]for t=1:10s= rand valued= rand valuelet s=9 and d=1ss=[s d]dd=[d s] if any rowwith all column of ms = ss or dd I will do something in this time iteration else do another thing
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
ms=[ 2 8; 3 6; 1 9; 4 3] for t=1:10 s= rand value d= rand value let s=9 and d=1 ss=[s d] dd=[d s] if any row with all column of ms = ss or dd I will do some thing in this time iteration else do another thing
1 Kommentar
maha ismail
am 5 Feb. 2015
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!