用于数学 - 自然软件创建的C ++ vursus MATLAB。 [英] C++ vursus MATLAB for mathematical-nature software Creation.

查看:72
本文介绍了用于数学 - 自然软件创建的C ++ vursus MATLAB。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是我可以在数学数学中编写非常复杂的MATLAB程序,并且由于速度的原因,有些人告诉我现在应该用c ++编写用于创建需要速度的软件。真的是MATLAB,一个不适合设计软件的软件,速度对他们来说至关重要吗?也就是说,我是否应该忘记了以一些软件所需的速度为代价编写MATLAB程序的良好能力?这是合乎逻辑的吗?我该怎么做?

解决方案

首先...... Matlab是一个快速原型工程工具/环境。您实际上可以模拟/建模大量不同类型的事物。它本质上是一个具有大量库函数和非常好的脚本解释器的数学引擎。由于它是一个通用工具,它通常意味着帮助您快速设计,而不是真正快速运行。



在大多数情况下,编写自己的原生二进制应用程序将导致运行速度比Matlab的性能快得多,但同样,这不是Matlab的设计目标做。通常大多数使用Matlab的人会将其用于算法设计,然后将他们的设计转移到芯片(如FPGA / ASIC)或某些本机编程语言(C / C ++),但这一切都取决于他们正在设计的内容。 / BLOCKQUOTE>

My question is that I can write very complicated MATLAB programs in numerical mathematics and because of speed, some persons tell me that I should write now with c++ for creating softwares requiring speed. Is really MATLAB, a unsuitable software for designing softwares that speed is vital for them? That is, should I forget my good ability for writing MATLAB programs at the expense of speed needed for some softwares? Is it logical and right? What should I do really?

解决方案

First of all... Matlab is a rapid prototyping engineering tool/environment. You can actually simulate/model a very large number of different types of things. It's essentially a math engine with a whole lot of library functions and a very good script interpreter. Since it's a generalized tool, it's usually meant to help you design things quickly and not really to run fast.

In most cases, writing your own native binary applications will result in running quite a bit faster than the performance of Matlab, but again, that's not what Matlab was designed to do. Usually most people that use Matlab will use it for algorithm design then transfer their designs to either chips (such as FPGA/ASICs) or some native programming language (C/C++) but it all depends on what it is they're designing.


这篇关于用于数学 - 自然软件创建的C ++ vursus MATLAB。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆