image thumbnail

updated 3 months ago

size() Vs. length() vs. Storing Length Value Before Entering for Loop by Jason Nicholson

Compares use of size(), length(), and stored length of array when used in a for loop (for, size, length)

size() Vs. length() Vs. Stored Length in for Loop

image thumbnail

updated 6 months ago

rdir.m by Corey

Function returns all subfiles, subdirectories, and size of a directory (recursive, directory, subdirectory)

rdir(absDir)

image thumbnail

updated 9 months ago

Adjust legend marker size by Andreas

A function to adjust the marker size of the current legend without changing the plot marker size (legend, markersize, marker)

legendmarkeradjust(marksize)

image thumbnail

updated 12 months ago

fitsize.m v1 (Jan 2014) by Carlos Adrian Vargas Aguilera

Forces arrays to have the same size by replications of the singleton dimensions. (repmat, bsxfun, cellfun)

fitsize(varargin)

image thumbnail

updated 1 year ago

Windows screenshots by Frequency Domain

Allows listing MS Windows' windows, setting their size, giving focus, and take screenshots. (windows, screenshot, list)

uint322RGB(raw_data)

screenshot_example.m

image thumbnail

updated 1 year ago

code for DLS by Manish Gupta

Dynamic light scattering (dls, size)

DLS_nonlinfit.m

image thumbnail

updated almost 2 years ago

Create a quadratic Matrix of DICOM images by Thomas Lindner

Load all DICOM images, change the Matrix size and save them again, keeping the header (Metadata). (dicom, matrix size, load dicom)

change_DICOM_Matrix.m

image thumbnail

updated 2 years ago

Limit figure size by Jan Simon

Set minimal or maximal size of a figure (figure, size, resize)

LimitSizeFig(FigH, Prop, Ext)

uTest_LimitSizeFig(doSpeed)

image thumbnail

updated 2 years ago

samesize by Richard Crozier

Determine if all inputs are the same size in all dimensions. (size, dimensions, array)

samesize(varargin)

image thumbnail

updated 2 years ago

fig- the exact figure size and no white space by Reza

Create publication-quality figures; easily define the figure's size, font of all labels, titles... (figure, fonts, size)

fig.m

image thumbnail

updated 2 years ago

Resizing Matlab plots for publication purposes (LaTeX) by Jinyu

This function will resize the plot to the proper size based on the figure width and font size. (plot, figure, publication)

latex_fig(font_size, f_width, f_height)

latex_fig_demo.m

image thumbnail

updated 2 years ago

Create a Simulated Image of Diffraction Limited Spots with Noise by Tristan Ursell

Create images with diffraction-limited spots of varying size and intensity, with noise. (image, create, creation)

[Iout,Inoise,spot_data]=spotmaker(im_sz,num_spots,varargin)

image thumbnail

updated almost 3 years ago

Calculate size by Santosh Kasula

CALCULATESIZE calculates the size of a MATLAB file for use in the game Cody (size, cody, game)

calculateSize( fileName )

image thumbnail

updated 3 years ago

CATPAD by Jonathan Sullivan

Concatenation of arbitrarily sized data along any dimension. (add, cat, length)

catpad.m

image thumbnail

updated 3 years ago

Screensize by claus

It permits to set a figure in selected size and position in the screen (screensize, screen, figure)

[]=screensize(xin,yin,xfin,yfin)

image thumbnail

updated almost 4 years ago

Whos by Matt J

Variant of whos(). Gives memory in Kbytes and displays array dimensions even for 4D+ arrays. (whos, memory, kilobytes)

varargout=Whos(varargin)

image thumbnail

updated 4 years ago

Overloading SIZE for Array-like User-Defined Objects by Matt J

A tool for OOP overloading of the size() method, imitating I/O conventions of MATLAB's native SIZE. (oop, size, dimensions)

parseSize(sz,numargsout,dim)

image thumbnail

updated 4 years ago

folderSizeTree by Yanai

Calculate total size of sub-folders recursively (folder, recursive, size)

folderSizeTree(directory)

image thumbnail

updated 4 years ago

Increase Image Resolution by Francisco de Castro

Increases the resolution of an image by interpolation (enhancement, image, resolution)

iir(filename,f,varargin)

image thumbnail

updated 4 years ago

vsize: a pedestrian variable decoder by us

VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity (whos, ndims, size)

[p,par]=vsize(varargin)

image thumbnail

updated almost 5 years ago

Display ws variables size in KB, MB or GB by Oleg Komarov

Displays with appropriate unit of data storage. Sorting by size/name (non c.sensitive) is supported. (size, storage, bytes)

wssize(varargin)

image thumbnail

updated almost 5 years ago

Adjust the display resolution of an image by Eric Johnson

Same as TRUESIZE, but works with multi-image figures. (gui, display, annotation)

truefit(h, pxArea)

image thumbnail

updated 5 years ago

reshape2matrix.m v1.0 (Oct 2009) by Carlos Adrian Vargas Aguilera

Reshapes a multidimensional array into a 2-D matrix with an specific dimension in the columns! (reshape, permute, ipermute)

reshape2matrix(X,DIM,SIZE)

image thumbnail

updated 6 years ago

reshapec: a pedestrian col-row reshaper by us

reshapec changes the size of a matrix in column-row order (matrices, reshape, permute)

nd=reshapec(nd,ns,varargin)

image thumbnail

updated 7 years ago

sizeof by Charles Simpson

Return the number of bytes of a builtin data type. (data import, data export, sizeof)

image thumbnail

updated 8 years ago

DIRR (find files recursively filtering name, date or bytes) by Maximilien Chaumon

Lists files recursively filtering name date and/or size. Output can be set as name date and/or size. (path, directories, files)

DIRR(chemin,varargin)

image thumbnail

updated 9 years ago

Jsurf by J De Freitas

3D plot onto an arbitrary surface. (specialized, plotting, surface plot)

image thumbnail

updated 9 years ago

MATZEROFIX - shows you how to recover a MAT file with an R14 FCS - specific load error by John Aspinall

Fix load error due to zero size in variable tag in MAT-File saved with R14 FCS MATLAB 7.0. (path, directories, files)

matzerofix(matfilename,varargin)

image thumbnail

updated 9 years ago

Size Convert by Skynet

Convert size from bytes to larger units of size as relevant. (size, size conversion, byte)

sizeconvert.m

image thumbnail

updated almost 10 years ago

SCLREXPND by Mukhtar Ullah

expands scalars to the size of non-scalars. (scalar expansion, expands, size)

image thumbnail

updated 11 years ago

Binary Image Cleaning Based on Area Size by Zhe Wu

Foreground area larger (or smaller, depending on 'mode') is preserved; otherwise it's deleted. (morphology, segmentation, binary)

image thumbnail

updated almost 15 years ago

padadd by Dave Johnson

This is a function that concatenates data column arrays of possibly dissimilar sizes. (matrices, tools, data arrays)

image thumbnail

updated 16 years ago

ossrs by Sheela Belur

A random search method[1] for the optimization of a function of n variables. (optimization, random, search)

[x,fmn]=ossrs(x)

Contact us