Why is my graph not right?
Show older comments
Im trying to make this graph. I was unable to find symbols so I just used numbers for most of the equation (the first one). I need to plot (delta w). Ive added an attachment with the equation and what the graph should look like, if someone could help. This is what I have tried but I keep getting the wrong curve:
>> w0 = 10.^14
w0 =
1.0000e+14
>> y = 5*10.^12
y =
5.0000e+12
>> e3 = 12.1
e3 =
12.1000
>> e4 = 10
e4 =
10
>> w = 50*10.^12:10.^12:150*10.^12;
>> e1 = ((e4)-((e3)-(e4)))*(((2*(w0))*(w))/(((4*((w).^2))+((y).^2))));
>> plot(w,e1)
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!