Skip to main content
1-Visitor
March 6, 2012
Solved

this value must be real

  • March 6, 2012
  • 2 replies
  • 9584 views

Hello everyone,

My graphics don't to display because i have the errors :

this value must be real

And the second error is :

all evaluations resulted in iether an error or a complex result

Can you to help me , please.

Thank you in advance.

Best answer by Fred_Kohlhepp

simple

2 replies

12-Amethyst
March 7, 2012

Hello Olivier,

I'm not sure what your calculation is trying to produce but when you look at the values returned from the TF191 function all have a complex component & the graaph plotting routines cannot understand what to do.

One option may be to use the Re(...) function which returns only the real component.

Obviously this does lose information - so may not be the correct method

Hope this helps

Andy

1-Visitor
March 7, 2012

This variable is undefined :

Do you can to help me ?

Thank you very much

Olivier

1-Visitor
March 7, 2012

There was a problem in the definition of tpas. Since Nx = 0, tpas has values of 0 and -1, and -1 can't be used as a matrix subscript. H8 calculates imaginary values, so there is still a problem there.

23-Emerald I
March 7, 2012

this value must be real

Your function is TF191(f,tpas2), and you're plotting against tpas2. But f is a vector with many different values. If you piick one, that error goes away. (Mathcad learned error messages from Microsoft; the message is,"There's an error here, good luck.")

all evaluations resulted in iether an error or a complex result


Mathcad can't plot an imaginary result, but you can plot the real part and the imaginary part.(Usually one of them is what you want.)

1-Visitor
March 7, 2012

My question is : How to plot a frequency of 50MHZ ans a frequency of 50.05MHz ?