Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xmin = 0.271;
- x = xmin:0.000001:2*xmin;
- k = 2*pi/0.0318;
- y = sin(k*(x-xmin)).*sin(k*(x-xmin));
- Vnorm = [0.52,0.44,0.336,0.16,0.08,0.008,0,0.008,0.08,0.36,0.68,1,1,0.96,0.8,0.68,0.48,0.36,0.32,0.2,0.08,0.008,0.004,0,0.008,0.016,0.14,0.4,0.68,0.84,1];
- figure
- plot(sqrt(y),'Linewidth',2)
- grid on
- xlabel('x-xmin','Linewidth',2);
- ylabel('Vnorm','Linewidth',2)
- x3 = xmin:0.000001:2*xmin;
- figure
- plot(Vnorm,'Linewidth',2,'color', [1 1 0])
- hold on
- plot(Vnorm,'r+')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement