Piecewise function. Dont know x
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti



3 Commenti
JAKE WISNIEWSKI
il 7 Nov 2019
Walter Roberson
il 7 Nov 2019
Duplicate question. You should merge it with your earlier questions on the same topic.
JAKE WISNIEWSKI
il 7 Nov 2019
Risposte (1)
Walter Roberson
il 7 Nov 2019
Establish a vector of definite x values. Use logical indexing
X = something definite
Y = nan(size(x));
Mask = x > something & x < something else
Y(Mask) = some vectorized expression in X(Mask)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!