필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Piecewise function. Dont know x

조회 수: 3 (최근 30일)
JAKE WISNIEWSKI
JAKE WISNIEWSKI 2019년 11월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
IMG_1796.jpg
IMG_1797.jpg
Screen Shot 2019-11-06 at 9.30.06 PM.png
  댓글 수: 3
Walter Roberson
Walter Roberson 2019년 11월 7일
Duplicate question. You should merge it with your earlier questions on the same topic.
JAKE WISNIEWSKI
JAKE WISNIEWSKI 2019년 11월 7일
I deleted the previous question because it seemed like the information provided was not clear enough.

답변 (1개)

Walter Roberson
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)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by