MATLAB: Is the RMS block only outputting one signal for a vector signal input

DSP System Toolbox

Why is my RMS block only outputting one signal for a vector signal input?

Best Answer

For vector signals such as those created by a Mux block, to have the RMS block from the DSP System Toolbox calculate the RMS value of each scalar signal in the vector during simulation, you need to check the 'Running RMS' box in the block dialog options.
Note this option for this block will be removed in a future release. To compute the running RMS for each signal in a vector signal, it is recommended to use the Moving RMS block instead.
See the documentation for each block below.