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: loading of TriScatteredInterp object very slow
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 49
Registered: 8/4/08
loading of TriScatteredInterp object very slow
Posted: Nov 25, 2012 10:03 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi NG,

I'm using a quite large grid for creating a interpolant (with TriScatteredInterp) that I can then sample at some other points of interest. The TriScatteredInterp object takes a while to form, so instead I decided to save it once as a .mat variable and load it instead of creating it every time I run the code. However, to load the 14.2 mb MAT file takes 34 seconds! Why is this? Forming it anew takes 35 s, so I might as well just do that every time. Loading a normal matrix from a .mat file is usually very fast..


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.