matlab para fourier

4
Ejercicio 1.1 x=sqrt(2)/2 y=asin(x) y_deg=y*180/pi x=sqrt(3^2+4^2) y=rem(23,4) x=2.6,y1=fix(x),y2=floor(x),y3=ceil(x),y4=round(x); >> e1 x = 0.7071 y = 0.7854 y_deg = 45.0000 x = 5

Upload: jean

Post on 11-Dec-2015

215 views

Category:

Documents


1 download

DESCRIPTION

ejercicios de matlab para fourier

TRANSCRIPT

Page 1: matlab para Fourier

Ejercicio 1.1x=sqrt(2)/2y=asin(x)y_deg=y*180/pix=sqrt(3^2+4^2)y=rem(23,4)x=2.6,y1=fix(x),y2=floor(x),y3=ceil(x),y4=round(x);

>> e1

x =

0.7071

y =

0.7854

y_deg =

45.0000

x =

5

y =

3

Page 2: matlab para Fourier

x =

2.6000

y1 =

2

y2 =

2

y3 =

3

Ejercicio 1.2

Ejer1

a=1;b=5;c=6;x1=(-b+sqrt(b^2-4*a*c))/2*ax2=(-b-sqrt(b^2-4*a*c))/2*aa*x1^2+b*x1+ca*x2^2+b*x2+c

>> e1

c =

Page 3: matlab para Fourier

6

x1 =

-2

x2 =

-3

>> e1

c =

6

x1 =

-2

x2 =

-3

Page 4: matlab para Fourier

ans =

0

ans =

0

>>

Ejer2

a=1;b=4;c=;x1=(-b+sqrt(b^2-4*a*c))/2*ax2=(-b-sqrt(b^2-4*a*c))/2*aa*x1^2+b*x1+ca*x2^2+b*x2+c