Help with Plotting a 1D Matrice in MathCAD 14

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues related to plotting a 1D matrix in MathCAD 14. Participants share their experiences and seek solutions to the error message "this value must be real" encountered during the plotting process.

Discussion Character

  • Technical explanation, Debate/contested, Homework-related

Main Points Raised

  • One participant, Uku, describes encountering an error when attempting to plot a 1D matrix and seeks assistance.
  • Another participant suggests that the issue may stem from an unspecified index "abi" in the matrix and recommends removing it for better results.
  • The same participant advises ensuring that the variable "i" is defined correctly before the matrix to avoid confusion with the imaginary unit.
  • A different participant expresses a similar issue with the same error message and shares a link to their equation for further assistance.
  • Another participant suggests that sharing a worksheet along with images could be beneficial for diagnosing problems more effectively.

Areas of Agreement / Disagreement

Participants generally agree on the nature of the error and the importance of variable definitions in MathCAD, but there are multiple approaches suggested for resolving the issue, indicating that the discussion remains somewhat unresolved.

Contextual Notes

Some limitations include the lack of clarity on the specific definitions and configurations used in the participants' MathCAD setups, as well as the potential for multiple underlying issues contributing to the error message.

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,388
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 ·
Replies
1
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
5K
  • · Replies 6 ·
Replies
6
Views
12K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
10K
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
8K