MATLAB Answers

Convert complex number to phase shift in simulink

3 views (last 30 days)
BambOo
BambOo on 14 May 2020
Answered: Priyanshu Mishra on 18 May 2020
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 ?

Answers (1)

Priyanshu Mishra
Priyanshu Mishra on 18 May 2020
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.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by