How do I solve m = 2 [1- (ln(1/A)-1)/N + ln ( (1+(c/Kon))/1+(c/Koff))) in MATLAB?

2 views (last 30 days)
I want to solve this equation:
m = 2 [1- (ln(1/A)-1)/N + ln ( (1+(c/Kon))/1+(c/Koff)))
when
A = 1/3
N =10
c= 0
Kon= 0.5
Koff = 0.02
How can i do it? I tried the solve function, but I can't do it.
  2 Comments
Jan
Jan on 23 Nov 2012
Edited: Randy Souza on 29 Nov 2012
@dafdfad: Destroying the question after an answer is given does not meet the intention of this forum. It is a counter-productive method. Please stop this. I do not like this forum to be misused.
Randy Souza
Randy Souza on 29 Nov 2012
I have restored the original text of this question.
dafdfad, this question has a clear subject and an accepted answer, so it may be valuable to someone else in the future. If you have a good reason why it should be removed from MATLAB Answers, please flag the question, explain why it should be deleted, and an administrator or high-reputation contributor will consider deleting the question. Please do not simply edit your question away.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 20 Nov 2012
A few errors: no * after the 2, a square bracket instead of parenthesis, and ln instead of log. Corrected code:
A = 1/3;
N =10;
c= 0;
Kon= 0.5;
Koff = 0.02;
m = 2* (1 - (log(1/A)-1)/N + log( (1+(c/Kon))/1+(c/Koff)))
In the command window:
m =
1.98027754226638

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!