How can I explain below matlab code to someone each line?
6 views (last 30 days)
Show older comments
handles.output=hObject;
[a b]=uigetfile({'*.*'});
img=imread({b a})
gravy=rgb2gray(img);
gr=graythresh(grayy);
handles.bw=im2bw(grayy,gr);
imshow(img,'parent',handles.axes1);
guidata(hObject,handles);
4 Comments
Walter Roberson
on 6 Jul 2021
I could probably write at least two textbooks to explain the meaning of that code line by line. Maybe more, as you cannot really understand the lines without studying the nature of reality, so you pretty much have to refer to "Plato's Cave", and to Peano's studies on the meaning of arithmetic and Proof, and to Goëdel's Incompleteness Theorem, and Turing's Finite Automata and The Halting Problem... and of course the problem of Quantum Mechanics and The Many Worlds Hypothesis.
Because of this, I refuse to even start explaining anything line by line. If someone wants something explained, they can ask specific questions.
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!