1. The problem statement, all variables and given/known data Hi everyone, this is not really homework, but I wasn't quite sure where is the best place to post this question. I am working on semiconductor lasers at the moment, and have solved the rate equations using Matlab. I am curious as to how one is supposed to get the L-I curve out of it. At the moment, the only thing I can think of would be that we just run the codes for a range of input current, and store the corresponding output from it. However, what if the situation is more tricky, and we now have to modulate the laser? Does anybody have any coding sample, or link, or know how to deal with modulation depth, incorporate it as the input, and then get the L-I out of the whole thing? Or is it still the same as when we deal with just the rate equations with basic current input (ie. non-modulated)? Any ideas?