T
T
Timebird2016-04-04 16:23:29
Programming
Timebird, 2016-04-04 16:23:29

How to build a block diagram for a remote control in Matlab?

Hello. Please tell me how to build a piecewise function in matlab:
dd5a64bdf0274d879028fc913134dedc.png
Where to start? I shoveled the Internet, I did not find a single algorithm.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Skusnov, 2016-04-04
@AlexSku

Try this (although I didn't work with symbolic expressions):

syms x(t)
assume(0<= t <= 1);
dsolve(0.5*diff(x) + x == 2)
assume(t<0 | t>1);
dsolve(0.5*diff(x) + x == 0)

A
Arastas, 2016-04-07
@Arastas

You specify exactly what you need. Simulation scheme in Simulink? Diagram for solving diff. equations? General solution?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question