how can solve the ratio in matlab
이전 댓글 표시
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
John D'Errico
2017년 8월 8일
Simple.
y=1./((a^2 + b^2)*exp(x) + (c^2 + d^2)*exp(-x));
Wajahat
2017년 8월 8일
dpb
2017년 8월 8일
What "ratio"?
It's only sech(x) if (a^2 + b^2)=(c^2 + d^2)--> 1/2
Wajahat
2017년 8월 9일
채택된 답변
추가 답변 (1개)
Akhilesh Thakur
2017년 8월 8일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!