Variable in function of 0
Show older comments
I need one of my variables in function of time zero (0) but I get an error in MATLAB saying that I need a positive number. how can I fix that?
ex: t = 0:1:1000
if t = 0 I(t) = a + b else I(t) = b - a
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!