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!