Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
maha ismail
maha ismail le 5 Fév 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
maha ismail
maha ismail le 5 Fév 2015
have matrix ms each row of it with all column
are accepted value in each iteration will introduce
a row vector . if the generated row vector equal to
any row with all columns of ms ill do something if
the generated row vector is not equal to any row
vector of matrix ms I'll do another thing

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by