image thumbnail
from Introducao ao Simulink by Elia Matsumoto
Slides and demo files from the webinar "Introduction to Simulink (Portuguese).

Untitled Document

The masked subsystem contains blocks that integrate a input signal or a vector of input signals.

The differential equation of the dynamic system is of the form:

dy/dt=u

To see the structure of the blocks inside the system, Right click on the mask->Look under Mask.

The Embedded MATLAB function block contains code that computes the root mean square value of the vector signals:

y=sqrt(sum(u*conj(u)))/size(u,1))

The zero hold blocks sample the signals at predefined sample times Ts1 and Ts2 which are exposed through the mask.

This block was authored in Simulink.

Contact us at files@mathworks.com