Generating a continuous function from discrete data
显示 更早的评论
Good morning everyone,
Is there a function tha can generate a continuous function from discrete data?
In particular i have the following. I basically need a way of interpolating this values even when they jump from 179 to -180. I cannot use look up tables because they need strinctly increasing inputs and i cannot use zero or firts order holds because the data is not function of time.

采纳的回答
更多回答(1 个)
KSSV
2021-11-10
1 个投票
Read about interp1. You can interpolate your data.
类别
在 帮助中心 和 File Exchange 中查找有关 Array and Matrix Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!