Gain

Output the product of a gain value with the input signal

    Gain

Library

Blocks/Math

Description

This block computes output y as product of gain k with the input u:

    y = k * u;

Parameters

Gain_0

NameLabelDescriptionData TypeValid Values

mo_k

k

Gain value multiplied with input signal

Scalar

Gain_1

NameLabelDescriptionData TypeValid Values

mo_u

u

u

Structure

mo_u/fixed

fixed

Cell of scalars

true
false

mo_u/start

start

Cell of scalars

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Input signal connector

input

1

y

implicit

Output signal connector

output

1