Scripts Index
Related Topics
Popular Trends
Trending Topics
Tools and Utilities Development Tools  

plotdata, version 2

download download home home   report broken
important script information
company name:
Tom O'Haver
license: Shareware
minimum requirements: MATLAB 7.8 (R2009a)
functional limitations:
plotdata, version 2 description

function [coef, RSquared]=plotdata(xi,yi,polyorder) A simple data plotting function, useful for inspecting x,y data. The function accepts data in the form of a single vector, a pair of vectors "x" and "y", or a single NxM or MxN matrix with the independent variable (x) in first row or column (whichever is longer) and dependent variables y1, y2... in the remaining rows or columns, and plots x vs all y's. If only a single vector is supplied, plots it vs its index. If yi is a matrix, all the rows or columns are plotted. If yi is a vector and the input argument "polyorder" is supplied, a polynomial of order "polyorder" is fit to the data, plotted as a red line vs the data as blue dots, showing the fit coefficients and R-squared in the upper left corner of the graph. Polyorder=1 for straight line, =2 for quadratic (parabola) etc. If yi is a matrix and the input argument "polyorder" is supplied, fits row or column vs xi, plots data as points and the fits as lines, and returns a matrix of coefficients and a vector of R-squared values (does not label graph with fit coefficients and R-squared in that case). If a matrix M does not have an independent variable in the first row or column, type plotdata(1:length(M),M) or plotdata(1:length(M),M, polyorder). Tom O'Haver, 2011. Version 2, October 2011, fits multiple signals in y matrix Examples: x=[1 2 3 4 5];y=[ 0 2 3 2 0]; plotdata(y); % plot y only vs index number, no fit. plotdata(x,y); % plot x vs y only, data in separate vectors plotdata([x;y]); % plot data only, data in matrix with x in first row plotdata([x;y]'); % plot data only, data in matrix with x in first column plotdata(y,2); % plot y vs index and fit to second order polynomial plotdata(x,y,3); % plot x vs y and fit to third order polynomial plotdata([x;y],3); % plot and fit data in matrix [coef, RSquared]=plotdata([x;y],2) % return fit coefficients and r-squared [coef, RSquared]=plotdata([x;y1;y1;y3],2) % fit each y vs x

Label - Graph - Version - Lines - Points - Values - Returns - Haver - Plotdata Lengthmm - Polyorder
Similar scripts
Rob Keyboard (Popularity: ) : This plugin is produced for holding on keyboard when pairing program. You can type "shift ctrl K" to lock intellJ by a Dialog with amusing words. You can lock intellJ by password, with configging password enabled.At first, you should add ...
CIE Coordinate Calculator (Popularity: ) : This software is for calculating the CIE chromaticity co-ordinates of phosphor materials using the photo luminescence data. The software also shows the position of the co-ordinates in chromaticity diagram and expected color of the material. Please note that the color ...
New Dream Coder for Oracle (Popularity: ) : This tool is an code generator for Oracle. While fetching large tables this tool reduces usage of memory. Some features of this tool are, it has new password ecryption, procedure builder, session monitor, SQL templates etc., It increases execution times ...
Foreign Exchange Options (Popularity: ) : fxoptions( S0, X, rd, rf, T, vol, style)Valuation of European and American call and put options on foreign exchange using Garman-Kohlhagen model.European option prices are given by an exact formula (Garman-Kohlhagen).American option prices are approximated using both binomial and trinomial ...
Anti Cut and Paste (Popularity: ) : This utility is helpful for programmers that allows them to search programming language source code's text fragments which have been copied and pasted. Some key features of this tool are, this tool supports both command line and Graphical User Interface ...
AC Protect Standard (Popularity: ) : This utility is used for avoiding hackers from cracking your software using special techniques called anti crack. It works with all windows platforms. Some features of this tool are, this tool compresses ocx, scr, exe, dll and more, dynamic encrypt ...
VBcodePrint (Popularity: ) : This Add-In to Microsoft Visual Basic 6 significantly enhances its source code printing capabilities. You can print any part of your VB project's source code from within the VB's development environment. / You can create and save your own output ...
Bokai Barcode Image generator (Popularity: ) : This tool is used for barcode generator and which has an ActiveX control for printing barcodes. This tool contains more than twenty five barcode types. This tool supports only ActiveX control programs. Users can customize barcode parameters and design of ...
Use Matlab Editor to Write and Run Ansys Program. (Popularity: ) : You don't have to switch your screen between Matlab, Ansys and UltraEdit or PSPad anymore, when you doing FEM-Analysis.You can use MEditor to write your Ansys APDL program and use the excellent feature of MEditor to structure your Code: Cell-Function, ...
VBAcodePrint (Popularity: ) : This add-in enables you to print Microsoft VBA source code in color of your applications across the entire Microsoft Office 2000 suite of applications: Word, Excel, Outlook, Access, PowerPoint, and FrontPage and any other VBA enabled software. / You can ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Similar Software
Power Anti-Virus Version 2.0 for Windows (Popularity: ) : Power Anti-Virus Version 2.0 for Windows from Power Software Inc.
This version of Power Anti-Virus identifies and disinfects over \
48000 different viruses

Asus EzVcrFm version 2.2.2 (Popularity: ) : Asus EzVcrFm version 2.2.2 for Asus TV/FM Tuners

It is highly recommended to always use the most recent driver version available.
Do not forget to check with our site as often as possible in order to stay updated on the latest drivers, ...

Dell Inspiron 6400/E1505 Notebook Support Center GM Build version 2.2.08100 (8-25-08), A08 for XP (Popularity: ) : Important Information
This is a full release of the Dell Support Center application which contains fixes for issues experienced in the Dell Support Center version 2.1.08060 or lower.

If you already have version 2.2.08100 or greater you don't need this patch. In ...

TrueTerm Language Studio Version 2 (Popularity: ) : TrueTerm Language Studio Version 2 - Search Engine for the World Wide Web For all your texts or translations, if you are looking for something make sure you use the vast array of 49 multi-lingual dictionaries, 8 complete verb lexicons, ...
Import Begin vCard to End vCard (Popularity: ) : Download SoftSpire vCard Converter is a standalone tool that brings you vCards with photos & helps you to import vCards with their complete details (Name, Formatted Name, Delivery Address, Email, Telephone, Images & Photos, Website Path etc) which has stored ...
Cowon iAUDIO D2Plus Firmware 2.11 (Popularity: ) : Fixes:
Fixed the error of BBE+ sound in firmware version 2.10.Fixed the error that some album arts of MP3 files are not displayed.

It is highly recommended to always use the most recent driver version available.

Do not forget to check with our ...

Casio Exilim High Speed EX-F1/Controller Firmware 2.0/1.0 (Popularity: ) : Fixes:
EX-F1 Controller ("This Software") provides the following capabilities. Control of your EX-F1 camera from a computer connected to the computer with the USB cable that comes with the camera.Computer-control of High Speed Continuous Shutter, High Speed Movie, Interval Recording, and ...

ThinkPad Reserve Edition 2771-23U Wireless WAN (Vodafone and Cingular - HSDPA) driver for Windows 2000/XP/Vista (Popularity: ) : This package provides the Wireless WAN driver to enable the following adapters.

- Sierra Wireless MC8775 HSDPA Modem

This release supports the following ThinkPad systems:

- ThinkPad T61, T61p
- ThinkPad X61, X61s, X61 Tablet, X300
- ThinkPad Reserve Edition

Note: This driver is language independent ...

Toshiba Portege 4010 Notebook Wireless Hotkey Driver (Popularity: ) : This package contains the files which will install the Wireless Hotkey driver version on your Toshiba Portege 4010 notebook running Windws 2000/XP.

It is highly recommended to always use the most recent driver version available.

Do not forget to check with ...

Toshiba Portege ACPI Flash Bios 2.10 (Popularity: ) : Applicable Models: Portege 4000, 4005

Change History:

Version 2.10 01-13-2004
o Added support for USB device drivers for Windows XP.
o CHGBIOSA.exe was updated so BIOS can be successfully updated from a USB FDD.
o CHGFIRM.exe was updated so EC/KBC can be successfully updated from ...


Rate me
supported os
Win All, BSD, Solaris
downloads 2
version 1.0
size in Kb 10
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews