Can Any one help with this plz
Mostra commenti meno recenti
*lnP(m+1)- lnP(m) < allowable change*
% where lnP(m+1) , lnP(m) , allowable change is given
% its should do this
* lnP(m+1) = lnP(m) +/- allowable change*
% +/- is causing my head-in , How can I write this in Matlab
Risposte (1)
Walter Roberson
il 14 Mar 2012
lnP(m+1) = lnp(m) + (rand() * 2 - 1) * allowable_change;
1 Commento
Nasir Qazi
il 14 Mar 2012
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!