Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Solving the equation via matlab

조회 수: 1 (최근 30일)
Abdulmajid Mrebit
Abdulmajid Mrebit 2015년 8월 9일
댓글: Walter Roberson 2015년 8월 9일
Hi Everybody
I am trying to solve the equation in picture below but I face many problems, Is there anyone can help me.
Thanks in advance
  댓글 수: 2
John D'Errico
John D'Errico 2015년 8월 9일
편집: John D'Errico 2015년 8월 9일
OK, so you have done nothing, tried nothing, and expect a solution for your homework problem. You SAY that you have faced many problems, but we see no hint.
I'll give you a suggestion. Pick values of d and L. (Use nested loops on d and L, but there are other ways.) Then solve.
Walter Roberson
Walter Roberson 2015년 8월 9일
If you let x have a vector value, then 1-exp(a*x) has a vector result. When you have a vector expression, you can use prod() to multiply all of the members of the vector together. Now you can construct an anonymous function f = @(R) 1 - prod(....) that given a particular R value calculates the right hand side of your expression. After that it is a matter of finding a numeric solution:

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by