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.

Answers (1)

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 Comments

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?

Sign in to comment.

Asked:

on 7 Oct 2016

Commented:

on 9 Oct 2016

Community Treasure Hunt

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

Start Hunting!