state-space and imp2ss
2 views (last 30 days)
Show older comments
Hi,
I'm trying to compute the convolution of the radiation damping integral in the time domain for a marine structure. I'm using state space in sumilink to do that.
Now I need to do a state space representation of a function K(t). I have a vector K and a time vector t.
What i'm doing is the following:
irf=[t,k];
[a,b,c,d] = imp2ss(irf,1); %state space calculation
%Balanced model reduction via truncated and Schur methods
[A,B,C,D] = balmr(a,b,c,d,1,10);
Is this correct? can imp2ss be implemented to calculate the state space of a matrix?
Or should I do imp2ss of K only? (If I do this, how is the returned state sapce know the bound of the function?, k is only y values, how does it determine the x values?).
thank you,
Elie.
2 Comments
Answers (1)
Naveen Venkata Krishnan
on 10 Oct 2019
Hello Elie,
Is K the impulse response of the model that you are working on. Can you provide the K and t values.
0 Comments
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!