how can I have a differentiate of length n in S-function Simulink

2 Ansichten (letzte 30 Tage)
Mary
Mary am 16 Nov. 2017
Kommentiert: Mary am 16 Nov. 2017
I am new to Simulink and I used an S-function in order to write my code. I need to numerically differntiate a vector of length n. The problem is that it diff return a vector of length n-1 and I get keep error of having an empty differentiate matrix. I do not know how to take of this in Simulink. Is there any function that returns differentiate with length n?

Akzeptierte Antwort

Birdman
Birdman am 16 Nov. 2017

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by