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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

7-Bedrock

## This value must be a scarlar or a matrix.

Dear Expert Persons in PTC Mathcad Prime,

I am sending this for lookin' for any helps form all of you. I am jut a beginner of Mathcad Prime. Anyway, I try it so many times but it came up like this error, eventually. Any clues of Mathcad operation please kindly show me in the the file below.

PS: This is just my practice following the torturing from the website.

I am here for hearing from all of you.

Thank You.

Best Regard.

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:Leakchhayvat)

You should use Primes rudimentary error tracing facility.

Left click the incorrect expression and on the calculation ribbon menu chose "First" in the error tracing section. This brings you to

b.0 is a function with three arguments and those arguments are missing here. But I guess that the function is wrong in that place anyway as it would yield a length and this would result in a unit mismatch. Could it be that it should simply be beta(C.x,X.y)?

Furthermore you will have to use vectorization and your objective function is not unit balanced.

See my remarks in the attached worksheet.

2 REPLIES 2
24-Ruby V
(To:Leakchhayvat)

You should use Primes rudimentary error tracing facility.

Left click the incorrect expression and on the calculation ribbon menu chose "First" in the error tracing section. This brings you to

b.0 is a function with three arguments and those arguments are missing here. But I guess that the function is wrong in that place anyway as it would yield a length and this would result in a unit mismatch. Could it be that it should simply be beta(C.x,X.y)?

Furthermore you will have to use vectorization and your objective function is not unit balanced.

See my remarks in the attached worksheet.

7-Bedrock
(To:Werner_E)