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.426.663 Times

addFitLine 1.0

  Date Added: July 07, 2013  |  Visits: 349

addFitLine

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 downloads)



The stats toolbox is required for the 'linear' and 'quadratic' options only.function out=addFitLine(poolFits,modelType,lineprops,ax) Purpose Add one or more fit lines to some or all data in axes "ax" or, without ax specified, to the current axes. Inputs *poolFits [optional 0 by default] - if 1 we fit a single line to all data series on the current axes. *modelType ['linear' by default] - If 'linear' it fits a straight line using the regress function from the stats toolbox. If 'quadratic' it fits a second-order polynomial using regress. The output from regress is returned. If modelType is an integer, the function fit a polynomial of this order using polyfit, which is not part of the stats toolbox. The output of polyfit is then returned. *lineprops [optional 'b-' by default] *ax [optional - gca by default] Outputs out - the fit parameters and plot handles Examples clf %Fit two seperate lines subplot(1,3,1), hold on, x=-5:0.1:5; y=1+1*x+randn(size(x))*2; plot(x,y,'.k') y=2-4*x+randn(size(x))*2; plot(x,y,'.r') H=addFitLine %Fit one line to two sets of data subplot(1,3,2), hold on x=-5:0.2:0; y=0.3*x+randn(size(x))*2; plot(x,y,'.k') x=0:0.2:5; y=0.3*x+randn(size(x))*2; plot(x,y,'.r') H=addFitLine(1) %Fit one quadratic subplot(1,3,3) x=-5:0.1:5; y=2+0.3*x+0.5*x.^2+randn(size(x))*2; plot(x,y,'.k') addFitLine([],'quadratic') OR: addFitLine([],2) Rob Campbell - December 2009

Requirements: No special requirements
Platforms: Matlab
Keyword: Brandnsizex Examples Handles Lineprops Plotxy Seperate Subplot X3d5015
Users rating: 0/10

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


ADDFITLINE RELATED
Development Tools  -  DAQmx examples 1.0
Examples of using matlab to talk to a National Instruments (NI)DAQ card _without_ the 'data acquisition toolbox'I have mainly used code and examples from Jens Roesner here:http://www.jr-worldwi.de/work/matlab/index.htmlHowever, I had to make a few...
40.96 KB  
Libraries  -  GCJ::Cni::Examples 0.03
GCJ::Cni::Examples is a Perl module with examples of how to use GCJs CNI interface to write Perl Modules in Java. EXAMPLES Writing Treaded modules in Java One benefit of using GCJ is that it takes advantage of POSIX threading. This is nice...
20.48 KB  
Desktop Utilities  -  GNUstep examples 1.1.0
GNUstep examples is a collection of programs that are meant to show programmers how to use GNUstep. GNUstep examples includes a calculator, a currency converter, finger, fractal, puzzle, hostaddress, and ink (a simple editor). Whats New in...
235.52 KB  
Libraries  -  Java::Import::Examples 0.03
Java::Import::Examples is an example of how to use Java::Import to call into Java classes. Making RMI calls from Perl One nice thing about Java is the extremely straight forward manner in which it allows you to make calls to remote objects...
28.67 KB  
Libraries  -  DBIx::Simple::Examples 1.30
[COPRIGHT=1] EXAMPLES General #!/usr/bin/perl -w use strict; use DBIx::Simple; # Instant database with DBD::SQLite my $db = DBIx::Simple->connect(dbi:SQLite:dbname=file.dat) or die DBIx::Simple->error; # Connecting to a MySQL...
15.36 KB  
Development Editors  -  C++ Builder Examples Collection 5.0
This collection will help you to quickly and simply adopt and apply the knowledge of experienced programmers. What you will find here is a set of examples for most used methods and components in everyday programming. Save yourself hours of...
33.52 MB  
Delphi Utilities  -  Delphi Examples Collection 3.0
This collection will help you to quickly and simply adopt and apply the knowledge of experienced programmers. What you will find here is a set of examples for most used methods and components in everyday programming. Save yourself hours of...
12.74 MB  
Code Management Tools  -  Collection of C++ Builder Examples 6.0
Collection of C++ Builder examples and tutorials with full source code, project files and animated tutorials. Examples include: database in C++, making reports in C++, running external applications from c++, graphics and window manipulation and...
1.58 MB  
Delphi Utilities  -  Del123.com Collection of Delphi examples 2.0
Del123's Collection of Delphi examples and applications - Database examples, Rave report examples, Win32 examples and more. Full source code on purchase. From Delphi 7 to Delphi XE - Del123.com
3.28 MB  
Development Editors  -  Collection of Delphi Examples 7
Collection of most wanted Delphi examples with full source code and animated tutorials as a standalone application. No third party components.
6.99 MB  
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