How can I Import complex vector to SIMULINK to analyze it using spectrum analyzer?

1 次查看(过去 30 天)
1- I'm trying to use From work space to import complex vector to simulink
2- I get this error message:
"Unsupported input format for From Workspace block 'SISO/From Workspace'. Available formats are double non-complex matrix, a structure with or without time, or a structure with MATLAB timeseries as leaf nodes. All formats require the data to be finite (not Inf or NaN)."

回答(1 个)

Sulaymon Eshkabilov
Hi,
In this case, the solution can be to feed your model with the real part and imaginary part of your input data (complex valued) and then after Simulink model simulations sum up the computed results in MATLAB. In this case, you'd need real(), imag() fcns to separate the input data.
Good luck.

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by