How can I Import complex vector to SIMULINK to analyze it using spectrum analyzer?
조회 수: 2 (최근 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)."
댓글 수: 0
답변 (1개)
Sulaymon Eshkabilov
2019년 10월 9일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!