Function for solving iteratively over a fixed interval

1 view (last 30 days)
Hey there,
So I'm attempting to use matlab to solve a problem iteratively. Basically S is a function of itself and I want to do this for t=0:500.
S=So-(X/Y)*exp(((u*S)/(K+S))*t)
Again, the only real variable here is S.
How do I code this?
What I've attempted to do is to use both fzero and the solve functions. Neither are giving me any sort of acceptable answer.
Thanks in advance!
  1 Comment
Torsten
Torsten on 18 Feb 2015
Show us your code you used with the "fzero" Approach - it should work.
Best wishes
Torsten.

Sign in to comment.

Answers (0)

Categories

Find more on Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!