Info

This question is closed. Reopen it to edit or answer.

How to solve the Gompertz Equation

1 view (last 30 days)
Kailin Johnsson
Kailin Johnsson on 28 Sep 2020
Closed: John D'Errico on 29 Sep 2020
Hello,
I am trying to solve a regular Gompertz Equation. Very simply... I have put in (and other vital coding information)
%Gompertz Equation
E= -log(r*p)*(p/M)
The system will not generate a map as ln does not read on MATLAB. Any ideas as to how else I should format the equation? Thanks
  3 Comments
Kailin Johnsson
Kailin Johnsson on 28 Sep 2020
Update: This equation will generate a graph however, there is no line for the data ran? Is this an error in the code? or of the system?
E= M*(p/M).^exp(-r*t)';

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!