What is meaning of x(x==c1) = 127 ?

1 vue (au cours des 30 derniers jours)
Kei Manabe
Kei Manabe le 25 Juin 2017
Modifié(e) : Roger Stafford le 25 Juin 2017
I am looking into crypto(x) now and do not understand the meaning of x(x==c1) = 127;. Could anyone please let me know? Thank you so much.

Réponse acceptée

Roger Stafford
Roger Stafford le 25 Juin 2017
Modifié(e) : Roger Stafford le 25 Juin 2017
It means that every element in array x that equals c1 is replaced by the value 127.
  1 commentaire
Kei Manabe
Kei Manabe le 25 Juin 2017
Thank you very much.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by