用于数值分析的 iOS5 Objective-C 库或 GNU Octave 包装类?
我正在使用卡尔曼滤波器进行一些数值估计和校正,并且希望更好地估计 Q 和 R 参数,最好是动态估计。 http://en.wikipedia.org/wiki/Kalman_filter#Estimation_of_the_noise_covariances_Qk_and_Rk
那篇文章提到了这一点GNU Octave是目前最好的从数据确定这些参数的方法: http://en.wikipedia.org/wiki/GNU_Octave#C.2B.2B_integration 不幸的是它是为 Matlab 编写的,并且据说有一个 C++ 实现。 我的 C++ 能力非常弱,甚至不知道如何导入 C++ 库并在 XCode 中正确链接它。迄今为止我的所有 C++ 库都已包装在第 3 方 Objective-C 类中。
有人在 iPhone 上使用 C++ 实现进行科学计算或工程应用吗?如果有任何有关如何使用 Objective-C 进行此类分析的指示或教程,我将不胜感激。
附加关键字: 根据数据估计协方差 自
协方差 最小二乘 (ALS) 技术
噪声协方差
谢谢!
I'm doing some numerical estimation and correction with the Kalman filter, and would like to better estimate my parameters of Q and R, preferably dynamically.
http://en.wikipedia.org/wiki/Kalman_filter#Estimation_of_the_noise_covariances_Qk_and_Rk
That article mentions that GNU Octave is currently the best way of determining these parameters from data:
http://en.wikipedia.org/wiki/GNU_Octave#C.2B.2B_integration
Unfortunately it is written for Matlab, and there's supposedly a C++ implementation. I'm very weak in C++ and would not even know how to import a C++ library and link it properly in XCode. All of my C++ libraries to date have been wrapped in 3rd party Objective-C classes.
Has anyone used the C++ implementation for scientific computing or engineering applications on iPhone? I'd appreciate any pointers or tutorials on how to do this kind of analysis with Objective-C.
Additional keywords:
estimating covariance from data
Autocovariance Least-Squares (ALS) technique
noise covariance
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道有任何这样的 C++ 库,如果您喜欢在 iOS 上进行数值分析,最好的方法是 加速框架(来自此 描述):
你需要有相当好的 C、指针、数组等基础知识,但我觉得没有办法绕过它。有一个关于如何使用这些线性代数的详细说明实现卡尔曼滤波的原语(尽管这是使用 R,所以可能对你没有多大用处)。
这是一篇关于卡尔曼滤波的帖子,很好地表达了我的观点。恐怕我认为找到卡尔曼滤波的神奇 Objective-C 包装器的机会相当低,尽管我很高兴被证明是错误的!
I do not know of any such C++ library, if you fancy doing numerical analysis on iOS, the best way to go is the accelerate framework, specifically (from this description):
You'll need a fairly good grounding in C, pointers, arrays and such though, no way around it I feel. There is a detailed description of how to use these linear algebra primitives to implement kalman filtering (although this is using R, so probably not of mush use to you).
This is a SO post on Kalman Filtering which expressed my opinion quite well. I'm afraid I think the chances of finding a magic Objective-C wrapper for Kalman Filtering are fairly low, though I would be very happy to be proven wrong!