Help with Plotting a 1D Matrice in MathCAD 14

AI Thread Summary
The discussion centers around troubleshooting a plotting issue in MathCAD 14, where the user encounters an error message stating "this value must be real." The problem arises from an unspecified index in the user's matrix. A solution is suggested to remove the index "abi" from the matrix definition and ensure that the variable "i" is properly defined before the matrix is created, as MathCAD may misinterpret "i" as the imaginary unit if not defined correctly. Additionally, it is recommended to provide more context by sharing the worksheet or additional details, as this can help identify issues more effectively. The user confirms that the problem is resolved after following the advice given.
Uku
Messages
79
Reaction score
0
Hello!

I'm having the following problem;
[PLAIN]http://www.hot.ee/jaaniussikesed/probleem_graafik.jpg

I try to plot a 1D matrice with a sequence, or a 1D matrice and I get a result that "this value must be real". Now... what!?

I am using MathCAD 14.

Help is much appreciated,
Uku
 
Last edited by a moderator:
Physics news on Phys.org
Uku said:
I try to plot a 1D matrice with a sequence, or a 1D matrice and I get a result that "this value must be real". Now... what!?

I am using MathCAD 14.

Help is much appreciated,
Uku

I see your matrix has an unspecified index "abi".
Remove the index "abi" from M, and it should work a lot better.
I'm assuming you want i to iterate over the values in M.

Also, if you want to do something with i in the definition of M, you need to make sure i is in the document before M, otherwise MathCAD will think i is the imaginary number sqrt(-1).

[Edit]How did you define i? Did you type i:1;12 (which is the proper way)?[/Edit]

If you really want, you can put an index "abi" in as just a name without symbolic function.
To do this I believe you need to type M.abi instead of M[abi.
 
Hoi!

Thanks for the reply, the problem is solved.


Uku
 

Attachments

  • Bez tytu?u.png
    Bez tytu?u.png
    5.6 KB · Views: 1,343
Last edited:
dawidk89 said:
Hello

Help me !
My mathcad all the time show THIS VOLUE MUST BE REAL. This is my equation:
https://www.physicsforums.com/attachment.php?attachmentid=52208&stc=1&d=1350934907


THX for help

I can't see the entire plot to try and work out what you've done ... posting a worksheet as well as an image is generally helpful as several problems are not obvious from just a screenshot (also saves respondents typing things in). Try plotting F(10) against F(10), or assiging F(10) to a variable and plotting that using a standard range variable technique.

See attached Mathcad 11 format file.

attachment.php?attachmentid=52213&stc=1&d=1350941057.jpg
 

Attachments

Excognito Thanks for your help
 
Kein Problem.
 

Similar threads

Replies
1
Views
7K
Replies
1
Views
2K
Replies
4
Views
4K
Replies
3
Views
9K
Replies
3
Views
7K
Back
Top