Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
• Request a Demo
• Download a Brochure
• Find out about Training
• Sign up for a Webinar
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
What can Mathcad do?
Version Comparison Chart
Mathcad for Education
Add-ons
Rave Reviews

System Requirements

Latest Information

New Features in Mathcad 14
Using Mathcad and Excel
Engineering Application
Packs

Return on Investment

Service & Support

Patches & Downloads
Chemical & Process
Engineering with Mathcad

Frequently Asked Questions
Search the Knowledge Base
Join the Discussion List
Search the List Archive
Mathcad Library

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[mathcad] Re: MathCad 3D-plot lines

Search email archive for  

[mathcad] Re: MathCad 3D-plot lines
Author: Chris Whitford    Posted: Mon, 26 Jun 2006 11:54:24 +0100
An alternative is an algebraic solution. A line in space is the solution to
a set of 2 simultaneous equations in 3 unknowns: x,y,and z. The
intersection of 2 lines (if it exists) is the solution of the set of 4
simultaneous equations formed by combining those for the 2 lines. Write
this in matrix form as AX = B (X is the vector of the 3 coordinates x,y,z).
In general this does not have an exact solution, but the least squares
solution is given by X = LB where L is the left pseudo-inverse of A. The
closeness of this solution (i.e. how close the 2 lines are to intersecting)
can be found from the residual AX - B. I'm afraid I haven't the time to
follow this through and give you a detailed solution.

Chris

At 14:47 13/06/2006 +0200, you wrote:
>I have a problem with 3D-plots.
>I want to plot several of straight lines in 3D.
>The information I´ve got is the start coordinates and the end coordinates
>for each line, given in x,y,z.
>But how will I plot them in the same plotview?
>The thing is that I want to see if any of the lines collide with eachother.


+ Chris Whitford
+ Research Fellow, University of Leicester, Space Research Centre,
+ Physics and Astronomy Department, University Road, LEICESTER LE1 7RH, UK
+ Tel: +44 (0)116 252 3496, Fax: +44 (0)116 252 2464
+ email: "chw" http://www.star.le.ac.uk/


Previous by date: [mathcad] Re: VBscript component sorts files in different order, Chris Whitford
Next by date: [mathcad] fft of multiple sets of data,  Bill E Dumke
Previous thread: [mathcad] Re: Fwd: VBscript component sorts files in different order, Paul Bragg
Next thread: [mathcad] fft of multiple sets of data,  Bill E Dumke



Ready to buy?

Mathcad: single user licence
Add to shopping basket
$ 1,195.00
Upgrade to Mathcad 14 from version 12 or 13
Add to shopping basket
$ 325.00
Upgrade to Mathcad 14 from version 11, 2001i, 2001 or 2000
Add to shopping basket
$ 425.00

Featured Downloads

Mathcad 14 demo
Mathcad 14 Brochure
Mathcad or Excel?
Mathcad Customer Story: Man B&W Diesel
Mathcad Customer Story: Stork Fokker Aerospace
Mathcad White Paper - Moving beyond the limitations of spreadsheets

Product Reviews

"Our work ranges from complex medical imaging research to large-scale mapping and diagrams and we need a tool that is able to handle anything we investigate. With Mathcad, we are able to manipulate and analyse our data quickly while at the same time documenting our work, for sharing and publication. We also use it for pilot studies conducted in support of research grant applications. It is an end-to-end tool for research and development."
Dr. Kenneth Castleman, President of Advanced Digital Imaging Research (ADIR), Houston, Texas

"Mathcad is an integral product for my work... With Mathcad, itís easy to disseminate design calculations because the documents look like real math. Thereís very little I canít do in Mathcad. The main benefits come from the format, which resemble a typed set of calculations. These programs are easier to develop by engineers and easier for others to follow and review since the logic is expressed in a familiar manner. The format is what places Mathcad head and shoulders above other programs of a similar function."
Andre Pavlov, Structural Engineer, Florida Department of Transportation
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055