if condition inside another
古いコメントを表示
I want to write if condition inside if condition such that
if ...
'statement'
elseif...
'statement'
if....
'statement'
else
'statement'
end
else
'statement'
end
Is there a logical problem here, because the program gives me an unexpected result?
Thanks
2 件のコメント
Geoff Hayes
2014 年 5 月 3 日
What is the unexpected result? Posting the code might offer some more clues.
Image Analyst
2014 年 5 月 3 日
Are you stepping through the code with the debugger to see which blocks it enters and which it does not enter?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Octave についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!