Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Engineering Programming Problem Posted by shcoolj on 16 Feb 2013 at 5:21 AM
Hello All,
I was basically thinking of designing a machine consisting of a nozzle, filling two gels simultaneously into a bottle, such that one of the gels obtains a double helix pattern inside the other gel. I realize the machine will have to move in and out of the bottle, and would therefore require control systems, and so will the system rotating the bottle. So, I basically need to bring about a straight forward vertical movement, as well as a rotatory movement that will give a double helix pattern.

The parametric equations for a helix are
x=rcos(θ)

y=rsin(θ)

z=aθ

where θ is the angle the point (x,y,z) makes with the x-axis (projected to the xy-plane) and a is a constant. Since a point on the "double helix" has two different z values for a given x, y value, z you cannot expect to write it as a single function by as two distinct functions.

Given we have the equations for the movements, how do we actually implement these equations into a programme in Matlab, to give us the required motion? Any suggestions would be greatly appreciated. Thanks so much for your time.
Cheers



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.