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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Simplify this solution block

CarlosRomero
14-Alexandrite

Simplify this solution block

Hello everyone,

Please look at the attached MathCad worksheet.

I would like to know if the solution block for my problem can be simplified by using the Minerr solver.

The solution block must solve for 192 equations.

Thank you so much for the time and help.

Regards,

CarlosRomero

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

How about using vectorization?

 

Werner_E_0-1695741708392.png

 

View solution in original post

4 REPLIES 4

How about using vectorization?

 

Werner_E_0-1695741708392.png

 

CarlosRomero
14-Alexandrite
(To:Werner_E)

Hello Werner,

Thank you for your input.

Appreciate your time and help.

Seems like it also works without Vectorize?

without vectorize.png

 

All the best,

Carlos Romero


Seems like it also works without Vectorize?

Yes, it does, because Mathcad applies implicit vectorization. If this works OK depends on the calculations used. E.g. if you replace Q^2 by Q*Q you will get a different, wrong result if you don't use vectorization (because Q*Q is evaluated as scalar product of the two vectors).

So its best that whenever you want vectorization (evaluating an expression with vector feed element by element) to be done, explicitly apply it and don't rely on Mathcads implicit vectorization to be done.

CarlosRomero
14-Alexandrite
(To:Werner_E)

That's great thank you for your help!

Announcements

Top Tags