Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个函数: 输入: 源范围,源值,输出范围,曲线类型(线性,平滑) 输出:输出是 根据曲线类型 转换为“输出范围”的“源值” 。 我希望我在这里有意义......有 什么想法吗? 谢谢。
对 B 样条进行一些研究。我认为这些将能够解决您的问题。或者,分段多项式插值可能就足够了。查看“C 中的数字食谱”以获取代码和示例。