Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
what is the meaning of code?
조회 수: 1 (최근 30일)
이전 댓글 표시
i=1;j=1;
secret_img(i, j) = floor(secret_img(i, j)/2);
댓글 수: 2
madhan ravi
2019년 1월 29일
You don’t respond to any answers but yet you keep asking what is this , what is that?
답변 (1개)
Jan
2019년 1월 29일
To learn the basics, read the "Getting Started" chapters of the documentation an read Matlab's Onramp: https://matlabacademy.mathworks.com/ . The fundamental details of Matlab cannot be explained in the forum efficiently.
i=1; % The value 1.0 is assigned to the variable "i"
j=1; % Same for "j"
secret_img(i, j) = floor(secret_img(i, j)/2);
% The value of te element (i,j) of the matrix "secret_img" is divided by 2
% and rounded towards zero.
See:
help floor
댓글 수: 1
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!