Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: MATLAB Compiler and C Math Library
Replies: 1   Last Post: Jul 8, 1996 3:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mr. Angus Murray

Posts: 1
Registered: 12/11/04
MATLAB Compiler and C Math Library
Posted: Jul 5, 1996 8:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

We have just got a copy of the MATLAB compiler and C Math Library for our
UNIX workstation. The main reason was in an attempt to increase the speed
of some code we have.

I tried it all out on a command in the Hi-Spec toolbox, called bispecd.m
which took 40 seconds to run as a m file, 50 as a mex file and 70 seconds
as a stand-alone C application. The code is highly vectorised, and needs
complex values......

Heres the question!!! Does anybody know if by rewriting the code to use
nested loops instead of vectorised code, will the resulting C stand-alone
executable (generated with the compiler) be faster than everything
else????

I tried the optimizations that were mentioned, namely bounding of
matrices, but there was little improvement.

Any ideas on how to speed-up this code

Thanks

Angus Murray

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ Angus Murray ~~~~~~~~
~~~~ Condition Monitoring Research Group,~~~~~~~~
~~~~ Department of Engineering, ~~~~~~~~
~~~~ University of Aberdeen. ~~~~~~~~
~~~~ Tel: 01224-272986. Fax: 01224-272986~~~~~~~~
~~~~ http://www.eng.abdn.ac.uk/cmrg ~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.