Convert complex number to phase shift in simulink
1 次查看(过去 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 ?
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!