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: Speed up fairly short code
Replies: 9   Last Post: Jul 17, 2013 4:48 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,893
Registered: 12/7/04
Re: Speed up fairly short code
Posted: Jul 16, 2013 6:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Tuesday, July 16, 2013 8:27:11 AM UTC+12, Kobye wrote:
> I have a code (script) of 462 lines. In parts, it uses the symbolic toolbox. It also makes calls to 3 other functions that I have written, that are already highly efficient.
>
>
>
> The code is a mechanical model (theory of elasticity) that describes two plates joined by adhesive. The model is very elegant in its formulation, but currently it is way too slow. I have the option of either discarding it, or massively speeding it up. I have reason to believe that large speed increases are feasible (similar models exist and have been used for sensitivity analyses in the literature).
>
>
>
> If anyone would like to help me find ways to speed it up, your help would be immeasurably appreciated. I will send you the code privately as I don't necessarily want it in the public domain.
>
>
>
> Kobye
>
>
>
> PS the main bottlenecks seem to be symbolic integrations of my Bernstein basis polynomials. I think that maybe the code could be sped up here by using the Matlab poly options, but I am totally unfamiliar with these.


This:
>The model is very elegant in its formulation, but currently it is way too slow.
seems like an oxymoron.



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.