- Numero de iteraciones
- n iteraciones
- Grafica de K en funcion de n
- Referencias
% Calculo de constante de normalizacion K
% para el calculo de sqrt(x^2+ y^2) y atan(y/x)
% Programador: Ing. Luis Moreno Yaguana
% UTPL-GESE
% ISTEC-RedDSP
clc
K=1;
K1=0;
Summary: Calculation of constant K to perform the calculus of sqrt(x^2 +y^2) and atan(y/x) of a vector (x,y)
lightgraygray0.5
% Calculo de constante de normalizacion K
% para el calculo de sqrt(x^2+ y^2) y atan(y/x)
% Programador: Ing. Luis Moreno Yaguana
% UTPL-GESE
% ISTEC-RedDSP
clc
K=1;
K1=0;
n=19;
for i=0:n-1
temp=sqrt(1+2^(-2*i));
K=temp*K;
K1=[K1 K];
end
K1=K1(2:end);
plot(0:n-1,K1)
xlabel('n','FontWeight','Bold');
yt=ylabel('Value of K','FontWeight','Bold');
grid on
axis([0 n min(K1) max(K1)+0.05])
K
lightgray
K =
1.6468
black
|
Jack E. Volder The CORDIC Trigonometric Computing Technique IRE Transcactions EC-8, 1959, 330-334