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

Why the extra zeros?

MarkBuckton
4-Participant

Why the extra zeros?

Why are the extra zeros being appended to the array? Note the original function output starts 0.379m. My idea was to create a new array of values when the level gets over 1 m in height. Although I also tested to exclude zero the program block seems to ignore this restraint and append zeros to the resulting array. Why is this and can these zeros be removed because what I want is only the output values above 1 m.

Thanking you in advance.

Kind regards, Mark

1 ACCEPTED SOLUTION

Accepted Solutions
MikeArmstrong
5-Regular Member
(To:MarkBuckton)

5 REPLIES 5
MikeArmstrong
5-Regular Member
(To:MarkBuckton)

Please upload a worksheet.

Mike you will find the programming block at the end of the worksheet.

MikeArmstrong
5-Regular Member
(To:MarkBuckton)

Mark try this

Thanks Mike

Another MathCad trick to remember.

MikeArmstrong
5-Regular Member
(To:MarkBuckton)

No problem at all Mark. I take it you understand the change.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."