Please see GitHub Readme.
Daniel R. Herber (2021). Fast Reducing of Sample Points for 1D Linear Interpolation (https://github.com/danielrherber/reduce-linear-interp1/releases/tag/v2.0), GitHub. Retrieved .
Volodymyr, thanks for the suggestion toward improving the robustness of this submission.
Please add the following lines to the function reduce_interp_1d_linear:
X = X(:);
Y = Y(:);
This will remove error when size X is [1,N], and size Y is [N,1]
Hi Daniel, thank you for the great tool.
Thanks for the reply ! I actually think I got an error because I tried the script using R2013a :)
Thanks for your comment E. Ch3yn3t. I am not experiencing the error when using R2014a or R2015b but updated the file anyway to match the documentation.
otherwise, works pretty well :)
I get the error:
" Error using optimoptions (line 105)
'disp' is not an option for QUADPROG."
The corresponding option is "Display" I think
Inspired: Numerical Methods
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!