Vous êtes sur la page 1sur 11

>> P=[1 5 6 7]

P=

1 5 6 7

>> q=[6 8 3 0]

q=

6 8 3 0

>> poly val(p,2)


Error using zeros
CLASSNAME input must be a valid numeric or logical class name.

Error in poly (line 39)


c = [1 zeros(1,n,class(x))];

>> polyval(p,2)
Undefined function or variable 'p'.

Did you mean:


>> polyval(P,2)

ans =

47

>> r=root(p)
Undefined function or variable 'p'.

Did you mean:


>> r=root(P)
Undefined function 'root' for input arguments of type 'double'.

>> w=P+q

w=

7 13 9 7

>> q=0

q=

>> q=[6 8 9 0 1]

q=

6 8 9 0 1

>> c=conv(P,q)

c=

6 38 85 135 111 68 6 7
>> r=roots(p)
Undefined function or variable 'p'.

Did you mean:


>> r=roots(P)

r=

-3.9259 + 0.0000i
-0.5371 + 1.2225i
-0.5371 - 1.2225i

>> r=roots(q)

r=

-0.7173 + 1.0111i
-0.7173 - 1.0111i
0.0506 + 0.3254i
0.0506 - 0.3254i

>> r=roots(P)

r=

-3.9259 + 0.0000i
-0.5371 + 1.2225i
-0.5371 - 1.2225i

>> s=roots(q)
s=

-0.7173 + 1.0111i
-0.7173 - 1.0111i
0.0506 + 0.3254i
0.0506 - 0.3254i

>> p=[0 1 5 6 7]

p=

0 1 5 6 7

>> r=roots (p)

r=

-3.9259 + 0.0000i
-0.5371 + 1.2225i
-0.5371 - 1.2225i

>> [A,B,C,D] = tfass(p,q)


Undefined function or variable 'tfass'.

Did you mean:


>> [A,B,C,D] = tf2ss(p,q)

A=
-1.3333 -1.5000 0 -0.1667
1.0000 0 0 0
0 1.0000 0 0
0 0 1.0000 0

B=

1
0
0
0

C=

0.1667 0.8333 1.0000 1.1667

D=

>> a = 2*R*C*S
Undefined function or variable 'R'.

Did you mean:


>> a = 2*r*C*s

a=
4.7708 + 5.7183i
2.4334 - 0.7034i
-1.1281 + 2.2679i

>> R=10e3

R=

10000

>> C=10e-6

C=

1.0000e-05

>> L=10e-3

L=

0.0100

>> a=2*R*C

a=

0.2000

>> b=L*C*S*S
Undefined function or variable 'S'.

Did you mean:


>> b=L*C*s*s
Error using *
Inner matrix dimensions must agree.

>> b=L*C

b=

1.0000e-07

>> c=R*C

c=

0.1000

>> l=[0,2 1]

l=

0 2 1

>> l=[0.2 1]

l=

0.2000 1.0000
>> t=[1e-7 0.1 1]

t=

0.0000 0.1000 1.0000

>> g=(l*t)-1
Error using *
Inner matrix dimensions must agree.

>> u=conv(l,t)

u=

0.0000 0.0200 0.3000 1.0000

>> u=conv(e,t)
Undefined function or variable 'e'.

>> u=[0 0 0 2 3 1]

u=

0 0 0 2 3 1

>> w=[0 0 0 0 0 1Ç
w=[0 0 0 0 0 1Ç

Error: The input character is not valid in MATLAB statements or expressions.
>> w=[0 0 0 0 0 1]

w=

0 0 0 0 0 1

>> x = w * u
Error using *
Inner matrix dimensions must agree.

>> x = w * u
Error using *
Inner matrix dimensions must agree.

>> x=u*w
Error using *
Inner matrix dimensions must agree.

>> x=u-w

x=

0 0 0 2 3 0

>> [A,B,C,D]=tf2ss(p,x)
Error using tf2ss (line 57)
Order of denominator must be greater than or equal to order of numerator.

>> [A,B,C,D]=tf2ss(p,x)
Error using tf2ss (line 57)
Order of denominator must be greater than or equal to order of numerator.

>> [A,B,C,D]=tf2ss(p,x)
Error using tf2ss (line 57)
Order of denominator must be greater than or equal to order of numerator.

>> [A,B,C,D]=tf2ss(x,p)

A=

-5 -6 -7
1 0 0
0 1 0

B=

1
0
0

C=

2 3 0

D=
0