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: 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 ]
naser

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" <slord@mathworks.com> wrote in message <hoakh1$s41$1@fred.mathworks.com>...
>
> "Walter Roberson" <roberson@hushmail.com> wrote in message
> news:hoa992$7tj$1@canopus.cc.umanitoba.ca...

> > 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 ==> sym.int 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
> slord@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>




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.