Errors with 32 bit.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I have MATLAB's student editin which is 32 bit. I wanted to do linear interpolation by interp1(x,y,xq). My x is a monotonic vector of size 10. The same goes for 7. When I enter and xq between the boundaries of x, it might or moght not give NAN depending on the value. Do you have any idea why it might be giving NAN?
Thank you,
Emre
댓글 수: 0
채택된 답변
Jan
2013년 9월 18일
편집: Jan
2013년 9월 18일
If xq is outside the intervals defined by x, NaN is replies as corresponding y value. Inside the boundaries, NaN is not replied. Therefore I'm convinced you calculate something other than you think.
Please post an explicit example, which reproduces your problem.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 NaNs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!