Community Profile

photo

Apoorva Srivastava


Last seen: 7 months ago Active since 2019

Statistics

  • First Review
  • First Answer

View badges

Content Feed

View by

Question


Bug: size(I, 1)*size(I, 2) returns size(I, 1) Instead of Product
I = imread('image.png'); Why does size(I, 1)*size(I, 2) return the value of size(I, 1) instead of the product? It gives the...

2 years ago | 1 answer | 0

1

answer

Answered
Exit from several, nested while or for loops with one command
If you want to stop the program completely but not close MATLAB, you can just use return. (Note: It can be used even without a f...

2 years ago | 0