image thumbnail

updated 3 months ago

xyimagesc.m by Anthony Bathgate

Same as imagesc but works when X and Y are not evenly spaced. (image, imagesc, imagescnan)

xyimagesc( X, Y, C, varargin )

image thumbnail

updated 4 months ago

Linear fit with both uncertainties in x and in y by Julien Browaeys

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method (fit, linear, plot)

linfitxy( xdatain, ydatain, xerrin, yerrin, varargin)

image thumbnail

updated 8 months ago

Knights Tour by Sumit

This Program generates the knights tour for a given mXn board for a given position of the knight (plot, plotting, graph)

chessknight.m

coordinates1.m

knights_all.m

image thumbnail

updated 10 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 1 year ago

Image Noise Reduction by Local Statistics by Tristan Ursell

Reduce image noise by measuring local pixel statistics and remapping intensities. (image processing, image, noise)

[varargout]=relnoise(Iin,sz,sigma,varargin)

image thumbnail

updated almost 2 years ago

Draw lines with arrows by Sabesan

Draw lines with arrows. Multiple optional parameters are given for controlling the arrow and line (draw lines, plot, figure)

draw_line2(p1, p2, varargin)

image thumbnail

updated almost 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 2 years ago

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Convolve two matrices at sub-pixel resolution, using bilinear interpolation. (matrix, convolve, convolution)

matout=matoverlay(mat1,mat2,x,y)

image thumbnail

updated almost 3 years ago

Laplacian in 1D, 2D, or 3D by Andrew Knyazev

Sparse (1-3)D Laplacian on a rectangular grid with exact eigenpairs. (matrix, mathematics, laplacian)

laplacian(varargin)

image thumbnail

updated 3 years ago

Sampling Of 2D Geometrical Object via Line Beams by Michael Chan

Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case. (image processing, project, beam)

calculateEllipse(x, y, a, b, angle, steps)

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated almost 4 years ago

Separate Kernel in 1D kernels by Dirk-Jan Kroon

Decompose an arbitrary N dimensional filtering kernel into 1D kernels, for faster filtering (image, 2d, 3d)

[K1 KN ERR]=SeparateKernel(H)

image thumbnail

updated 4 years ago

Overlay 2 matrices in an imagesc-like plot by Nathan

This allows one to overlay 2 matrices in the same plot in an imagesc.m like manner. (imagesc, plot, visualization)

figure1 =imagesc_2mat(Matrix1,Matrix2,colormapchoice)

image thumbnail

updated 4 years ago

domain coloring by Ankur Pawar

Visualization of complex function. (domain coloring, complex function, mathematics)

img=coolviz1(func)

img=coolviz2(func)

img=coolviz3(func)

image thumbnail

updated almost 5 years ago

imagescnan.m v2.1 (Aug 2009) by Carlos Adrian Vargas Aguilera

Same as IMAGESC but ignores NaNs. (specialized, plotting, imagesc)

imagescnan(varargin)

image thumbnail

updated 5 years ago

smooth2a by Greg Reeves

Smooths a 2D matrix using a mean filter over a user-defined rectangle. Ignores and preserves NaNs. (2d, approximation, interpolation)

smooth2a(matrixIn,Nr,Nc)

image thumbnail

updated 5 years ago

Recursive tesselation by Daniel Lau

Produces a 2-D array by means of rec. tesselation. (image processing, 2d, array)

B=rcrsvtslltn(N)

image thumbnail

updated 5 years ago

Zero interval calculation by Marcelo Silva

This program finds an interval where the chosen function has a zero. (mathematics, graph, functions)

v=interval(fun,init,nmax,tol,graph)

image thumbnail

updated 6 years ago

Radial Scan by Narupon Chattrapiban

Get radial scan of a matrix (radial, scan, profile)

rscan(M0,varargin),

image thumbnail

updated 7 years ago

Draw a circle in a matrix / image by Peter Bone

Draw a circle in a 2D matrix using the integer midpoint circle algorithm (draw, circle, 2d)

MidpointCircle(i, radius, xc, yc, value)

image thumbnail

updated almost 9 years ago

label2rgb3D by payel ghosh

Creates a 4D rgb image from a 3D label image. (color, label2rgb, 3d)

rgb3d=label2rgb3d(varargin)

image thumbnail

updated 9 years ago

Plot 2D/3D Vector with Arrow by Rentian Xiong

This function plots a line vector with arrow head. (2d, 3d, vector)

vectarrow(p0,p1)

image thumbnail

updated 9 years ago

smooth2 by Kelly Hilands

Smooths the data in a 2D matrix with a user-defined resolution. (approximation, interpolation, 2d)

smooth2.m

image thumbnail

updated 10 years ago

plot_circle.m by Alister Fong

Produces coordinates that denote a circle. (image generation, circle, plot)

plot_circle(X,Y,Radius,varargin)

image thumbnail

updated 14 years ago

ConnectFunc by Paul Nuschke II

A function connecting two points in an image with a line of ones. (gui, display, annotation)

newout=ConnectFunc(binimg,row1,col1,row2,col2)

image thumbnail

updated almost 16 years ago

plot3d.m by Haim Azhari

This M-function produces an image of a 3D object defined by matrix a(l,m,n) in terms of voxels. (specialized, plotting, image)

[b,d]=plot3d(a,alfa,beta);

Contact us