Square Root Raised Cosine Pulse

  • Follow


Hi guys!

I have an M-File which models a unit-energy Raised Cosine Pulse;

function y = rcpuls(a,t)
tau = 1; % Set the symbol time
t = t + 10^(-7); % This avoids dividing by zero
tpi = pi/tau; atpi = tpi*a;
at = 4*a^2/tau^2;
y = sin(tpi*t).*cos(atpi*t)./(tpi*t.*(1-at*t.^2));

A typical example would be typing in the command window;

>> rcpulse = rcpuls(0.3,[-6:0.01:6]);
>> rcpulse = rcpulse/norm(rcpulse);

This returns a 30% Raised Cosine Pulse.

My problem is that I need a unit-energy Square Root Raised Cosine Pulse!!

Does anyone know what I need to do to edit this code?

Thanks

Will
0
Reply William 9/21/2010 7:22:19 PM

Don't Worry found an equation and came up with this;
Works well;

function y = rtrcpuls(a,t)
tau = 1;
t = t+0.0000001
tpi = pi/tau;
amtpi = tpi*(1-a);
aptpi = tpi*(1+a);
ac = 4*a/tau;
at = 16*a^2/tau^2;
y = (sin(amtpi*t) + (ac*t).*cos(aptpi*t))./(tpi*t.*(1-at*t.^2));
y = y/sqrt(tau);

Regards 

Will
0
Reply William 9/21/2010 7:45:22 PM


1 Replies
788 Views

(page loaded in 0.025 seconds)

Similiar Articles:













7/24/2012 4:01:22 AM


Reply: