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:
[a,b,c,d] = imp2ss(irf,1);
[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?).