I have tried to follow the suggested examples for plotting multiple graphs on one figure of the same function with different coefficients.
I've been unsuccessful in my attempts. I am trying to model my function of omega and eta, but with multiple k values.
I started off trying to setup a for loop, but did not get that to work for me.
I tried to just define my k value multiple times and use the "hold on" command, but the graph just maintained the last value of k and excluded the previous k values.
I know I am missing something simple here, but I am not seeing it.
Here is my code:
k = 0.8;
eta__H = omega__norm*k.^2/(omega__norm.^2*(1-k.^2)+1)
Again, I would like setup k as a vector of values and plot all of the resulting graphs on a single figure.
Just not seeing how I need to do that properly.
Thank you for your help in advance!