Info

This question is closed. Reopen it to edit or answer.

what is the meaning of code?

1 view (last 30 days)
Md.Simul Hasan Talukder
Md.Simul Hasan Talukder on 29 Jan 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
i=1;j=1;
secret_img(i, j) = floor(secret_img(i, j)/2);
  2 Comments
madhan ravi
madhan ravi on 29 Jan 2019
You don’t respond to any answers but yet you keep asking what is this , what is that?
Md.Simul Hasan Talukder
Md.Simul Hasan Talukder on 29 Jan 2019
Edited: Md.Simul Hasan Talukder on 29 Jan 2019
Sorry dear. it was my fault. Next i will response .
Acutally I am new user mathworks. I think you are able to Understand.plz don't angry with me.
I expect from you,you will help me providing sufficient information and answer.

Answers (1)

Jan
Jan on 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

This question is closed.

Community Treasure Hunt

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

Start Hunting!