Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Moving Minimum

Moving minimum

  • Library:
  • DSP System Toolbox / Statistics

Description

The Moving Minimum block determines the moving minimum of the input signal along each channel independently over time. The block uses the sliding window method to determine the moving minimum. In this method, a window of specified length moves over each channel sample by sample, and the block determines the minimum over the data in the window. For more details, see Algorithms.

Ports

Input

expand all

Data over which the moving minimum is determined using the sliding window method. The block accepts real-valued or complex-valued multichannel inputs, that is, m-by-n size inputs, where m ≥ 1 and n ≥ 1. The block also accepts variable-size inputs. During simulation, you can change the size of each input channel. However, the number of channels cannot change.

Data Types: single | double
Complex Number Support: Yes

Output

expand all

Moving minimum output, determined using the sliding window method. The size of the output matches the size of the input. The window slides column-wise along each channel, and the block determines the minimum of the data in the window. For more details, see Algorithms.

Data Types: single | double
Complex Number Support: Yes

Parameters

expand all

When you select this check box, the length of the sliding window is equal to the value you specify through the Window length parameter. When you clear this check box, the length of the sliding window is infinite. In this mode, the block determines the minimum of the current sample and all the previous samples in the channel.

Window length specifies the length of the sliding window. This parameter appears when you select the Specify window length check box.

  • Code generation

    Simulate model using generated C code. The first time you run a simulation, Simulink® generates C code for the block. The C code is reused for subsequent simulations, as long as the model does not change. This option requires additional startup time but provides faster simulation speed than Interpreted execution.

  • Interpreted execution

    Simulate model using the MATLAB®  interpreter. This option shortens startup time but has slower simulation speed than Code generation.

Algorithms

expand all

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2016b

Was this topic helpful?