Piecewise function. Dont know x
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示



3 件のコメント
JAKE WISNIEWSKI
2019 年 11 月 7 日
Walter Roberson
2019 年 11 月 7 日
Duplicate question. You should merge it with your earlier questions on the same topic.
JAKE WISNIEWSKI
2019 年 11 月 7 日
回答 (1 件)
Walter Roberson
2019 年 11 月 7 日
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)
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!