cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Function for equally spaced points.

0 Kudos

Function for equally spaced points.

Provide a function that creates N equally spaced points between two numbers.  Something like this:

x:=eqspace(2,17.3,20)  would create a total of 20 points from 2 to 17.3.  

 

A range variable doesn't quite do this since it stops whenever the last increment gets close to the final value - and missing the last value can be vitally important.  

Granted, this can be achieved with a bit of extra typing in a range variable (using maxes, mins, etc to get the increment to be exact), but there's no reason I should have to type all that.  

So, basically add a logspace function but for linear spacing.

1 Comment
olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.