MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: IntegerPart

  • To: mathgroup at
  • Subject: [mg130310] Re: IntegerPart
  • From: debguy <johnandsara2 at>
  • Date: Tue, 2 Apr 2013 03:27:28 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <kjb430$8jc$>

I see it doing what you asked.  I see a square wave style graph.

What is it you want as a result?  A square wave of between 0 and 1
using FractionalPart ??

I do see your using IntegerPart on x.  That is likely unintended.
Plot Evaluates your fun at every x between 1 and nSize to get the
value (saves it in a List) and always steps by integer increment 1.
You likely wanted to apply IntegerPart to your data not give it to
Part as the index into your data.

hope that helped

  • Prev by Date: Re: IntegerPart
  • Next by Date: Re: Manipulate and Initialization
  • Previous by thread: Re: IntegerPart
  • Next by thread: Re: IntegerPart