Skip to main content
10-Marble
March 18, 2024
Solved

Plotting error - NAN

  • March 18, 2024
  • 1 reply
  • 1576 views

hi -

I'm trying to plot a function but I get an error.

Not sure how to construct this properly.

 

Any help is very welcome.

 

Best answer by IK_10956397

Great thanks that looks good now . I think I get the straight line plot if I use a log scale. I'll give that a go.

 

1 reply

DJNewman
18-Opal
March 18, 2024

So I did two things to get this to plot. This still doesn't match the image at the top, but at least you don't have error messages anymore, so it's back to you and your domain knowledge.

 

One, when you make A a function A(b', t), you need to use that full function definition every time. In your plots and in Crip(E,b',t)'s definition, you just called it "A" instead of A(b', t).

Two, I got rid of the square brackets around Crip(E,b',t)'s definition. Square brackets aren't used for parenthesis in Mathcad but will turn things into matrices (or in this case, nested matrices, which the plot doesn't like). Instead in Mathcad, just keep using even more parenthesis.

PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
10-Marble
March 18, 2024

ok thanks very much - appreciate your advice - I'll give that a go👍

IK_1095639710-MarbleAuthorAnswer
10-Marble
March 18, 2024

Great thanks that looks good now . I think I get the straight line plot if I use a log scale. I'll give that a go.