top of page
搜尋
hsuyw5

g of Chebyshev (with MatLAb code)

已更新:2023年3月31日



% g for Chebyshev if N odd

close all;home;clc;clear all;

%input

N=5;

Am=0.01; %ripple level in dB

=====================================================================

beta=log(coth(Am/17.37));

gamma=sinh(beta/(2*N));


for k=1:1:N

a(k,1)=sin((2*k-1)*pi/(2*N));

b(k,1)=gamma^2+(sin(k*pi/N))^2;

end

g(1,1)=2*a(1,1)/gamma;

for k=2:1:N;

g(k,1)=(4*a(k-1,1)*a(k,1))/(b(k-1,1)*g(k-1,1));

end

g(N+1,1)=1;


g

40 次查看0 則留言

댓글


文章: Blog2_Post
bottom of page