Converting a simulink model to excel or vb.net

Greetings,

I a have a simple simulink model that

1. Reads the data from the workspace (an arbitrary waveform)
easy to do in vb.net or excel

2. The data is applied to a transport delay
Ignore for now this is easy to translate

3. The delayed data is applied to a transfer function
k/a*s+1 (ie. 4/40*s+1)

4. The desired waveform is produced and compared to the reference waveform

This should be a simple translation of the transfer function
(ie. k*(exp(-t/a)/a)
When I implement this in excel it does not come close.

What am I missing?

Thanks,
Ron
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories