Community Profile

photo

Apoorva Srivastava


Last seen: mer än 3 år 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...

nästan 5 år 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...

nästan 5 år ago | 0