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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

Plotting difficulty

thodij
5-Regular Member

Plotting difficulty

Error message when plotting:

"These array elements must be scalars. They cannot be vectors or matrices."

How can this be fixed?

Using Mathcad Prime 10.0.1.0

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald IV
(To:thodij)

In your plot, change rho (before max_proof) to sigma and it should work.

The rho is not defined, you defined sigma....

 

Success!
Luc

View solution in original post

4 REPLIES 4
LucMeekes
23-Emerald IV
(To:thodij)

In your plot, change rho (before max_proof) to sigma and it should work.

The rho is not defined, you defined sigma....

 

Success!
Luc

thodij
5-Regular Member
(To:LucMeekes)

Thank you, Luc - It was such a silly mistake on my part. Thanks for noticing it, and appreciate your feedback.

Werner_E
25-Diamond I
(To:thodij)

Yo get a smoother plot if you define sigma as a function of "t" rather than a vector of a few values.

Werner_E_0-1753386685655.png

 

thodij
5-Regular Member
(To:Werner_E)

Werner, thank you for enlightening me on this, and for caring about this plotting question. The PTC community is wonderful!

Announcements

Top Tags