How to use the Simulink Extras->Additional Sinks or simply enter Averaging Spectrum Analyze
조회 수: 4 (최근 30일)
이전 댓글 표시
Please can you p[oint me where I find more information on block
Simulink Extras->Additional Sinks
- Averaging Spectrum Analyze
- Spectrum Analyzer
any demo, exaplantion etc... would welcomed


댓글 수: 0
답변 (1개)
Pratyush Swain
2025년 3월 27일
Hi Peter,
I was also unable to find any specific documentation for the blocks under Simulink Extras. We can still although leverage -
'Right click on the block > Masks > Look under the Mask' option to know about the behaviour of of the block.
This block is actually an S-Function written in MATLAB Code:
% View Averaging Spectrum Analyzer Code%
edit msfuntf
The code is documentated as follows and provides information about the block:
%MSFUNTF an MATLAB S-function which performs transfer function analysis using ffts.
% This MATLAB file is designed to be used in a Simulink S-function block.
% It stores up a buffer of input and output points of the system
% then plots the frequency response of the system based on this information.
%
% The input arguments are:
% npts: number of points to use in the fft (e.g. 128)
% HowOften: how often to plot the ffts (e.g. 64)
% offset: sample time offset (usually zeros)
% ts: how often to sample points (secs)
% averaging: whether to average the transfer function or not
%
% The spectrum analyzer displays three plots: the time history,
% the phase and magnitude of the transfer function.
For more information, you also refer to this similar matlab answer thread - https://www.mathworks.com/matlabcentral/answers/36280-using-simulink-s-averaging-spectrum-analyzer
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!