how can solve the ratio in matlab
Afficher commentaires plus anciens
how can i solve the the ratio in matlab
y(x)=1./((a^2 + b^2)e^x + (c^2 + d^2)e^-x)
where a, b,c and d are constant.
answer would be some sech()....
4 commentaires
John D'Errico
le 8 Août 2017
Simple.
y=1./((a^2 + b^2)*exp(x) + (c^2 + d^2)*exp(-x));
Wajahat
le 8 Août 2017
dpb
le 8 Août 2017
What "ratio"?
It's only sech(x) if (a^2 + b^2)=(c^2 + d^2)--> 1/2
Wajahat
le 9 Août 2017
Réponse acceptée
Plus de réponses (1)
Akhilesh Thakur
le 8 Août 2017
0 votes
http://www.mathworks.com/matlabcentral/newsreader/view_thread/320259 Are you asking is there any command to solve ratio? Why do you need command if you can create your own function. You just have to divide and call it.
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!