Feeds
提问
How to update a variable value in discrete time step depending on the state it is in?
I am using a state flow chart to determine the state the system is in. A & B are discrete variables. There are two main OR s...
13 years 前 | 1 个回答 | 0
1
个回答提问
count the duration for which variable value is zero in simulink
t=(1:1:24); I=[0 0 0 1 1 1 2 2 2 5 5 5 10 10 10 15 15 15 5 5 5 0 0 0]; If these are the inputs in Simulink using a lookup ...
13 years 前 | 1 个回答 | 0
