mya246
- 4
- 0
Hi, is there anyone familiar with rate equation solving using Matlab? I need help on this
The discussion revolves around solving laser rate equations using Matlab, specifically focusing on plotting the light-current characteristic of a laser (Pout vs I) through numerical methods such as ode45. Participants are exploring the formulation of the equations and the relationships between variables involved in the problem.
The discussion is ongoing, with participants seeking clarification on the equations and their relationships. Some guidance has been offered regarding the need for clearer definitions of variables and the structure of the equations. Multiple interpretations of the problem are being explored, particularly concerning the setup of the ODEs and their implications for plotting.
Participants are working within the constraints of homework guidelines, which may limit the amount of direct assistance provided. There is an emphasis on understanding the relationships between the variables and the equations rather than simply obtaining a solution.
DrClaude said:Hi mya, welcome to PF!
You need to be more specific. What equation are you trying to solve? What exactly is the problem you are having?
DrClaude said:I'm sorry, but this is not clear at all. You have dy(1) and dy(2), but I don't see any y(1) or y(2). And these are the derivatives with respect to what? And how does Pout relate to those ODEs?
I'm sorry, but I'm still not clear on what you are solving. Are the derivatives with respect to time?mya246 said:sorry for that y(1) = N, y(2) = N_p.
How can I plot the Pout vs current? Pout is related to N_p by solving the ODE