Cosine

Generate cosine signal

    Cosine

Library

Blocks/Sources

Description

The Real output y is a cosine signal:

Cosine.png

Parameters

Cosine_0

NameLabelDescriptionData TypeValid Values

mo_amplitude

amplitude

Amplitude of cosine wave

Scalar

mo_freqHz

freqHz

Frequency of cosine wave

Scalar

mo_phase

phase

Phase of cosine wave

Scalar

mo_offset

offset

Offset of output signal y

Scalar

mo_startTime

startTime

Output y = offset for time < startTime

Scalar

Cosine_1

NameLabelDescriptionData TypeValid Values

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Real output signal

output

1