Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
explanation of two instructions
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
can you explain to me the instructions in the attached photo sorry i am too beginner ( please ) thanks
0 Kommentare
Antworten (1)
Matthew Eicholtz
am 19 Feb. 2016
It is difficult to tell without knowing more about certain variables that aren't defined in the photo you provided (e.g. Ne, L), but the first snippet uses a for-loop to go through a structure (maybe the output of regionprops?) and draws rectangles on the current figure based on the "BoundingBox" field.
The second snippet, is locating the subscripts in some variable L that equal n, then using the imagen (I'm not sure what that function is or where it comes from?) to generate an image, which is shown by the function imshow.
Does that help at all?
1 Kommentar
ABDASALAM EMZEKA
am 19 Feb. 2016
Bearbeitet: Walter Roberson
am 19 Feb. 2016
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!