Answer the question
In order to leave comments, you need to log in
How to build a block diagram for a remote control in Matlab?
Hello. Please tell me how to build a piecewise function in matlab:
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
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)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question