How do I define piecewise constant function in for loop?
Mostra commenti meno recenti
For example, say I have data points given by
and corresponding output points
. Now I want to define a piecewise constant function y such that on
its
,
on
,
on
,
on
and so on.
. Now I want to define a piecewise constant function y such that on
its
,
,
and so on.Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!