Sei sulla pagina 1di 12

sin(60)

ans =
-0.3048
sin(30)
ans =
-0.9880
zpk([1 17 99 223 140],[1 32 363 2092 5052 4320],[0])
Zero/pole/gain:
0
uiopen('C:\Documents and Settings\Pencere\Belgelerim\MATLAB\eren.txt',1)
help diary
DIARY Save text of MATLAB session.
DIARY FILENAME causes a copy of all subsequent command window input
and most of the resulting command window output to be appended to the
named file. If no file is specified, the file 'diary' is used.
DIARY OFF suspends it.
DIARY ON turns it back on.
DIARY, by itself, toggles the diary state.
Use the functional form of DIARY, such as DIARY('file'),
when the file name is stored in a string.
See also <a href="matlab:help save">save</a>.
Reference page in Help browser
<a href="matlab:doc diary">doc diary</a>
tf2zp
{??? Input argument "num" is undefined.
Error in ==> <a href="matlab: opentoline('C:\Program Files\MATLAB\R2009b\toolbox
\matlab\polyfun\tf2zp.m',34,0)">tf2zp at 34</a>
[num,den] = tfchk(num,den);
}
tf2zp([1 17 99 223 140],[1 32 363 2092 5052 4320])
ans =
-7.0000
-5.0000
-4.0000
-1.0000
A=zpk([-2 -3 -6 -8],[-7 -9 -10 -15],[20])
Zero/pole/gain:
20 (s+2) (s+3) (s+6) (s+8)
-------------------------(s+7) (s+9) (s+10) (s+15)

tf(A)
Transfer function:
20 s^4 + 380 s^3 + 2480 s^2 + 6480 s + 5760
------------------------------------------s^4 + 41 s^3 + 613 s^2 + 3975 s + 9450
uiopen('C:\Documents and Settings\Pencere\Belgelerim\MATLAB\eren.txt',1)
zpk(tf(A))
Zero/pole/gain:
20 (s+8) (s+6) (s+3) (s+2)
-------------------------(s+15) (s+10) (s+9) (s+7)
diary on
A=zpk([-2 -3 -6 -8],[-7 -9 -10 -15],[20])
Zero/pole/gain:
20 (s+2) (s+3) (s+6) (s+8)
-------------------------(s+7) (s+9) (s+10) (s+15)
tf(A)
Transfer function:
20 s^4 + 380 s^3 + 2480 s^2 + 6480 s + 5760
------------------------------------------s^4 + 41 s^3 + 613 s^2 + 3975 s + 9450
zpk(tf(A))
Zero/pole/gain:
20 (s+8) (s+6) (s+3) (s+2)
-------------------------(s+15) (s+10) (s+9) (s+7)
uiopen('C:\Documents and Settings\Pencere\Belgelerim\MATLAB\eren.txt',1)
[r,p,k] = residue([1 8 15 0],[0 0 5 10])
r =
-1.2000
p =
-2
k =
0.2000

1.2000

0.6000

[r,p,k] = residue([0 0 5 10],[1 8 15 0])


r =
-1.5000
0.8333

0.6667
p =
-5
-3
0
k =
[]
syms t
syms e
f=3*t*exp^-2*t*sin(4*t+(pi/3));
{??? Error using ==> exp
Not enough input arguments.
}
f=3*t*(exp^-2*t)*sin(4*t+(pi/3));
{??? Error using ==> exp
Not enough input arguments.
}
help exp
EXP
Exponential.
EXP(X) is the exponential of the elements of X, e to the X.
For complex Z=X+i*Y, EXP(Z) = EXP(X)*(COS(Y)+i*SIN(Y)).
See also <a href="matlab:help expm1">expm1</a>, <a href="matlab:help log">lo
g</a>, <a href="matlab:help log10">log10</a>, <a href="matlab:help expm">expm</a
>, <a href="matlab:help expint">expint</a>.
Overloaded methods:
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help

sym/exp">sym/exp</a>
lti/exp">lti/exp</a>
codistributed/exp">codistributed/exp</a>
fints/exp">fints/exp</a>
xregcovariance/exp">xregcovariance/exp</a>

Reference page in Help browser


<a href="matlab:doc exp">doc exp</a>
f=3*t*exp(-2*t)*sin(4*t+(pi/3));
laplace(f)
ans =
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
pretty(ans)
/ 1/2
\
| 3
(s + 2)
|
3 (2 s + 4) | ------------ + 2 |
1/2
\
2
/
3 3
-------------------------------- - ----------------2
2
2
((s + 2) + 16)
2 ((s + 2) + 16)

simple(ans)
simplify:
(12*s + 6*3^(1/2)*s - 18*3^(1/2) + (3*3^(1/2)*s^2)/2 + 24)/(s^2 + 4*s + 20)^2
radsimp:
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
simplify(100):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
combine(sincos):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
combine(sinhcosh):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
combine(ln):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
factor:
(((3*3^(1/2))/2)*(s + 4*3^(1/2) + 2)*(s - (4*3^(1/2))/3 + 2))/(4*s + s^2 + 20)^2
expand:
(12*3^(1/2))/(s^4 + 8*s^3 + 56*s^2 + 160*s + 400) - (3*3^(1/2))/(2*(s^2 + 4*s +
20)) + (12*s)/(s^4 + 8*s^3 + 56*s^2 + 160*s + 400) + 24/(s^4 + 8*s^3 + 56*s^2 +
160*s + 400) + (3*3^(1/2)*s^2)/(s^4 + 8*s^3 + 56*s^2 + 160*s + 400) + (12*3^(1/2
)*s)/(s^4 + 8*s^3 + 56*s^2 + 160*s + 400)
combine:
(3*(2*s + 4)*(3^(1/2)*(s/2 + 1) + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s +
2)^2 + 16))
rewrite(exp):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))

rewrite(sincos):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
rewrite(sinhcosh):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
rewrite(tan):
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
mwcos2sin:
(3*(2*s + 4)*((3^(1/2)*(s + 2))/2 + 2))/((s + 2)^2 + 16)^2 - (3*3^(1/2))/(2*((s
+ 2)^2 + 16))
collect(s):
((3*3^(1/2))*s^2 + (12*3^(1/2) + 24)*s + 48 - 36*3^(1/2))/(2*s^4 + 16*s^3 + 112*
s^2 + 320*s + 800)
ans =
(((3*3^(1/2))/2)*(s + 4*3^(1/2) + 2)*(s - (4*3^(1/2))/3 + 2))/(4*s + s^2 + 20)^2
help inverse laplace
{??? Error using ==> <a href="matlab: opentoline('C:\Program Files\MATLAB\R2009b\
toolbox\matlab\helptools\help.m',78,0)">help at 78</a>
Help only supports one topic
}
help inv
INV
Matrix inverse.
INV(X) is the inverse of the square matrix X.
A warning message is printed if X is badly scaled or
nearly singular.
See also <a href="matlab:help slash">slash</a>, <a href="matlab:help pinv">p
inv</a>, <a href="matlab:help cond">cond</a>, <a href="matlab:help condest">cond
est</a>, <a href="matlab:help lsqnonneg">lsqnonneg</a>, <a href="matlab:help lsc
ov">lscov</a>.
Overloaded methods:
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help
<a href="matlab:help

sym/inv">sym/inv</a>
gf/inv">gf/inv</a>
lti/inv">lti/inv</a>
idmodel/inv">idmodel/inv</a>
uss/inv">uss/inv</a>
umat/inv">umat/inv</a>
ufrd/inv">ufrd/inv</a>

<a href="matlab:help ndlft/inv">ndlft/inv</a>


<a href="matlab:help atom/inv">atom/inv</a>
Reference page in Help browser
<a href="matlab:doc inv">doc inv</a>
pretty(ans)
1/2
/
1/2
\
3 3
1/2
|
4 3
|
------ (s + 4 3
+ 2) | s - ------ + 2 |
2
\
3
/
-----------------------------------------2
2
(s + 4 s + 20)
f1=[0 1 8];
f2=[1 8 3];
f3=[1 5 7];
f4=f1*f2*f3
{??? Error using ==> mtimes
Inner matrix dimensions must agree.
}
conv(f1,f2)
ans =
0

16

67

24

16

67

24

21

154

471

conv(f2,f1)
ans =
0

conv(ans,f3)
ans =
0

589

168

ilapce([0 0 0 1 4 2 6],ans)
{??? Undefined function or method 'ilapce' for input arguments of type 'double'.
}
f5=[0 0 0 1 4 2 6]/ans
f5 =
0.0068
clear all
syms s
ilapce((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168))
{??? Undefined function or method 'ilapce' for input arguments of type 'sym'.
}
ilapce((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168),s)
{??? Undefined function or method 'ilapce' for input arguments of type 'sym'.
}
ilapce(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)),s)
{??? Undefined function or method 'ilapce' for input arguments of type 'sym'.
}

ilaplace(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)),s)
ans =
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
simple(ans)
simplify:
(1199*cosh(13^(1/2)*s))/(417*exp(4*s)) - (65*cos((3^(1/2)*s)/2))/(4309*exp((5*s)
/2)) - 266/(93*exp(8*s)) - (1703*3^(1/2)*sin((3^(1/2)*s)/2))/(12927*exp((5*s)/2)
) - (4262*13^(1/2)*sinh(13^(1/2)*s))/(5421*exp(4*s))
radsimp:
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
simplify(100):
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
combine(sincos):
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
combine(sinhcosh):
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
combine(ln):
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
factor:
((37169*cosh(13^(1/2)*s))/exp(4*s) - (195*cos((3^(1/2)*s)/2))/exp((5*s)/2) - 369
74/exp(8*s) - (1703*3^(1/2)*sin((3^(1/2)*s)/2))/exp((5*s)/2) - (132122*13^(1/2)*
sinh(13^(1/2)*s))/(13*exp(4*s)))/12927

expand:
(1199*cosh(13^(1/2)*s))/(417*exp(4*s)) - (65*cos((3^(1/2)*s)/2))/(4309*exp((5*s)
/2)) - 266/(93*exp(8*s)) - (1703*3^(1/2)*sin((3^(1/2)*s)/2))/(12927*exp((5*s)/2)
) - (4262*13^(1/2)*sinh(13^(1/2)*s))/(5421*exp(4*s))
combine:
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
rewrite(exp):
(1199*(exp(13^(1/2)*s)/2 + 1/(2*exp(13^(1/2)*s)) - (4262*13^(1/2)*(exp(13^(1/2)*
s)/2 - 1/(2*exp(13^(1/2)*s))))/15587))/(417*exp(4*s)) - (65*(1/(2*exp((3^(1/2)*i
*s)/2)) + exp((3^(1/2)*i*s)/2)/2 + (131*3^(1/2)*(i/(2*exp((3^(1/2)*i*s)/2)) - (i
*exp((3^(1/2)*i*s)/2))/2))/15))/(4309*exp((5*s)/2)) - 266/(93*exp(8*s))
rewrite(sincos):
(1199*(cos(4*i*s) + i*sin(4*i*s))*(cos(13^(1/2)*i*s) + (4262*13^(1/2)*i*sin(13^(
1/2)*i*s))/15587))/417 - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/
2))/15)*(cos((5*i*s)/2) + i*sin((5*i*s)/2)))/4309 - (266*cos(8*i*s))/93 - (266*i
*sin(8*i*s))/93
rewrite(sinhcosh):
(266*sinh(8*s))/93 - (266*cosh(8*s))/93 - (65*(cosh((5*s)/2) - sinh(5/2*s))*(cos
h(-(3^(1/2)*i*s)/2) + (131*3^(1/2)*i*sinh(-(3^(1/2)*i*s)/2))/15))/4309 + (1199*(
cosh(4*s) - sinh(4*s))*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/1558
7))/417
rewrite(tan):
(65*((tan((3^(1/2)*s)/4)^2 - 1)/(tan((3^(1/2)*s)/4)^2 + 1) - (262*3^(1/2)*tan((3
^(1/2)*s)/4))/(15*(tan((3^(1/2)*s)/4)^2 + 1)))*(i + tan(-(5*i*s)/4)))/(4309*(i tan(-5/4*i*s))) - (266*(i + tan((-4)*i*s)))/(93*(i - tan(-4*i*s))) - (1199*((ta
n((13^(1/2)*i*s)/2)^2 - 1)/(tan((13^(1/2)*i*s)/2)^2 + 1) - (8524*13^(1/2)*i*tan(
(13^(1/2)*i*s)/2))/(15587*(tan((13^(1/2)*i*s)/2)^2 + 1)))*(i + tan((-2)*i*s)))/(
417*(i - tan(-2*i*s)))
mwcos2sin:
(1199*(- 2*sin(2*i*s)^2 + i*sin(4*i*s) + 1)*(- 2*sin((13^(1/2)*i*s)/2)^2 + (4262
*13^(1/2)*i*sin(13^(1/2)*i*s))/15587 + 1))/417 + (532*sin(4*i*s)^2)/93 - (266*i*
sin(8*i*s))/93 - (65*(- 2*sin((3^(1/2)*s)/4)^2 + (131*3^(1/2)*sin((3^(1/2)*s)/2)
)/15 + 1)*(- 2*sin((5*i*s)/4)^2 + i*sin((5*i*s)/2) + 1))/4309 - 266/93
collect(s):
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5

*s)/2)) - 266/(93*exp(8*s))
ans =
(1199*(cosh(13^(1/2)*s) - (4262*13^(1/2)*sinh(13^(1/2)*s))/15587))/(417*exp(4*s)
) - (65*(cos((3^(1/2)*s)/2) + (131*3^(1/2)*sin((3^(1/2)*s)/2))/15))/(4309*exp((5
*s)/2)) - 266/(93*exp(8*s))
pretty(ans)
/
1/2
1/2
\
|
1/2
4262 13
sinh(13
s) |
1199 | cosh(13
s) - ------------------------ |
\
15587
/
------------------------------------------------- 417 exp(4 s)
/
/ 1/2 \ \
|
1/2
| 3
s | |
|
/ 1/2 \ 131 3
sin| ------ | |
|
| 3
s |
\ 2
/ |
65 | cos| ------ | + ---------------------- |
\
\ 2
/
15
/
266
--------------------------------------------- - ----------/ 5 s \
93 exp(8 s)
4309 exp| --- |
\ 2 /
clear all
clc
ilaplace(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)))
{??? Undefined function or variable 's'.
}
syms s
ilaplace(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)))
ans =
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
simple(ans)
simplify:
(1199*cosh(13^(1/2)*t))/(417*exp(4*t)) - (65*cos((3^(1/2)*t)/2))/(4309*exp((5*t)
/2)) - 266/(93*exp(8*t)) - (1703*3^(1/2)*sin((3^(1/2)*t)/2))/(12927*exp((5*t)/2)
) - (4262*13^(1/2)*sinh(13^(1/2)*t))/(5421*exp(4*t))
radsimp:
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
simplify(100):

(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
combine(sincos):
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
combine(sinhcosh):
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
combine(ln):
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
factor:
((37169*cosh(13^(1/2)*t))/exp(4*t) - (195*cos((3^(1/2)*t)/2))/exp((5*t)/2) - 369
74/exp(8*t) - (1703*3^(1/2)*sin((3^(1/2)*t)/2))/exp((5*t)/2) - (132122*13^(1/2)*
sinh(13^(1/2)*t))/(13*exp(4*t)))/12927
expand:
(1199*cosh(13^(1/2)*t))/(417*exp(4*t)) - (65*cos((3^(1/2)*t)/2))/(4309*exp((5*t)
/2)) - 266/(93*exp(8*t)) - (1703*3^(1/2)*sin((3^(1/2)*t)/2))/(12927*exp((5*t)/2)
) - (4262*13^(1/2)*sinh(13^(1/2)*t))/(5421*exp(4*t))
combine:
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
rewrite(exp):
(1199*(exp(13^(1/2)*t)/2 + 1/(2*exp(13^(1/2)*t)) - (4262*13^(1/2)*(exp(13^(1/2)*
t)/2 - 1/(2*exp(13^(1/2)*t))))/15587))/(417*exp(4*t)) - (65*(1/(2*exp((3^(1/2)*i
*t)/2)) + exp((3^(1/2)*i*t)/2)/2 + (131*3^(1/2)*(i/(2*exp((3^(1/2)*i*t)/2)) - (i
*exp((3^(1/2)*i*t)/2))/2))/15))/(4309*exp((5*t)/2)) - 266/(93*exp(8*t))
rewrite(sincos):
(1199*(cos(4*i*t) + i*sin(4*i*t))*(cos(13^(1/2)*i*t) + (4262*13^(1/2)*i*sin(13^(
1/2)*i*t))/15587))/417 - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/
2))/15)*(cos((5*i*t)/2) + i*sin((5*i*t)/2)))/4309 - (266*cos(8*i*t))/93 - (266*i

*sin(8*i*t))/93
rewrite(sinhcosh):
(266*sinh(8*t))/93 - (266*cosh(8*t))/93 - (65*(cosh((5*t)/2) - sinh(5/2*t))*(cos
h(-(3^(1/2)*i*t)/2) + (131*3^(1/2)*i*sinh(-(3^(1/2)*i*t)/2))/15))/4309 + (1199*(
cosh(4*t) - sinh(4*t))*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/1558
7))/417
rewrite(tan):
(65*((tan((3^(1/2)*t)/4)^2 - 1)/(tan((3^(1/2)*t)/4)^2 + 1) - (262*3^(1/2)*tan((3
^(1/2)*t)/4))/(15*(tan((3^(1/2)*t)/4)^2 + 1)))*(i + tan(-(5*i*t)/4)))/(4309*(i tan(-5/4*i*t))) - (266*(i + tan((-4)*i*t)))/(93*(i - tan(-4*i*t))) - (1199*((ta
n((13^(1/2)*i*t)/2)^2 - 1)/(tan((13^(1/2)*i*t)/2)^2 + 1) - (8524*13^(1/2)*i*tan(
(13^(1/2)*i*t)/2))/(15587*(tan((13^(1/2)*i*t)/2)^2 + 1)))*(i + tan((-2)*i*t)))/(
417*(i - tan(-2*i*t)))
mwcos2sin:
(1199*(- 2*sin(2*i*t)^2 + i*sin(4*i*t) + 1)*(- 2*sin((13^(1/2)*i*t)/2)^2 + (4262
*13^(1/2)*i*sin(13^(1/2)*i*t))/15587 + 1))/417 + (532*sin(4*i*t)^2)/93 - (266*i*
sin(8*i*t))/93 - (65*(- 2*sin((3^(1/2)*t)/4)^2 + (131*3^(1/2)*sin((3^(1/2)*t)/2)
)/15 + 1)*(- 2*sin((5*i*t)/4)^2 + i*sin((5*i*t)/2) + 1))/4309 - 266/93
collect(t):
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
ans =
(1199*(cosh(13^(1/2)*t) - (4262*13^(1/2)*sinh(13^(1/2)*t))/15587))/(417*exp(4*t)
) - (65*(cos((3^(1/2)*t)/2) + (131*3^(1/2)*sin((3^(1/2)*t)/2))/15))/(4309*exp((5
*t)/2)) - 266/(93*exp(8*t))
pretty(ans)
/
1/2
1/2
\
|
1/2
4262 13
sinh(13
t) |
1199 | cosh(13
t) - ------------------------ |
\
15587
/
------------------------------------------------- 417 exp(4 t)
/
/ 1/2 \ \
|
1/2
| 3
t | |
|
/ 1/2 \ 131 3
sin| ------ | |
|
| 3
t |
\ 2
/ |
65 | cos| ------ | + ---------------------- |
\
\ 2
/
15
/
266
--------------------------------------------- - ----------/ 5 t \
93 exp(8 t)
4309 exp| --- |

\ 2 /
[num,den]=ilaplace(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)),s)
{??? Error using ==> ilaplace
Too many output arguments.
}
[num,den]=ilaplace(((s^3+4*s^2+2*s+6)/(s^5+21*s^4+154*s^3+471*s^2+589*s+168)))
{??? Error using ==> ilaplace
Too many output arguments.
}
5*poly([-15 -26 -72])
ans =
5

565

16710

140400

poly([0 -55 -56])*[1 5 30]*[1 27 52]


{??? Error using ==> mtimes
Inner matrix dimensions must agree.
}
poly([0 -55 -56])
ans =
1

111

3080

[1 111 3080 0]*[0 1 5 30]*[0 1 27 52]


{??? Error using ==> mtimes
Inner matrix dimensions must agree.
}

Potrebbero piacerti anche