Histc is still there. You can still use it. If you are worried that it will disappear on you (which will probably not happen for a few years yet, they do these things slowly and give you plenty of warning) then read the help for histc. That help tells you to use histcounts instead.
lookin for x(k)<u<=x(k+1)
2 次查看(过去 30 天)
显示 更早的评论
Dear;
In matlab there is a function that could be used to locate the inverval (defined by a monotic incresing sucesion x(k)) where a variale u lies (<http://blogs.mathworks.com/loren/2008/08/25/piecewise-linear-interpolation/)>:
[k,k]=histc(u,x); % Gives k: x(k)<=u<x(k+1)
Is there a simple, like before, for looking the interval with condition x(k)<u<=x(k+1)
Thanks in advance;
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!