Plotting missing data in MUPAD
조회 수: 1 (최근 30일)
이전 댓글 표시
Simple question: I want to plot a list with missing data, i.e. where data is missing, I don't want anything plotted there, I want a gap in the point series. This works: plot(plot::PointList2d([[1,2],[2,4],[3,3],[4,2]])). However, this doesn't: plot(plot::PointList2d([[1,2],[2,4],[3,NaN],[4,2]])). Thank you!!
댓글 수: 0
답변 (1개)
Sally Al Khamees
2017년 7월 13일
Hey Rock,
NaN does not work with MuPad.
Here is link that describes the differences in syntax between MuPad and ML:
I also also suggest using live scripts instead of MuPad
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!