Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Linear Algebra programming

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-04-2013
12:42 PM

01-04-2013
12:42 PM

For linear algebra most students find it very difficult to "visualize" three or more variables. It is so much easier to understand the solution set and linear dependence on a simple xy coordinate plane. For three variables, most college algebra books include pictures and graphs of lines and planes in 3d space. I have found it very difficult to make a graph of lines in 3d space on mathcad. They are asking for constraints and I can not simply define an function of three ordered pairs and point and click my way to a graph. The only example that even comes close (in the mathcad rescource center) is a graph of a helix. That is far to difficult for me. Can any one show an example of three lines in an xyz 3d plot?

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
01:17 PM

01-05-2013
01:17 PM

roger wells schrieb:

Valery and Werner . . .thankyou for these examples. I see now that I have considered a function like f(x) to be the same as f(x,y) when in fact one is a curve and the other is a surface (or plane). If I want lines then I am going to need to do some review of vectors and the calculus of space geometry.

That sure would help 😉

A straight line in 3D can either be described by a parametric representation (like the helix, you mentioned) or via a system of two linear equations in x,y and z (that is a the intersection of two planes).

In the attached file I've tried to make it easier to deal with points, line segments and straight lines in Mathcads 3D graph. 3D graph is able to plot points and you may chose that you want it to connct it with lines. This is what my function "Strecke" does - you call it with two vectors (representing the two endpoints of the line segment) as parameters and it returns an expression which you can put in the placeholder of a 3D-graph and you should see a line segment. Unfortunately you will have to format the graph (data point, check chekbox lines, otherwise you will only see the two small points). In the attached file I have added a function for a "real" infinite straight line. This has to be formated as surface plot, not Data points.

But to be honest, Mathcads 3D functionality is not really top notch for your purpose.

I have saved the file in Mathcad 11 format, but I doubt that your Mathcad 2000 will be able to read it.

If you think that a screenshot of the functions or a pdf printout will help, give me a shout.

21 REPLIES 21

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-04-2013
01:36 PM

01-04-2013
01:36 PM

Re: Linear Algebra programming

Put the points you want into a matrix with three columns (for x, y, and z points). Plot it on a 3D plot. By default, you will get points. If you want a line, under the Plots tab, pick Styles, choose your Line Style to include a line. Default will be (none). Is this what you mean?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-04-2013
01:46 PM

01-04-2013
01:46 PM

Re: Linear Algebra programming

Thankyou, I am on a library computer so will have to go home and investigate this.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-04-2013
03:33 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-04-2013
07:34 PM

01-04-2013
07:34 PM

Re: Linear Algebra programming

Thats Prime? Behaviour is different in MC15

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
01:37 AM

01-05-2013
01:37 AM

Re: Linear Algebra programming

One Mathcad illustration of the main linear algebra theorem (from Wikipedia).

**Rouché–Capelli theorem** is the theorem in linear algebra that allows computing the number of solutions in a system of linear equations given the ranks of its augmented matrix and coefficient matrix. The theorem is known as **Kronecker–Capelli theorem** in Russia, **Rouché–Capelli theorem** in Italy, **Rouché–Fontené theorem** in France and **Rouché–Frobenius** theorem in Spain and many countries in Latin America.

A system of linear equations with variables has a solution if and only if the rank of its coefficient matrix *A* is equal to the rank of its augmented matrix [*A*|*b*]. If there are solutions, they form an affine subspace of of dimension *n* − rank(*A*). In particular:

- if
*n*= rank(*A*), the solution is unique, - otherwise there are infinite number of solutions.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
08:29 AM

01-05-2013
08:29 AM

Re: Linear Algebra programming

Valery has shown how to graph planes, but as you asked for lines in 3D space i thought the attached would help.

Unfortunately the formatting (checkbox "lines" is not activated on default, etc.) cannot be done parameter driven but has to done manually.

You did not specify if you are interested in Mathcad15 or Mathcad Prime. The attched information is for Mathcad 15.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
11:12 AM

01-05-2013
11:12 AM

Re: Linear Algebra programming

H264 encoding animations give better results and a video file is 16 times less.With the same quality.Upload is very fast.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
11:22 AM

01-05-2013
11:22 AM

Re: Linear Algebra programming

Better to use PlanetPTC Video for animation - http://communities.ptc.com/community/mathcad?view=video

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

01-05-2013
11:33 AM

01-05-2013
11:33 AM

Re: Linear Algebra programming

Jan Kowalski schrieb:

Sorry, but H264 seems not to be installed on my machine - at least there no option to chose. From the list of available codecs MicrosofVideo1 was the only which give not an error (can not initialize videostream). Guess these are installed decoders and not encoders.

Top Tags