Community Profile

photo

Apoorva Srivastava


Last seen: 4 months ago
2 total contributions since 2019

Apoorva Srivastava's Badges

  • First Review
  • First Answer

View details...

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

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

1 year ago | 0