由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - [转载] 请问一下有没有人比较过C and matlab写的GA的速度
相关主题
有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?How to build a C DLL from .m file?
matlab改成C++,还用了号称史上最快的fftw,结果慢了一倍Matlab一问
any body have some experience using 64bit Linux?Re: matlab和fortran计算结果不一样该相信谁
请指点:-)深夜,急!have any one compare the effectiveness of matlab and gsl?
为什么matlab慢?求教一个Matlab fortran compiler 问题
matlab question (about C mex ...)Matlab跑了两天了没有反应
Unix下运行Matlab程序另一问高手用过matlab compiler没?求助
fortran还是matlab?请问怎么让matlab能在没装matlab的高性能计算机上运行?
相关话题的讨论汇总
话题: ga话题: matlab话题: module话题: faster话题: 有没有
进入Computation版参与讨论
1 (共1页)
r*****e
发帖数: 7
1
【 以下文字转载自 Mathematics 讨论区 】
【 原文由 redtree 所发表 】
现在要用GA算个函数的极值,用matlab试了试,发现真是慢
不知道用 C的会不会快点?
从网上下了些源代码,发现看起来真是庞大。。。。有没有做过这方面的铜锈给点建议
1. 用c编的GA会不会快点?
2. 推荐一下哪里的c的源代码好用点?
bow
w**w
发帖数: 5391
2
if you use matlab as an interpreter, C is much faster for sure. But if you can
use some compiled module in Matlab, it could be even faster than C.

【在 r*****e 的大作中提到】
: 【 以下文字转载自 Mathematics 讨论区 】
: 【 原文由 redtree 所发表 】
: 现在要用GA算个函数的极值,用matlab试了试,发现真是慢
: 不知道用 C的会不会快点?
: 从网上下了些源代码,发现看起来真是庞大。。。。有没有做过这方面的铜锈给点建议
: 1. 用c编的GA会不会快点?
: 2. 推荐一下哪里的c的源代码好用点?
: bow

w**d
发帖数: 2334
3

i guess it depends on how you write your code in C.

【在 w**w 的大作中提到】
: if you use matlab as an interpreter, C is much faster for sure. But if you can
: use some compiled module in Matlab, it could be even faster than C.

w**w
发帖数: 5391
4
many code in the internet has been written very well.

【在 w**d 的大作中提到】
:
: i guess it depends on how you write your code in C.

w**d
发帖数: 2334
5
i know many module in matlab are written in c or fortran. So how could
they be faster than the original version.

【在 w**w 的大作中提到】
: many code in the internet has been written very well.
r*****e
发帖数: 7
6
would you tell me what is the diffrence between interprter and compiled module?
I just use some M. files, interpreter means 从C里面调用matlab?
thanks

【在 w**w 的大作中提到】
: if you use matlab as an interpreter, C is much faster for sure. But if you can
: use some compiled module in Matlab, it could be even faster than C.

r*****e
发帖数: 7
7
sigh, the problem is so many code in internet about GA, seems I have to try
to understand them first, so many!【 在 wwww (water) 的大作中提到: 】
1 (共1页)
进入Computation版参与讨论
相关主题
请问怎么让matlab能在没装matlab的高性能计算机上运行?为什么matlab慢?
matlab 64位系统 安装求助 没有可用的compilermatlab question (about C mex ...)
64位系统安装matlab 缺少compilerUnix下运行Matlab程序另一问
偶也问一fortran问题fortran还是matlab?
有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?How to build a C DLL from .m file?
matlab改成C++,还用了号称史上最快的fftw,结果慢了一倍Matlab一问
any body have some experience using 64bit Linux?Re: matlab和fortran计算结果不一样该相信谁
请指点:-)深夜,急!have any one compare the effectiveness of matlab and gsl?
相关话题的讨论汇总
话题: ga话题: matlab话题: module话题: faster话题: 有没有