School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,035 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,278 people online right now. Registration is fast and FREE... Join Now!




Matlab: Plane and line intersection

 

Matlab: Plane and line intersection

MetalheadLys

27 Sep, 2009 - 12:53 PM
Post #1

New D.I.C Head
*

Joined: 8 Feb, 2009
Posts: 4


My Contributions
Hi, I am writing a code to find the intersection of a plane and a line.

The plane is given as follows:
P: 7x+4y-7z-8=0

The line is:
d: t = (2x-1)/2 = y+1 = (3-z)/4

To start, I put the variables in terms of t. Could I get a nudge in the right direction?

CODE

x = t + 0.5;
y = t - 1;
z = -4*t + 3;


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 08:38AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month