Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: which if expression work
Replies: 1   Last Post: Jan 25, 2013 9:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
mustafa senkaya

Posts: 8
Registered: 4/7/10
which if expression work
Posted: Jan 25, 2013 6:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,
i have script;

if (ch_mis<tol_d)|(rms_vs_change < tol_m) |(best_mis <= ht)
m_fin=m_inv;
data_fin=data_inv(:, best_index(i+1));
['Solution converged with rms error: ', num2str(best_mis(i+1))]
break
end

i wonder that, is there any way to know which statement works or provides in if command; first, second or third?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.