Home > By category > Scripts >Development Tools > Orthogonal Linear Regression in 3D-space by using Principal Components Analysis

# Orthogonal Linear Regression in 3D-space by using Principal Components Analysis

• Views:
• Rating:

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.

Free download from Shareware Connection - Orthogonal Linear Regression in 3D-space by using Principal Components Analysis

Publisher: Ivo Petras | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 13-01-2013 | Rating: 0 | Title: Orthogonal Linear Regression in 3D-space by using Principal Components Analysis

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com

More downloads from Orthogonal Linear Regression in 3D-space by using Principal Components Analysis publisher Ivo Petras:

Discrete Fractional-Order PID Controller - Digital version of Fractional-Order PID Controller (DFOC) of the form: C(s) = K + Ti/s^m + Td*s^d for given sampling period Ts [sec].

Fractional Order Chaotic Systems - This toolbox contains the functions which can be used to simulate some of the well-known fractional order chaotic systems

Total Least Squares Method - We present a Matlab toolbox which can solve basic problems related to the Total Least Squares (TLS) method in the modeling.

Digital fractional-order differentiator and integrator - new IIR type - A new general IIR type digital fractional-order differentiator

Digital Fractional Order Differentiator/integrator - IIR type - A new general IIR digital fractional order differentiator/integrator based on continued fraction expansion of weighted operator which is mixed scheme of the trapezoidal (Tustin) rule and the backward difference (Euler) rule

Orthogonal Linear Regression in 3D-space by using Principal Components Analysis keywords:
Orthogonal Linear Regression in 3D-space by using Principal Components Analysis related downloads:

Non-linear regression GUI - The non-linear regression problem (univariate or multivariate) is easily posed using a graphical user interface (GUI) that solves the problem using one of the following solvers

Saturn 3D Space Screensaver - Install Saturn 3D Space Survey screensaver and make virtual spacecraft from your workplace. Observe the beautiful Saturn features along with spectacular ring system directly on your desktop.

Jupiter 3D Space Screensaver - Launch Jupiter 3D Space Survey Screensaver and transfer yourself to the orbit of this exciting planet. Discover the might and beauty of the biggest planetary object in our Solar System.

Analytical solution for Orthogonal Linear Least Squares in two dimensions - ORTHLLS2D returns the Orthogonal Linear Least Squares estimate for parameters of line a x + b y + c = 0

3D Space Screensavers 4-in-1 Bundle - The best 3D space screensavers bundle on the world wide web. 4-in-1 edition includes top quality 3D space screensavers! For all screensavers you can set your own MP3 file as a background music.Check it out yourself now and save up to 50% - \$40 Off!

Shareware Connection periodically updates pricing and software information of 'Orthogonal Linear Regression in 3D-space by using Principal Components Analysis' from company source 'Ivo Petras' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Orthogonal Linear Regression in 3D-space by using Principal Components Analysis' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Orthogonal Linear Regression in 3D-space by using Principal Components Analysis.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

Zoolz - No serious PC user needs introduction about the need to backup data, both at home and workplace. There was a time when majority of people used external HDD or storage media to backup important data. However, local data backup has its limitations ...

Focus One Mind - Technology has made life easier for humans beyond doubt but it comes with the downfalls too. The web serves as the source of entertainment, income and resource for several things for most people. However, the internet can also become a source of ...

Avid Media Composer - When it comes to professional level video editing, there are plenty of tools available for computer users nowadays. While a lot of studio professionals swear by apps like Adobe’s powerhouse software Premiere Pro and Mac users stick to Final ...

Comodo Unite - There are many ways to bypass the restrictions imposed on users by governments and ISPs for accessing specific websites and online services. One of them is using a capable VPN application. A VPN app basically lets you camouflage the real IP ...

MAGIX Video easy - Editing videos was a complicated task even a few years back and it was restricted to studios and post production areas in general. However, advancements in computer technology and advent of numerous portable video capture devices have made things ...

CyberFence - Technological innovations play a pivotal role in changing human lives but they also come with their pitfalls. Perhaps, nothing can be a bigger example of this than the web. You need the internet for education, work, monetary transactions and ...

Pixelmator - There is no denying the fact that Mac users are often left with fewer third party app choices than those who use Windows based PCs. However, when it comes to imaging, the situation is a little better. If you want a versatile image editor for Mac ...

Stellar Speedup Mac - While Macintosh computers are known for their stellar speed and multitasking prowess they also become subjected to pitfalls of usage. After prolonged use, junk files pile up and bits of installed apps remain scattered on the hard disk. These, ...

Corel Painter Lite - Corel’s graphics and illustration tools have been perennial favorites with millions of graphic designers and layout artists worldwide. While CorelDraw graphic suite is the company’s most popular app, Painter has also succeeded in ...

Honeyview

Honeyview is very fast image
and archived image viewing
software. It allows viewing of
images within an archive
without ...

Search configuration

This module has five main
functions

getting the pitch delivered to
you in the form you want to
get it delivered - in other
words ...

Model Replay

These MATLAB files serve as a
graphical user interface for
using the APMonitor moving
horizon estimation (MHE)
feature

Organic Groups - Multiple
Mandatory Groups by Role

Looking for co-maintainer. See
message in issue queue.

Area Conversion Calculator

Area Conversion Calculator
converts a types of area
measurement units to other
known units.

Generate coefficients for
Savitzky-Golay smoothing
filters

function c =
generate_savitzkyGolay_coef1D(
order,interval)

Focus Measure

This function measures the
relative degree of focus of an
image.

Time & Rate Unit Conversion
Function

Designed to supplement the
conversion functions found in
the aerospace toolbox
(aerospace toolbox not
required), CONVTIME ...

Ajax
autosuggest/autocomplete
from database

Ajax autosuggest/autocomplete
from database helps the
visitor and presents in real
time some possible results
based on ...

Vertical Folding Tabs

Vertical folding tabs are
applied with autoscroll GUI
template.

DbForms

DbForms enables developers to
build sophisticated web-based
database driven applications.