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
Excel Add-in for DB2 1.7
wolfSSL 4.0.0
EntityDAC Express 2.2
SecureBridge 9.1
C# HTML to PDF 2019.6.5
PHP Ecommerce Script 3.6
Devart SSIS Data Flow Components 1.11
dbForge Data Compare for PostgreSQL 3.2.15
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
Top Code
iScripts CyberMatch 1.3
SecureBridge 8.0
dbForge Data Compare for PostgreSQL 2.0
dbForge Studio for SQL Server 5.5
Database Workbench Pro 5.6.8
PHP Ecommerce Script 1.0.4
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
ATN Resume Finder 2.0
Excel Add-in for DB2 1.1
PHP Review Script 1.0
EntityDAC Express 2.2
ICPennyBid Penny Auction Script 4.0
Azizi search engine script PHP 4.1.10
GnuWin64 64
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
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
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
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