Code covered by the BSD License  

Highlights from
Logiciels temps réel

Logiciels temps réel

by

 

Real-time software concerning the domains of the signal processing, feedback and regulation

q=puissance(p,n,L)
function q=puissance(p,n,L)

q=[1];
for k=1:1:n
    q=conv(p,q);
end;
Lq=length(q);
if Lq<L
    q=[zeros(1,L-Lq),q];
end;

Contact us