On Simulink, is it possible to add outputs to a vector at the end of each step?

조회 수: 1 (최근 30일)
So I've been using MATLAB's RF Mixer: https://imgur.com/1buqXZc
However, I've changed the RF output from Quadrature and In-Phase to Complex Baseband. The overall idea is to generate a signal and then Short Time Fourier Transform it using dsp.STFT. This function requires a time-domain signal specified as a vector so my idea was at each step add the output to a vector and once the steps have finished, input this to a custom built MATLAB Function Block but I'm not entirely sure how to specify 'add value at next simulation step' in a MATLAB function.
I think that would work as long as my step size corresponds to my ideal sample rate.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Transforms에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by