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
GetOrgChart 2.4.0
iTech Car Sell Script 2.03
ByteScout PDF Renderer SDK 8.6.0.2911
Install Package IronOcr 4.1.1
Bandcamp Clone Script 1.0
Library Management System 1.0
Password Sharing System 1.0
dbForge Monitor 1.0
Notes Management 1.0
Gantt Control VCL 3.0
Expense Management System 1.0
SOUNDIFY iTunes Clone 1.0
Advance Airbnb Clone Script 1.0.1
Bytescout BarCode Reader SDK 9.2.0.1716
IP2Location Geolocation Database 2017
Top Code
Library Management System 1.0
Extreme Injector 3.7
Human Resource Management CRM 1
Bus Booking Script 1.0.4
Skincare Management System 1.4
Online Resource Management system 0.99
Simple Hill-Climbing 1.0
Mini Paint Using Java 1.0
XSL template for JDBC Code generation 1.0
Notes Management 1.0
School Management Script 1.0.4
ChequePRO Cheque Printing writing System 1.0
JadeTower: Tutorial Code 1.0
PHPtravels 1.1
Lmure - Web Framework Made Simple 1.0
Top Rated
Get Random Record Based on Weight 1.0.0
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
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
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Readymade MLM Software 2.02
Availability Booking Calendar PHP 1.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