Demo entry 6776847

Q2

   

Submitted by anonymous on Dec 04, 2018 at 23:23
Language: Matlab. Code size: 576 Bytes.

clc
clear
x=0:0.1:5;
y1=(1./sqrt(16*pi^4*exp(4*x)+pi^2*exp(2*x)*(16*10^4*1^2-8*10^4)+10^8));
y2=(1./sqrt(16*pi^4*exp(4*x)+pi^2*exp(2*x)*(16*10^4*0.8^2-8*10^4)+10^8));
y3=(1./sqrt(16*pi^4*exp(4*x)+pi^2*exp(2*x)*(16*10^4*0.6^2-8*10^4)+10^8));
y4=(1./sqrt(16*pi^4*exp(4*x)+pi^2*exp(2*x)*(16*10^4*0.4^2-8*10^4)+10^8));
y5=(1./sqrt(16*pi^4*exp(4*x)+pi^2*exp(2*x)*(16*10^4*0.2^2-8*10^4)+10^8));
plot(x,y1,('r'),x,y2,('k'),x,y3,('b'),x,y4,('g'),x,y5,('m'));
xlabel('Inx');
ylabel('Xp');
title('Amplitude and frequency');
legend('p=1','p=0.8','p=0.6','p=0.4','p=0.2');

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).