简体   繁体   English

用C ++实现matlab代码?

[英]Implement matlab code in C++?

I have a certain code written in Matlab. 我有一些用Matlab编写的代码。 I wanted to obtain similar results using a c++ code. 我想用c ++代码获得类似的结果。 I wanted to know whether a c++ library exists for matrix manipulations? 我想知道是否存在用于矩阵操作的c ++库? My current Matlab code consists of matrix multiplications,inverse and complements. 我目前的Matlab代码包括矩阵乘法,逆和补码。

There are dozens of linear algebra libraries for C++. C ++有许多线性代数库。 Here is another one not mentioned in the other links so far: 这是目前为止在其他链接中未提及的另一个:

http://www.alglib.net/ http://www.alglib.net/

我在类似的情况下使用过Newmat

Not sure if this would help you, or your company/university have licenses for it but matlabcoder can export your matlab code to c++ without much extra work. 不确定这是否对您有所帮助,或者您的公司/大学是否有许可证,但matlabcoder可以将您的matlab代码导出到c ++而无需额外的工作。 http://www.mathworks.com/products/matlab-coder/ http://www.mathworks.com/products/matlab-coder/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM