Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.419.712 Times

Analytical solution for Orthogonal Linear Least Squares in two dimensions 1.0

  Date Added: September 01, 2013  |  Visits: 406

Analytical solution for Orthogonal Linear Least Squares in two dimensions

Report Broken Link
Printer Friendly Version


Product Homepage
Download (42 downloads)



ORTHLLS2D returns the Orthogonal Linear Least Squares estimate for parameters of line a x + b y + c = 0function f = OrthLLS2D(x, y)Inputs x and y must be real vectors of equal size.Output f is the real vector [a b c] where a, b and c are the estimated parameters of the linear equation.Since a more general function called LINORTFITN has already been submitted to File Exchange (ID number: 16800) in October 2007 by Mr. F. Carr, my file is supposed to be used as a brief introduction to the analytical problem in an extremely simple case.Orthogonal Least Squares Estimate on a plane, in the simple case of a linear equation, is in fact a problem that can be easily solved analytically with no approximation (see pdf file for detailed explanation). Notice that in the general multidimensional case, an analytical solution may not exist (although Mr. Carr's function is an efficient approximation of the solution).% ====================================================% EXAMPLE: HOW TO USE THE FUNCTION% ====================================================Build two series, given the linear relation y = mx + q + errorT = 1000; % number of pointsm = -1; % slopeq = 1; % interceptx = randn(T, 1); % random x valuesu = randn(T, 1); % random errory = m * x + q + u; % y = mx + q + errorf = OrthLLS2D(x, y); % estimate [a, b, c] for equation ax + by + c = 0plot(x, y, '.') % scatter plot for empirical pointshold onplot(x, [ones(T,1) x] * [-f(3); -f(1)], '*r');% plot orthogonal linear least squaresb1 = regress(y, [ones(T,1) x]); % parameters of the ordinary least squares (y as a function of x)b2 = regress(x, [ones(T,1) y]); % parameters of the ordinary least squares (x as a function of y)plot(x, [ones(T,1) x] * b1, '.g'); % plot ordinary least squares (y as a function of x)plot([ones(T,1) y] * b2, y, '.c'); % plot ordinary least squares (x as a function of y)% ====================================================See also LINORTFIT2, LINORTFITN.

Requirements: No special requirements
Platforms: Matlab
Keyword: Build Efficient Error Function Points Relation Series Slope
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


ANALYTICAL SOLUTION FOR ORTHOGONAL LINEAR LEAST SQUARES IN TWO DIMENSIONS RELATED
Development Tools  -  erfz 1.0
Compute the erf or error function for complex inputs. Valid over the entire complex plane.
10 KB  
Development Editors  -  NH's Function Point Analyzer 1.0
With NH's Function Point Analyzer it is easy to get a quick and clear documentation of function point countings according to IFPUG (International Function Point Users Group) standard 4.2. While counting, you will record functions and databases in...
778.24 KB  
Development Tools  -  Gaussian Hypergeometric Function 1.0
HYPERGEOMETRIC2F1 Computes a hypergeometric function using the series expansion:f(a,b;c;x)=1 + [ab/1!c]x + [a(a+1)b(b+1)/2!c(c+1)]x^2 +[a(a+1)(a+2)b(b+1)(b+2)/3!c(c+1)(c+2)]x^3 + ...This function solves the Gaussian Hypergeometric Differential...
10 KB  
Development Tools  -  ifilter: Interactive Fourier filter function 3
ifilter(x,y) or ifilter(y) or ifilter([x y]) or ry=ifilter(x,y,center,width,shape,plotmode,filtermode)Keyboard-operated interactive Fourier filter function for time-series signal (x,y), with keyboard controls that allow you to adjust the filter...
10 KB  
Multimedia  -  multiwaitbar 1.0
This function stacks a series of status bars on the same figure, with labels. It also provides the ability to pause programs that call it by providing a "pause" pushbutton. It is much nicer than waitbar, and is easier to use.
10 KB  
Development Tools  -  Get the Slope and Intercept of drawn Lines 1.0
SYNTAX: [p1,p2,slope,inter]=getslopeintercept OUTPUTS: P1= coordinates of the first cliked point P2= coordinates of the second cliked point SLOPE= slope of the drawn line INTER= intercept Y(X=0) WHAT ? In the current figure, you have to draw a...
10 KB  
Multimedia  -  Auto TV to Sabnzbd 0.2
Auto TV to Sabnzbd is a php multimedia script to list your favourite tv series and to help search for your favortire tv content.Auto Tv to Sabnzbd is build on Kohana 3 framework,outputs RSS feed for Sabnzbd,search NZBMatrix for new...
3.01 MB  
Libraries  -  RPC::pClient 0.1005
RPC::pClient is a Perl extension for writing pRPC clients. SYNOPSIS use RPC::pClient; $sock = IO::Socket::INET->new(PeerAddr => joes.host.de, PeerPort => 2570, Proto => tcp); $connection = new RPC::pClient(sock => $sock, application =>...
19.46 KB  
Development Tools  -  Frequency Domain Adpative Filter 1.0
Given a block of samples of a reference signal and a block of samples of a desired signal, the function updates the filter weights and returns a block of error samples.
10 KB  
Development Tools  -  Clock Signal Jitter Simulation 1.0
This function creates a user definable digital clock signal waveform with random jitter on it. This function can be used to generate waveform data that can be uploaded onto an arbitrary waveform generator (AWG) to simulate a real world digital...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB