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!