Redirect Notice
 The previous page is sending you to https://www.mathworks.com/matlabcentral/answers/1756025-if-else-statement-doesn-t-work.

 If you do not want to visit that page, you can return to the previous page.