I've seen more than 5 videos on this topic. This is by far the best video that I've come across. Thanks for the wonderful explanation. Now I have crystal clarity :)
Good morning, I have a question to ask you: how can I adapt this system of equations in my case ?: d Is / dz = g_r * Ip * Is -alpha_s * Is; d Ip / dz = - (fp / fs) * g_r * Ip * Is -alpha_p * Ip; with g_r = 1 * 10 ^ -13 (coeff Raman), lambda_p = 1550nm, lambda_s = 1450 nm, alpha_s = alpha_p = 0.2 dB / km
Change ls to y(1), lp to y(2), d ls / dz to dy(1), and d lp / dz to dy(2). You didn't mention fp or fs, but you can define all of your constants in the functions as well.
Nothing stands out to me from your code, though I don't know the subject matter. Double check your initial conditions and the time you're integrating over.
I've responded as clearly and thoroughly as I can without going and doing a good amount of research on my own. If you have a specific question, I'll be happy to do my best to answer.
I've seen more than 5 videos on this topic. This is by far the best video that I've come across. Thanks for the wonderful explanation. Now I have crystal clarity :)
This is the most helpful video I’ve seen about this topic, really helps to understand how does matlab works
Man, this is exactly what I need. Thank you mr lifesafer!
Glad to hear it!
any video showing how to put this in Matlab? getting errors so far the way it's written.
could you recommend any textbook for solving ode in matlab
Careful! He’s a hero!
Thank you. Very helpful
Thank you for sharing. This is really helpful. :)
Very helpful!
Good morning, I have a question to ask you: how can I adapt this system of equations in my case ?:
d Is / dz = g_r * Ip * Is -alpha_s * Is;
d Ip / dz = - (fp / fs) * g_r * Ip * Is -alpha_p * Ip;
with g_r = 1 * 10 ^ -13 (coeff Raman), lambda_p = 1550nm, lambda_s = 1450 nm, alpha_s = alpha_p = 0.2 dB / km
Change ls to y(1), lp to y(2), d ls / dz to dy(1), and d lp / dz to dy(2). You didn't mention fp or fs, but you can define all of your constants in the functions as well.
Nothing stands out to me from your code, though I don't know the subject matter. Double check your initial conditions and the time you're integrating over.
Why you don't respond? Are you angry or bored?
I've responded as clearly and thoroughly as I can without going and doing a good amount of research on my own. If you have a specific question, I'll be happy to do my best to answer.
I wanted a comparison with you on the code, plotting the graphs related to Is and Ip
i still dont understand. i want to cry
You didn't even define what is y, and then @8:18, you randomly call out y(2), what the fuka you doing man?
He did it correctly, he is indexing to the velocity element (2) of his y vector.