Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Easy CSS Menu 5.0
Bytescout PDF SDK 1.7.0.222
Kickstarter clone script 2.0.5
Indiegogo Clone 3.0
Mercato 1.0
Readymade PHP Classified Script 3.3
Udacity Clone Script 1.20
PHP News Script 1.0.5
Exe Guarder 4.14
dbForge Search 2.2
EaseClouds Virtual File System SDK 2.1.1.2
dbForge SQL Decryptor 3.1
Fortune Gigs Script 2.03
Pricing Plans and Subscription Payment Script 1.0
PHP Image Resize Script 1.0
Top Code
Easy CSS Menu 5.0
Billing System 1.0.1
PHP Image Resize Script 1.0
Image Edge Detection Using Ant Colony Optimization 1.0
Matlab Face Detection using classifiers and adaptive boosting 1.0
Udacity Clone Script 1.20
Chatbot widget 1.0.0
Java-2-Pseudo 1.0
Exe Guarder 4.14
dbForge Search 2.2
Best Spotify Clone 1.0
School Management Script 1.0.4
CONVOLUTION IN MATLAB WITHOUT USING conv(x,h) 1.0
SvQrBarcode
ASIO Proxy
Top Rated
PHP Image Resize Script 1.0
Jango Clone Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Sine Wave Using JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
Orthogonal Linear Regression in 3D-space by using Principal Components Analysis 1.0
File ID: 81659






Orthogonal Linear Regression in 3D-space by using Principal Components Analysis 1.0
Download Orthogonal Linear Regression in 3D-space by using Principal Components Analysis 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 23
User Rating:2 Stars  (1 rating)
Submit Rating:
Orthogonal Linear Regression in 3D-space by using Principal Components Analysis 1.0 Description
Description: Orthogonal Linear Regression in 3D-space by using Principal Components Analysis

This is a wrapper function to some pieces of the code from the Statistics Toolbox demo titled "Fitting an Orthogonal Regression Using Principal Components Analysis"
(http://www.mathworks.com/products/statisti...thoregdemo.html),
which is Copyright by the MathWorks, Inc.

Input parameters:
- XData: input data block -- x: axis
- YData: input data block -- y: axis
- ZData: input data block -- z: axis
- geometry: type of approximation ('line','plane')
- visualization: figure ('on','off') -- default is 'on'
- sod: show orthogonal distances ('on','off') -- default is 'on'

Return parameters:
- Err: error of approximation - sum of orthogonal distances
- N: normal vector for plane, direction vector for line
- P: point on plane or line in 3D space

Example:

>> XD = [4.8 6.7 6.2 6.2 4.1 1.9 2.0]';
>> YD = [13.4 9.9 5.8 6.1 6.7 10.6 11.5]';
>> ZD = [13.7 13.1 11.3 11.8 12.5 16.2 18.5]';
>> fit_3D_data(XD,YD,ZD,'line','on','on');
>> fit_3D_data(XD,YD,ZD,'plane','on','off');

Note: Written for Matlab 7.0 (R14) with Statistics Toolbox

We sincerely thank Peter Perkins, the author of the demo, and John D'Errico for their comments.

License: Shareware

Related: normal, Error, Vector, plane, Point, direction, return, Distances, 039on039039off039, figure

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 23



More Similar Code

How To Cache in ASP.NET by Using Visual C# .NET is an ASP.NET article which explains about the methods involved to cache web pages and arbitrary objects in the server memory. In this article author explains about various steps involved in storing the cached web pages, data and the part of a page in server, proxy server and on the browser.



A script containing the methods used to develop a principal components analysis in MATLAB is presented. The results are analyzed and plotted in different ways in order to interpret the information. The script is presented in Spanish and English....



How To Call SQL Server Stored Procedures in ASP.NET by Using Visual Basic.NET is an article which briefly explains the method of creating and executing the stored procedures of the Sql Server database in ASP.NET. The article demonstrates it by...



How To Control Page Output Caching in ASP.NET by Using Visual C# .NET is a web based tutorial in which author discusses about the methods involved in executing output caching technique. Here the author describes about the method involved to...



How To Perform Fragment Caching in ASP.NET by Using Visual C# .NET is an article in which author demonstartes about the method involved in caching the users controls with in a web form, which termed as fragment caching. Here the author describes...



HOW TO: Create a Summary Row for a DataGrid in ASP.NET by Using Visual Basic .NET is an interesting article in which the author briefly describes about creating a summary row in the datagrid control using Visual Basic.NET. This article clearly...



HOW TO: Create a Summary Row for a DataGrid in ASP.NET by Using Visual C# .NET is an article that describes step-by-step process of creating a summary row in the datagrid control in ASP.NET. In this article the author explains the procedure with...



HOW TO: Create a Web Control with an Expandable Property in the Designer by Using Visual Basic.NET is a tutorial in which the author shows the step-by-step process of creating a custom web control and adding the expandable property to it using the...



HOW TO: Implement Key-Based Dependencies for Data Caching in ASP.NET by Using Visual C# .NET is a web based tutorial that deals with caching data technique using key based dependencies to cache data from the server. Here author discusses about...



[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,...

User Review for Orthogonal Linear Regression in 3D-space by using Principal Components Analysis
- required fields
     

Please enter text on the image