False Dilemma
M-file that calculate weeknumber based on a date. Date can be given as scalar or a vector. Datevalues can also be provided as textvalues, but then must a second variable describing the that format also be read in.In addtion can a third variable be sat to true or false, and this will add year...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Weeknumber Download |
legend_best_fit automatically positions the existing legend inside the axes to avoid covering the plotted data. I think it does a better job than the "Location", "Best" option in "legend" command.Example: legend_best_fit(axes_handle) Will position legend inside if it can, return false if it can...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Legend best fit Download |
[Jaccard,Dice,rfp,rfn]=sevaluate(m,o)gets label matrix for one tissue in segmented and ground truthand returns the similarity indicesm is a tissue in gold trutho is the same tissue in segmented imagerfp false pasitive ratiorfn false negative ratio
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): segmentation evaluatation Download |
shortcut for simple if conditions.The function works similar to Excel format.First argument is the condition, second is what to do if true, third is what to do if false.example 1:A = ifelse(x>thr, 5, 3)will execute:if x>thrA = 5elseA = 3endexample 2:A = ifelse(im>thr, im*2, im/2)will execute:A =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): if-then-else shortcut Download |
validateInput started when creating saveppt2. There was a need to take a large number of inputs, in any order, and make them usable to the script. Checking if an input argument has been passed can be done with isfield or if the 'force' option is enabled if the field is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): validateInput Download |
Simple helper files that return true/false based on whether inputs are even or odd, respectively% iseven - Returns true if the input is an even whole number % Syntax: tf = iseven(x) % x - numeric (real) input of any number of dimensions and sizes % tf - true for each element that is an even whole...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Iseven/Isodd Download |
DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m helpThis entry is ideal for those who have a project they need to deploy to P-files, but they want to retain HELP contents for all of their deployed files.-- SAHMDEPLOYPCODE recursively creates p-code...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): deploypcode - recursively pcode files with help attached Download |
Set value for value/argument pair in varargin/cellstring.If the argument does not exist it will be appended, if it exists it will be given the new specified value.Ex:args={'option1',true,'option2',false};args = setarg(args,'option1',false);args = setarg(args,'option3',false);%args is now:%args =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): setarg Download |
Print a struct to file. The output can be aligned to be more human-readable, or be separated by a specified delimiter.Requires the getarg function.Ex:struct2File( s, 'c:file.txt', 'align', true, 'sort', false );
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): struct2File Download |
% Confusion matrix-based model performance summary tool.% Works with character and numeric data, for any number of groups.%% Displays your confusion matrix as a 3D bar chart of your observations,% broken down by their actual and predicted groups.%% Takes into account the chance that your...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Confusion Matrix 3D with Overall PCC and Group Statistics Download |
The Mass Univariate ERP Toolbox is a freely available set of MATLAB functions for performing mass univariate analyses of event-related potentials (ERPs), a noninvasive measure of neural activity popular in cognitive neuroscience. A mass univariate analysis is the analysis of a massive number of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 215.04 KB | Download (40): Mass Univariate ERP Toolbox Download |
Example Usage>>ezplot(@(t)max(30*365*24-t,0),[0 33*365*24]);>> xlabel 'age (hours)', ylabel 'what remains of your youth (hours)';>>TakeAPicture -reportDocumentation: Create and save a png picture from your figure. e.g. TakeAPicture % Take a picture TakeAPicture -inv % Take a picture and invert...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): TakeAPicture Download |
CUTPOLYGON - Split a 2D polygon by a line, and remove one of the sidesUse CUTPOLYGON to cut alias intersect alias split alias slice a polygon P(being a series of connected X,Y coordinates) with a line L (defined bytwo points), removing a specified side s. L can serve as a bottom limit('B'), top...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): cutpolygon Download |
FIG2M - Generate programmatic GUI M-File from a FIG-FileVersion : 1.0Created : 10/05/2006Modified: 14/04/2010Author : Thomas Montagnon (The MathWorks France)>> outputFile = fig2m(guiName,outputDir,syscolorfig,cb_gen); guiName -> Name of the Fig-File (absolute or relative path) outputDir ->...
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Convert FIG to MATLAB code Download |
A warning dialog is displayed with a flashing exclamation mark. The dialog isterminated automatically with the default reply, if the user does not press abutton in a specified period of time.This can be useful e.g. for functions, which are checked with automated tests, because the dialog does not...
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): AutoWarnDlg Download |
Alley-E-Form is a php contact form with multiple send-to options.Admin can assign an email address to each contact category e.g General Questions to general@lala.com , Sales Enquires to sales@lala.com etc..Options are also available to set an addition recipient address for each form field.With...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (49): Alley-E-Form Download |
The My Mobypictures plugin allows you to show your recently added items to Mobypicture.com on your WordPress powered website. This simple widget automatically displays them in your sidebar or add the code manually to sidebar if you don't use widgets.Installation :Themes with widget support: 1....
Platforms: PHP
License: Freeware | Size: 10 KB | Download (40): My Mobypictures Download |
Services like Akismet and TypePad AntiSpam are great at detecting spam, but if you get lots of it then you have to trawl through the spam queue in case there are any false positives.This plugin provides a CAPTCHA complement to these spam detection plugins: * If a spam detection plugin identifies...
Platforms: PHP
License: Freeware | Size: 102.4 KB | Download (40): Conditional CAPTCHA for WordPress Download |
Check if a file exists and return true/false or display a string containing information about the file.If a format string is not passed to it, the function if_file_exists() returns a simple boolean (true or false) indicating if the specified file exists.Otherwise, the format string provided to it...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (39): If File Exists Download |
With this plugin, you will be able to display an index with all your authorss, sort alphabeticaly. The shortcode is [authorsindex].Options are: *ul => the class of you ul element (default = iapAlpha) *li => the class of you li element (default = iapAlpha) *letter => the class of you span...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (41): Index Authors page Download |