Bonjour tout le monde si quelqu'un peut m'aider à savoir où le probléme.merci
il m'affiche un erreur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 function U= comm(A,B,G) syms alp a gam T t s f=a*exp(-alp*s)*cos(gam*s); a2=expm((T-s)*A)*B*B'*a1'; M=int(a2,'s',0,T); N1=B'*expm((T-t)*A); N2=int(expm((T-s)*A)*G*f,'s',0,T); U=-N1*inv(M)*N2 end avec sym w A=[0 1,-w^2 0] B=[0;1] G=[0;1] com(,AB,G)
Undefined function or method 'comm' for input arguments of type sym
Partager