Hilbert transform in simulink for real-time purposes

I'm translating .m code to simulink model. Is there a way to make hilbert(x) as a block 1 in 1 out in a simple way? I've seen a block "hilbert" but it's a filter, not a transform.

Réponses (1)

Matthias Walle
Matthias Walle le 7 Oct 2016

0 votes

Hi,
you might be able to use the MATLAB Function Block and include hilbert as extrinsic function. Downside of this is that the Matlab compiler has to run every-time.

3 commentaires

Can simulink coder translate it to C ?
not when you use the extrinsic function option
Is it possible to first generate C code out of the extrinsic function and then put it to siulink?

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by