I tried to search online but could not find relevant formula/methods used to calculate non-linear interpolation and therefore, I'm posting this now to see if anyone implemented non-linear interpolation using Arduino before and could help me. However, Arduino doesn't have this in-built command and thus, I have to write the codes (Calculations) manually in terms of C/C++. Arbitrary dimensions are supported, but the number of dimensions must be specified as a template parameter at compile time. For interpolation on unstructured data, take a look at delaunaylinterp. Hello guys, I'm new to Arduino and if I apologize if I'm posting this under the wrong section.Ĭurrently, I'm trying to convert my MATLAB written script to Arduino codes manually and in the script, I am using an in-built command called "interp1" to perform interpolation so that I get a fixed number of samples as my output everytime I call this command. linterp is a C++ header-only library for N-dimensional linear interpolation on a rectangular grid, similar to Matlab's interpn command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |