Community Profile

photo

Apoorva Srivastava


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • First Review
  • First Answer

View badges

Feeds

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...

5 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...

5 years ago | 0