simulink模块详解_例一
simulink saturation模块
它是对一个信号限定上下限的作用。当输入在Lower limit和Upper limit之间时输出源信号,若输入信号超出该范围,则会自动被限制到上限信号或者下限信号。
simulink gain模块
是增益模块,就是输出=输入*gain。
Element-wise(K.*u)
Each element of the input is multiplied by each element of the gain. The block performs expansions, if necessary, so that the input and gain have the same dimensions.
每一个元素的输入是乘于每个gain。这个区域运行膨胀,如果有必要的话,这个输入和增益有相同维数。
Matrix(K*u)
The input and gain are matrix multiplied with the input as the second operand.
这输入和增益是矩阵乘法,输入是左乘增益。
Matrix(u*K)
The input and gain are matrix multiplied with the input as the first operand.
这个输入和增益是矩阵乘法,输入是右乘增益。
Matrix(K*u)(u vector)
The input and gain are matrix multiplied with the input as the second operand. This mode is identical to Matrix(K*u), except for how dimensions are determined.
这个输入和增益是矩阵乘法,输入是左乘增益,这模式和上面的模式区别的地方在于输入矩阵的维度是多少。
Suppose that K is an m-by-n matrix. Matrix(K*u)(u vector) sets the input to a vector of length n and the output to a vector of length m. In contrast, Matrix(K*u) uses propagation to determine dimensions for the input and output. For an m-by-n gain matrix, the input can propagate to an n-by-q matrix, and the output becomes an m-by-q matrix
bus creator
可以使得目标连接模块有多个连接。(见于Figure1)
实例
例子:
Figure 1
效果:
Figure 2