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

조회 수: 6 (최근 30일)
Kei Manabe
Kei Manabe 2017년 6월 25일
편집: Roger Stafford 2017년 6월 25일
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.

채택된 답변

Roger Stafford
Roger Stafford 2017년 6월 25일
편집: Roger Stafford 2017년 6월 25일
It means that every element in array x that equals c1 is replaced by the value 127.
  댓글 수: 1
Kei Manabe
Kei Manabe 2017년 6월 25일
Thank you very much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by