Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.080.212 Times

circlefit3d - fit circle to three points in 3d space 1.0

  Date Added: April 18, 2013  |  Visits: 267

circlefit3d - fit circle to three points in 3d space

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



[center,rad,v1,v2] = circlefit3d(p1,p2,p3)This function computes centers and radii of circles, that interpolate some given triples of points in 3d space.The function accepts the input of matrices of trial points also, returning a matrix of corresponding centroids and a vector of corresponding radii. Corresponding points are assumed to be located in the same row in each matrix p1, p2 and p3.Several error checks are done (collinearity, size of inputs) and return different error codes in return argument rad.The function uses vector algebra only, is fully vectorized and should run quite fast.Additional outputs are basis vectors v1 and v2 to describe the plane of the resulting circle.Check:p1=rand(4,3);p2=rand(4,3);p3=rand(4,3);[center,rad,v1,v2] = circlefit3d(p1,p2,p3);plot3(p1(:,1),p1(:,2),p1(:,3),'bo');hold on;plot3(p2(:,1),p2(:,2),p2(:,3),'bo');plot3(p3(:,1),p3(:,2),p3(:,3),'bo');for i=1:361, a = h(i)/180*pi; x = center(:,1)+sin(a)*rad.*v1(:,1)+cos(a)*rad.*v2(:,1); y = center(:,2)+sin(a)*rad.*v1(:,2)+cos(a)*rad.*v2(:,2); z = center(:,3)+sin(a)*rad.*v1(:,3)+cos(a)*rad.*v2(:,3); plot3(x,y,z,'r.');endaxis equal;grid on;rotate3d on;

Requirements: No special requirements
Platforms: Matlab
Keyword: Additional Algebra Fully Inputs Outputs Return Vectorized
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


CIRCLEFIT3D - FIT CIRCLE TO THREE POINTS IN 3D SPACE RELATED
Development Tools  -  External I/O and State Information Block 1.0
Some have asked how a list of inputs, outputs and states in a model can be generated. This is one way to do it. Just add the block to your simulink model and start the code generation. The block won't affect simulation or other generated files....
10 KB  
Scientific and Engineering  -  Groebner 1.0
Each file is commented and has helpful information about the inputs, outputs and algorithms used. Requirements: - MATLAB 7.8 or higher
 
Development Tools  -  Track, Collect And Tar Inputs And Outputs 1.0
main executing reference usage: usage_directAndTarOutputs.mThe objective is to illustrate status tracking and collation of inputs and results. The package is tar'red in preparation for sending, such as in...
51.2 KB  
Development Tools  -  cellSearch 1.0
%%%%Purpose:%%The purpose of this function is to search through a cell for certain%%elements%%%%How it works:%%This function works by iterating through all of the elements in a cell,%%checking if they are what you are looking for. Once it does...
10 KB  
Libraries  -  TWUsb 2.4
A Java USB Interface for a K8055 Board. The Framework include a ANT Task and Sampel for JAVA language. The K8055 interface board has 5 digital input channels and 8 digital output channels. In addition, there are two analogue inputs and two...
1.29 MB  
Development Tools  -  Bond graph add-on block library BG .2.1
Abstract:A customizable add-on library with a small number of blocks for the graphical programming of Bondgraphs is provided.Why Bondgraphs?Energy domain independently Bondgraphs are excellent power flow diagrams for process models [see A....
2.94 MB  
Development Tools  -  MATLAB simulation of fixed-mass rigid-body 6DOF 1.0
SIXDOF Calculate aircraft fixed-mass rigid-body six-degrees-of-freedom equations of motion using MATLAB ODE45 solver. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Inputs: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Forces = 3x1 vector of forces in...
10 KB  
Development Tools  -  Writing MATLAB C/MEX Code 1.0
Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB. This article is a guide to getting started and performing practical tasks as well as a reference.Contents:* Introduction* Getting...
245.76 KB  
Development Tools  -  Fast EM_GM 1.0
EM_GM_fast is the modified version of EM_GM (EM algorithm for k multidimensional Gaussian mixture estimation) for speed enchancement suggested by Mr. Michael Boedigheimer. The functionalities of EM_GM_fast and EM_GM are identical.Note: EM_GM_fast...
10 KB  
Development Tools  -  Complex Function Grapher 1.0
-Graphs user-inputed functions of a complex square input array-Helps with visualization of complex numbers and complex functions-User gives limits (e.g. [-3,3] and [-3i,3i]) of the input square array and the number of points between the...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB