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
Rapid PHP 2018 15.0
Bytescout BarCode Generator SDK 4.70.0.981
Data Puppy Lite (32-bit) 1.0
ProZ clone script 1.0.3
VideoCap Live Streaming SDK ActiveX 8.5
Magento Web to Print 1.0
dbForge Data Compare for MySQL 5.4
dbForge Query Builder for MySQL 4.3
ODBC Driver for NetSuite 1.2
Rapid CSS 2018 15.0
ByteScout PDF Extractor SDK 9.0.0.3079
TeeGrid for .NET 2018
HotelDruid 2.2.3
Metamill 8.2.2022
EXE Stealth Protector 4.23
Top Code
php recruitment software 1.24
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize 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
Deals and Discounts Website Script 1.0.2
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 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