# Connexions

You are here: Home » Content » Cálculo de constante K para el encontrar los valores de sqrt(x^2 +y^2) y atan(y/x)

### Recently Viewed

This feature requires Javascript to be enabled.

# Cálculo de constante K para el encontrar los valores de sqrt(x^2 +y^2) y atan(y/x)

Module by: Luis Moreno. E-mail the author

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

## Contents

• 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;

n=19;

## n iteraciones

for i=0:n-1

temp=sqrt(1+2^(-2*i));

K=temp*K;

K1=[K1 K];

end

K1=K1(2:end);

## Grafica de K en funcion de n

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

## Referencias

Jack E. Volder The CORDIC Trigonometric Computing Technique IRE Transcactions EC-8, 1959, 330-334

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks