The first two are the question being asked. Thats the work that I have done so far, but I am confused as to what I should do becuase there is no x value given.
Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Piecewise function. Dont know x
조회 수: 3 (최근 30일)
이전 댓글 표시
댓글 수: 3
Walter Roberson
2019년 11월 7일
Duplicate question. You should merge it with your earlier questions on the same topic.
답변 (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!