×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

# Contact US

Log In

#### Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
To Your Posts
• Keyword Search
• One-Click Access To Your
Favorite Forums
• Automated Signatures
On Your Posts
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

# To much points for mathcad 2000???

 Forum Search FAQs Links MVPs

## To much points for mathcad 2000???

(OP)
I want to calculate a graph in very small stepps. It seems it is to much for mathcad because I allways get the error that it is not possible to plot so many points. Is there anywhere a way to change the amount of possible points?

Cheers

### RE: To much points for mathcad 2000???

How many points did you need?

TTFN

### RE: To much points for mathcad 2000???

(OP)
Well, as more points as better is the calculation. At the moment I think mathcad allows abaut 300000-500000 points but I want to go 2 till 4 times higher.

### RE: To much points for mathcad 2000???

Since there is nothing that I know of that would allow you to resolve an individual data point on such a plot, perhaps you're using plot to solve some problem completely unrelated to plotting?

TTFN

### RE: To much points for mathcad 2000???

(OP)
Well, I have a complicate function with some very sharp and steep peaks. The only interesting thing is the value right at the top of the peaks. If I set the steps of calculation to big, maybe I get one value of the peak but at the next step the calculation is allready behind the peak. Mathcad is not able to deviate this function so I can´t calculate the position of the peaks to get only the value of these points.

### RE: To much points for mathcad 2000???

Seems to me that there are two alternate solutions:

1) animate the plot with the desired step size tied to the animation frame number.  This would result in a sequence of plot slices that you can view with adequate magnification and speed.

2) write a program to peak find

TTFN

### RE: To much points for mathcad 2000???

I'd use MathCAD to sort out the peaks.

Something like (in pseudo code)
j=0
for i = 1 to (numpoints in data array)-1
if data(i)>(i-1)and data(i)>data(i+1) then
j=j+1
peaks(j)=data(i)
endif
next i

To do this in an older version of mathcad may need a bit of finagling but I'm sure it is possible since it is the kind of thing I used to do all the time.

Hey, as a general point can people please identify which version they are using when they ask a question?

Cheers

Greg Locock

### RE: To much points for mathcad 2000???

I've figured it out for the early versions, go to http://www.geocities.com/greglocock/index.html
hit gallery, and it is most of the way down.

This is a general method, using an array of indirection pointers.

Many apparently iterative problems are solvable in early versions of mathcad using arrays of pointers, but they are not intuitive, to this little black duck at least.

Cheers

Greg Locock

### RE: To much points for mathcad 2000???

(OP)
Well, I have done it with program and it works fine. At the moment I get the position and the value of the peak in a field. Now the next problem comes up.. I want the hole function depending on parameter. The amount of peaks, the value and the position would depend on this parameter.
But k(x)_i(x) is not possible. "_" is standing for index. How can I go around this problem? Its the first time I´m using mathcad, so one problem apears after the other... With a matrice the amount of peaks could only go up to 100 as far as I know.

Thanks for helping me! Rob

### RE: To much points for mathcad 2000???

Could you post your file somewhere, and an explanation of the problem?
What is your definition of a hole function?

k[x,i[x should be legitimate, I think, although as written i can see you'd need to generate a 2d array of pointers.

Cheers

Greg Locock

### RE: To much points for mathcad 2000???

(OP)
For example:

d:=2
a(x):=x^2
i:=1..a(d)
k_i:=d/2

k_i=
1
1
1
1

This is ok in mathcad, but if I want k and i depending on d it is not possible.

a(x):=x^2
i(d):=1..a(d)     this is not allowed
k(d)_i(d):=0.5d   and so is this also not ok.

Maybe I could live with this version:

a(x):=x^2
i:=1..3
k(d)_i:=0.5d

but why is it not ok??? Any way to fix it???

### RE: To much points for mathcad 2000???

i(d):=1..a(d)     this is not allowed

Because you are trying to set each individual element of i to a range. Each element of i can only be a number.

"k(d)_i(d):=0.5d   and so is this also not ok. "

Don't know why that doesn't work if i(d) is just a number.

Cheers

Greg Locock

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

### Reply To This Thread

#### Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!

Already a member? Close this window and log in.