The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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

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


Angus Murray

~~~~ Angus Murray ~~~~~~~~
~~~~ Condition Monitoring Research Group,~~~~~~~~
~~~~ Department of Engineering, ~~~~~~~~
~~~~ University of Aberdeen. ~~~~~~~~
~~~~ Tel: 01224-272986. Fax: 01224-272986~~~~~~~~
~~~~ ~~~~~~~~

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.