Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
what is the meaning of code?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i=1;j=1;
secret_img(i, j) = floor(secret_img(i, j)/2);
2 Kommentare
madhan ravi
am 29 Jan. 2019
You don’t respond to any answers but yet you keep asking what is this , what is that?
Antworten (1)
Jan
am 29 Jan. 2019
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 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!