Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14025

Re: IntegerPart

From debguy <johnandsara2@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: IntegerPart
Date 2013-04-03 07:22 +0000
Message-ID <kjglb7$p42$1@smc.vnet.net> (permalink)
References <kjb430$8jc$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

IntegerPart dougwangsaif@gmail.com - 2013-04-01 04:57 +0000
  Re: IntegerPart debguy <johnandsara2@cox.net> - 2013-04-02 07:25 +0000
  Re: IntegerPart Peter Pein <petsie@dordos.net> - 2013-04-02 07:25 +0000
  Re: IntegerPart debguy <johnandsara2@cox.net> - 2013-04-03 07:22 +0000

csiph-web