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: Error, (in int) integer too large in context
Replies: 3   Last Post: Mar 26, 2010 7:42 AM

Advanced Search

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

Posts: 61
Registered: 3/20/09
Re: Error, (in int) integer too large in context
Posted: Mar 26, 2010 7:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thank you for kind reply.

Would you please tell me how can I solve this problem and how can I optimum my program?

Best regards

"Steven Lord" <> wrote in message <hoakh1$s41$>...
> "Walter Roberson" <> wrote in message
> news:hoa992$7tj$

> > naser wrote:
> >> Hello everyone,
> >> I wrote a program for calculate of natural frequency of a cantilever beam
> >> with Rayleigh-Ritz method. This Program works with Chebychev Polynomial.
> >> But when I run this program, it has an error. Would you please help me
> >> how can I solve this problem?
> >> Error:
> >> ??? Error using ==> sym.maple
> >> Error, (in int) integer too large in context

> >
> > I haven't analyzed your code to see how big the numbers get, but generally
> > speaking, Maple has a limit of about 10^(10^9) .
> >
> > I do remember seeing "integer too large in context" before while using
> > smaller numbers... Ah yes, let's take a closer look at the error:
> >

> > > ??? Error using ==> sym.maple
> > > Error, (in int) integer too large in context
> > > Error in ==> at 39
> > > r = reshape(maple('map','int',f(:),x),size(f));

> >
> > So the error is being generated by Matlab's reshape(), not by Maple, and
> > it is basically saying that reshape cannot handle a matrix that large.

> No. Notice that there's a call to MAPLE inside that call to RESHAPE, and
> from the first line of the error message we see that it is that call, not
> the RESHAPE, that errors. MATLAB never gets to the point where it calls
> RESHAPE on the symbolic result from the map function.
> --
> Steve Lord
> comp.soft-sys.matlab (CSSM) FAQ:

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.