Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
switching between two subsystems

Subject: switching between two subsystems

From: Mostafa El-Hosseini

Date: 18 Oct, 2010 00:05:03

Message: 1 of 1

how to model this system below in simulink.
the most important point, how to switch between these two systems every 50s
Plant under consideration has two subsystems which alternate each 50s. Subsystems 1 and 2 are given by the equations systems (1) and (2),

x1dot = -x1 +x2 +u
x2dot = 0 x1 + 0 x2 + 0 u
 y = x1 + 0 x2

x1dot = -x1 + 0 x2 + 1 u
x2dot = 0 x1 - x2 + 0 u
y = x1 + x2

thank you


Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us