Skip to main content
1-Visitor
January 18, 2018
Solved

Indexing

  • January 18, 2018
  • 2 replies
  • 9189 views

Hi,

 

I am using MC Prime 3. I am trying to see if it is possible to interpret various points using indexes as per the attached. 

 

Basically I have defined various matrixes and interpreted lines between them as a function of z. Then I have used solve blocks to find the z value when the two lines interpreted from my matrixes meet. However, as I am doing many iterations of the same thing I want to know if it is possible using indexes or if there is a better approach? I have never got into MC Programming but guess that might be an approach?

 

Thanks,

 

Andy.

Best answer by Werner_E

See if the attached file helps!

 

2 replies

24-Ruby IV
January 18, 2018

May be so

Zi.png

awibroe1-VisitorAuthor
1-Visitor
January 18, 2018

Hi Valery, 

 

That is really interesting! I think that solves my initial problem. as outline. Could you take this a step further. Where I want to interpolate ST with the WL values but I have multiple sets of WL as the attached.

 

Cheers,

 

Andy.

24-Ruby IV
January 18, 2018

@awibroe wrote:

Hi Valery, 

 

That is really interesting! I think that solves my initial problem. as outline. Could you take this a step further. Where I want to interpolate ST with the WL values but I have multiple sets of WL as the attached.

 

Cheers,

 

Andy.


In Prime 4 all ok. In Prime 3.1 I have your error.

Werner_E25-Diamond IAnswer
25-Diamond I
January 19, 2018

See if the attached file helps!

 

awibroe1-VisitorAuthor
1-Visitor
January 19, 2018

Thanks guys,

 

Many possibilities. I will look through these at the weekend.

 

I also feel like it is about time I start dabbling in programmes. Any advice on where to start? Are the standard help files any good at learning programming in MC?

 

Cheers,

 

A

 

 

25-Diamond I
January 19, 2018

awibroe wrote:

I also feel like it is about time I start dabbling in programmes. Any advice on where to start? Are the standard help files any good at learning programming in MC? 


Most what I know about Mathcad I learned from the help and from this forum (and of course by trial and error). But it was a better help (Mathcad 15 and below) and a better forum (the good old Mathcad collab).

Even though the help in Prime was simply converted from Mathcad 15 in great parts, I find the look and feel mediocre and navigation cumbersome. But just give it a try and if you get stuck come here and ask.

I still use Mathcad 15 as I find it much superior and powerful compared to Prime  ans mainly use Prime only for answering questions here. So maybe you find the help in Prime helful anyway.

I just found some older Prime sheets from PTC which should still open with Prime 3.0. Note sure if they are useful - give it a try ad judge yourself:

https://community.ptc.com/t5/PTC-Mathcad-Questions/Programming-in-PTC-Mathcad-Prime-3-0/m-p/449820#M175983

https://community.ptc.com/t5/PTC-Mathcad-Questions/Calculate-and-Communicate-with-PTC-Mathcad-Prime-3-0/m-p/449240#M176779