Convert complex number to phase shift in simulink

3 次查看(过去 30 天)
It is my first quesiton here, so I am sorry if the format is not the right one or if some information is lacking, feel free to ask for more.
I am currently modelling some phenomena in structural dynamics, combining pure simulink blocks and simscape blocks.
I have velocity measurements (real-valued) on which I perform computations with complex-valued matrices, which give me a complex-valued output.
However, I use this ouput in a feedback loop so I have to convert it back to some real signal for the simulation to run.
My idea was then to convert this complex value that has a relative phase to my input signal into some real signal with same amplitude, but showing a time shift matching the argument of my complex number, but I can't figure it out.
Any suggestions ?
I know of the transport delay / time delay (thought I am not sure how to use them in such a situation), but it feels overkill for something that looks so basic. Moreover, I need to perform some linear analysis for stability on this model, which seems to be incompatible with such delay blocks.
What is the right way to do this ?

回答(1 个)

Priyanshu Mishra
Priyanshu Mishra 2020-5-18
Hi Bamboo,
In my understanding, there are couple of blocks which might be helpful for you.
Kindly, go through the documentation of this page. This might be helpful for you.

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by