Errors with 32 bit.

1 次查看(过去 30 天)
Seyhan Emre Gorucu
Seyhan Emre Gorucu 2013-9-18
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

采纳的回答

Jan
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.

更多回答(1 个)

Seyhan Emre Gorucu
Seyhan Emre Gorucu 2013-9-18
You are right:)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by