Matlab - Funcion limit

 
Vista:
sin imagen de perfil

Funcion limit

Publicado por jose (2 intervenciones) el 21/11/2015 04:08:19
Hola que tal, he tenido unos problemas con esta funcion, me devuelve una 'advertencia' y como resultado 0 pero no deberia de serlo

1
2
3
4
5
6
7
8
9
%--------POLOS--------
 
syms w
%---Se factoriza la parte del denominador
a=((w0.^2 - w.^2).^2 + (g.*w).^2);
vpa(solve(a==0,w));
w01=ans(1);
solve(a==0,w);
w02=ans(4);

LOS POLOS SOLO ES UN NUMERO COMPLEJO DE LA FORMA X + iY muy simple.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%----------RESIDUOS------------
 
g = 1.5;  % Gama, ancho
w0 = 3.5; % Resonancia
A = 3;    % Amplitud 1~10
w1=1;
syms z
 
epsilon = A ./ (((w0.^2) - (w.^2) - (w.*g.*i)));
real(epsilon);
imag(epsilon);
 
limit((z-w01) .* (subs(real(epsilon),z)./(z-w1)),w01);  ----> No deberia ser 0!!! y arroja una advertencia
 
res1=ans.*pi.*i


Warning: Cannot attach the property of being close to the limit point to limit
variable. [limit] ESTO ES LO QUE DICE


Asi es como deberia de quedar (Esto es de mathematica)

residuos

En la imagen eso corresponde asi...w1 = 1 lo demas esta igual
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder