Sunday, January 23, 2011

hm1 pb2

i'm having some trouble with the fonction of the LC filter, i do not know the state equation.
i follow the step by step exemple.....; but i stuck on the state equ, i wrote two equ :
icf = ........; capacitor current
vlf =........; inductor voltage

%output
y = [icf/Cf vlf/Lf];

then i got the following message:
Embedded MATLAB Interface Error: Propagated size of data 'y' (#79) changed when propagating type.
The size was fixed to be '[2]' and now became '[1 2]'.

My question is should i wrote the T(s) equ of the LC filter ? did i miss some state equ?

1 comment:

  1. I think you should have 3 outputs, so you need to add the 3rd output (vg) to the y function.

    ReplyDelete

Note: Only a member of this blog may post a comment.