file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__groupInterpolation.html
(https://i.imgur.com/6Ol8cak.png)
Description
ฟังชั่นเหล่านี้ดำเนินการ 1- and 2-มิติการสอดแทรกของ data. Linear interpolation ถูกใช้สำหรับ 1-dimensional data และ bilinear interpolation ถูกใช้สำหรับ 2-dimensional data.
file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__LinearInterpolate.html
(https://i.imgur.com/IL9kBrx.png)
Description
Linear interpolation เป็น a method of curve fitting โดยใช้ linear polynomials(ประกอบด้วยหลาย). การประมาณค่าเชิงเส้นทำงานโดยการวาดอย่างมีประสิทธิภาพเส้นตรงระหว่างสองตัวอย่างที่อยู่ใกล้เคียงและส่งคืนจุดที่เหมาะสมตามเส้นนั้น
(https://i.imgur.com/p4z5id4.png)
A Linear Interpolate function คำนวณ an output value(y), สำหรับ the input(x) โดยใช้ linear interpolation ของ the input values x0, x1( ค่าอินพุตที่ใกล้ที่สุด) และ the output values y0 and y1(nearest output values)