plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
Ciaran1981/SeAMS-master
homotrans.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/homotrans.m
1,371
utf_8
8fc0c2c8b73dcccc47ba10e8a451beee
% HOMOTRANS - Homogeneous transformation of points/lines % % Function to perform a transformation on 2D or 3D homogeneous coordinates % The resulting coordinates are normalised to have a homogeneous scale of 1 % % Usage: % t = homotrans(P, v); % % Arguments: % P - 3 x 3 or 4 x 4 homogeneous transfo...
github
Ciaran1981/SeAMS-master
trans.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/trans.m
708
utf_8
c2bc04ae87a1f56d814ee75d140cea19
% TRANS - Homogeneous transformation for a translation by x, y, z % % Usage: T = trans(x, y, z) % T = trans(v) % % Arguments: x,y,z - translations in x,y and z, or alternatively % v - 3-vector defining x, y and z. % Returns: T - 4x4 homogeneous transformation matrix % % See also: ROTX, RO...
github
Ciaran1981/SeAMS-master
plotframe.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/plotframe.m
1,677
utf_8
40c9bb130ec46ca33912f804e87f2eac
% PLOTFRAME - plots a coordinate frame specified by a homogeneous transform % % Usage: function plotframe(T, len, label) % % Arguments: % T - 4x4 homogeneous transform % len - length of axis arms to plot (defaults to 1) % label - text string to append to x,y,z labels on axes % % len and label are optio...
github
Ciaran1981/SeAMS-master
newangleaxis.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/newangleaxis.m
1,101
utf_8
4ad89dd95a736dff8b3603430648964c
% NEWANGLEAXIS - Constructs angle-axis descriptor % % Usage: t = newangleaxis(theta, axis) % % Arguments: theta - angle of rotation % axis - 3-vector defining axis of rotation % Returns: t - 3-vector giving rotation axis with magnitude equal to the % rotation angle in radians. % % S...
github
Ciaran1981/SeAMS-master
rotz.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/rotz.m
593
utf_8
485891081a31d4907a07ce934642fea2
% ROTZ - Homogeneous transformation for a rotation about the z axis % % Usage: T = rotz(theta) % % Argument: theta - rotation about z axis % Returns: T - 4x4 homogeneous transformation matrix % % See also: TRANS, ROTX, ROTY, INVHT % Copyright (c) 2001 Peter Kovesi % School of Computer Science & Software Engin...
github
Ciaran1981/SeAMS-master
angleaxis2matrix.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/angleaxis2matrix.m
1,793
utf_8
0252f63ff9c4999658e4db8055454f0c
% ANGLEAXIS2MATRIX - converts angle-axis descriptor to 4x4 homogeneous % transformation matrix % % Usage: T = amgleaxis2matrix(t) % % Argument: t - 3-vector giving rotation axis with magnitude equal to the % rotation angle in radians. % Returns: T - 4x4 Homogeneous transformation matrix % % See a...
github
Ciaran1981/SeAMS-master
matrix2quaternion.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/matrix2quaternion.m
2,010
utf_8
ad7a1983aceaa9953be167eddabb22ae
% MATRIX2QUATERNION - Homogeneous matrix to quaternion % % Converts 4x4 homogeneous rotation matrix to quaternion % % Usage: Q = matrix2quaternion(T) % % Argument: T - 4x4 Homogeneous transformation matrix % Returns: Q - a quaternion in the form [w, xi, yj, zk] % % See Also QUATERNION2MATRIX % Copyright (c) 2008 ...
github
Ciaran1981/SeAMS-master
vector2quaternion.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/vector2quaternion.m
563
utf_8
a87aa8408a94f8010721a2ea603c64f9
% VECTOR2QUATERNION - embeds 3-vector in a quaternion representation % % Usage: Q = vector2quaternion(v) % % Argument: v - 3-vector % Returns: Q - Quaternion given by [0; v(:)] % % See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONPRODUCT, QUATERNIONCONJUGATE % Copyright (c) 2008 Peter Kovesi % School of Compute...
github
Ciaran1981/SeAMS-master
invht.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/invht.m
505
utf_8
62f8fca3096c7b08ba22952fef7e6416
% INVHT - inverse of a homogeneous transformation matrix % % Usage: Tinv = invht(T) % % Argument: T - 4x4 homogeneous transformation matrix % Returns: Tinv - inverse % % See also: TRANS, ROTX, ROTY, ROTZ % Copyright (c) 2001 Peter Kovesi % School of Computer Science & Software Engineering % The University of ...
github
Ciaran1981/SeAMS-master
roty.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/roty.m
589
utf_8
1523f4098a8a375de8eed1c69ae75c92
% ROTY - Homogeneous transformation for a rotation about the y axis % % Usage: T = roty(theta) % % Argument: theta - rotation about y axis % Returns: T - 4x4 homogeneous transformation matrix % % See also: TRANS, ROTX, ROTZ, INVHT % Copyright (c) 2001 Peter Kovesi % School of Computer Science & Software Engin...
github
Ciaran1981/SeAMS-master
invrpy.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/invrpy.m
1,251
utf_8
327fc230e354d616448b0620e8b51b4f
% INVRPY - inverse of Roll Pitch Yaw transform % % Usage: [rpy1, rpy2] = invrpy(RPY) % % Argument: RPY - 4x4 Homogeneous transformation matrix or 3x3 rotation matrix % Returns: rpy1 = [phi1, theta1, psi1] - the 1st solution and % rpy2 = [phi2, theta2, psi2] - the 2nd solution % % rotx(phi1)*roty(theta1)*...
github
Ciaran1981/SeAMS-master
normaliseangleaxis.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/normaliseangleaxis.m
995
utf_8
a160233e601e4a5bf231afef48739445
% NORMALISEANGLEAXIS - normalises angle-axis descriptor % % Function normalises theta so that it has maximum magnitude of pi to ensure one-to-one % mapping between angle-axis descriptor and resulting rotation % % Usage: t2 = normaliseangleaxis(t) % % Argument: t - 3-vector giving rotation axis with magnitude equal t...
github
Ciaran1981/SeAMS-master
quaternionconjugate.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/quaternionconjugate.m
525
utf_8
d7df86d9770e7881f0cda73f664a8be5
% QUATERNIONCONJUGATE - Conjugate of a quaternion % % Usage: Qconj = quaternionconjugate(Q) % % Argument: Q - Quaternions in the form Q = [Qw Qi Qj Qk] % Returns: Qconj - Conjugate % % See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONPRODUCT % Copyright (c) 2008 Peter Kovesi % School of Computer Science & So...
github
Ciaran1981/SeAMS-master
dhtrans.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/dhtrans.m
1,161
utf_8
817bf7d3f603627a2da4773fefc67097
% DHTRANS - computes Denavit Hartenberg matrix % % This function calculates the 4x4 homogeneous transformation matrix, representing % the Denavit Hartenberg matrix, given link parameters of joint angle, length, joint % offset and twist. % % Usage: T = DHtrans(theta, offset, length, twist) % % Arguments: theta - joint...
github
Ciaran1981/SeAMS-master
matrix2angleaxis.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/matrix2angleaxis.m
2,351
utf_8
1c675a6fc3be8ab220ce1ca0f2adde3b
% MATRIX2ANGLEAXIS - Homogeneous matrix to angle-axis description % % Usage: t = matrix2angleaxis(T) % % Argument: T - 4x4 Homogeneous transformation matrix % Returns: t - 3-vector giving rotation axis with magnitude equal to the % rotation angle in radians. % % See also: ANGLEAXIS2MATRIX, ANGLEAXI...
github
Ciaran1981/SeAMS-master
quaternionproduct.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/quaternionproduct.m
818
utf_8
bcfe792d9518a1c110b9957970f4f7c8
% QUATERNIONPRODUCT - Computes product of two quaternions % % Usage: Q = quaternionproduct(A, B) % % Arguments: A, B - Quaternions assumed to be 4-vectors in the % form A = [Aw Ai Aj Ak] % Returns: Q - Quaternion product % % See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONCONJUGATE % Copyr...
github
Ciaran1981/SeAMS-master
quaternion2matrix.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/quaternion2matrix.m
1,413
utf_8
7296cadf62f6ca9273e726ffd7e19d95
% QUATERNION2MATRIX - Quaternion to a 4x4 homogeneous transformation matrix % % Usage: T = quaternion2matrix(Q) % % Argument: Q - a quaternion in the form [w xi yj zk] % Returns: T - 4x4 Homogeneous rotation matrix % % See also MATRIX2QUATERNION, NEWQUATERNION, QUATERNIONROTATE % Copyright (c) 2008 Peter Kovesi ...
github
Ciaran1981/SeAMS-master
newquaternion.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/newquaternion.m
647
utf_8
a36af1ff9a23186bd42b779523671cea
% NEWQUATERNION - Construct quaternion % % Q = newquaternion(theta, axis) % % Arguments: theta - angle of rotation % axis - 3-vector defining axis of rotation % Returns: Q - a quaternion in the form [w xi yj zk] % % See Also: QUATERNION2MATRIX, MATRIX2QUATERNION, QUATERNIONROTATE % Copyright (c) ...
github
Ciaran1981/SeAMS-master
quaternionrotate.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/quaternionrotate.m
2,026
utf_8
e0b6a4a18c8be41ee01226e17cbd83e8
% QUATERNIONROTATE - Rotates a 3D vector by a quaternion % % Usage: vnew = quaternionrotate(Q, v) % % Arguments: Q - a quaternion in the form [w xi yj zk] % v - a vector to rotate, either an inhomogeneous 3-vector or a % homogeneous 4-vector % Returns: vnew - rotated vector % % See also MATRI...
github
Ciaran1981/SeAMS-master
inveuler.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/inveuler.m
1,220
utf_8
5ebf0b9f54aead905ee1300724228adc
% INVEULER - inverse of Euler transform % % Usage: [euler1, euler2] = inveuler(T) % % Argument: T - 4x4 Homogeneous transformation matrix or 3x3 rotation matrix % Returns: euler1 = [phi1, theta1, psi1] - the 1st solution and, % euler2 = [phi2, theta2, psi2] - the 2nd solution % % rotz(phi1)*roty(theta1)*rot...
github
Ciaran1981/SeAMS-master
ternarymix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/ternarymix.m
13,368
utf_8
53527c33bc58e77326e03f0354a5bbb6
% TERNARYMIX Image blending and swiping over three images % % Function uses Barycentric coordinates over a triangle to interpolate/blend % three images. You can also switch to a swiping mode of display between the % three images. % % Usage: ternarymix(im, nodeLabel, normBlend, figNo) % % Arguments: im - 3-element c...
github
Ciaran1981/SeAMS-master
binarymix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/binarymix.m
11,564
utf_8
53c5c89d010c8dc56ca1daef824526f9
% BINARYMIX Image blending and swiping between two images % % Function blends two images. Each image is coloured with two lightness % matched colours that sum to white. Like a ternary image but binary! % You can also switch between blending and swiping. % % Usage: binarymix(im, nodeLabel, normBlend, figNo) % % Argume...
github
Ciaran1981/SeAMS-master
logisticweighting.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/logisticweighting.m
3,064
utf_8
2896739e6134ef8ef15bfd4bc3726f12
% LOGISTICWEIGHTING Weighting function based on the logistics function % % Adaptation of the generalised logistics function for defining the variation of % a weighting function for blending images % % Usage: w = logisticweighting(x, b, R) % % Arguments: x - Value, or array of values at which to evaluate the weightin...
github
Ciaran1981/SeAMS-master
cyclemix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/cyclemix.m
9,035
utf_8
3290a5ce842ce329f1eb6607a37fd6af
% CYCLEMIX Multi-image blending over a cyclic sequence of images % % Usage: cyclemix(im, figNo, nodeLabel) % % Arguments: % im - A cell array of images to be blended. If omitted, or % empty, the user is prompted to select images via a file % dialog. % figNo ...
github
Ciaran1981/SeAMS-master
swipe.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/swipe.m
4,265
utf_8
127b092d90f1b8edeb9f165489e6bcb0
% SWIPE Interactive image swiping between 2, 3 or 4 images. % % Usage swipe(im, figNo) % % Arguments: im - 2D Cell array of images to be blended. Two, three or four % images can be blended. % figNo - Optional figure window number to use. % % Click in the image to toggle in/out of swiping m...
github
Ciaran1981/SeAMS-master
cliquemix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/cliquemix.m
15,564
utf_8
8d782463d2676131bc2e13681c3bd26e
% CLIQUEMIX Multi-image blending and swiping over a clique % % Function allows blending and swiping between any pair within a collection of images % % Usage: cliquemix(im, B, figNo, nodeLabel) % % Arguments: % im - A cell array of images to be blended. If omitted, or % empty, the user i...
github
Ciaran1981/SeAMS-master
collectncheckimages.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/collectncheckimages.m
5,392
utf_8
7f3d2bd790c314d39156748f34dce0ed
% COLLECTNCHECKIMAGES Collects and checks images prior to blending % % Usage: [im, nImages, fname, pathname] = collectncheckimages(im) % % Used by image blending functions % % Argument: im - Cell arry of images. If omitted a dialog box is % presented so that images can be selected interactively. %...
github
Ciaran1981/SeAMS-master
linimix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/linimix.m
6,472
utf_8
c68afc24d26a59ce58a2fff608c974ee
% LINIMIX An Interactive Image for viewing multiple images % % Usage: linimix(im, B, figNo, XY) % % Arguments: im - 1D Cell array of images to be blended. If this is not % supplied, or is empty, the user is prompted with a file % dialog to select a series of images. % ...
github
Ciaran1981/SeAMS-master
bilinimix.m
.m
SeAMS-master/Utilities/MatlabFns/Blender/bilinimix.m
5,635
utf_8
f1768150812e05ba0dbf1f8ac2b8e2ec
% BILINIMIX An Interactive Image for viewing multiple images % % Usage: bilinimix(im, figNo) % % Arguments: im - 2D Cell array of greyscale images to be blended. % figNo - Optional figure window number to use. % % This function provides an 'Interactive Image'. It is intended to allow % efficient visual e...
github
Ciaran1981/SeAMS-master
findendsjunctions.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/findendsjunctions.m
3,885
utf_8
1c766254222e0b8fd5326786249247bf
% FINDENDSJUNCTIONS - find junctions and endings in a line/edge image % % Usage: [rj, cj, re, ce] = findendsjunctions(edgeim, disp) % % Arguments: edgeim - A binary image marking lines/edges in an image. It is % assumed that this is a thinned or skeleton image % disp - An optional...
github
Ciaran1981/SeAMS-master
selectseg.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/selectseg.m
3,097
utf_8
bdbe2a909309c465b0131e308d8ddc32
% SELECTSEG - Interactive selection of linesegments with mouse. % % Usage: segs = selectseg(seglist); % % seglist - an Nx4 array storing line segments in the form % [x1 y1 x2 y2 % x1 y1 x2 y2 % . . ] etc % % % See al...
github
Ciaran1981/SeAMS-master
maxlinedev.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/maxlinedev.m
2,478
utf_8
64cc6d88009aa2a148c843e2d4041218
% MAXLINEDEV - Find max deviation from a line in an edge contour. % % Function finds the point of maximum deviation from a line joining the % endpoints of an edge contour. % % Usage: [maxdev, index, D, totaldev] = maxlinedev(x,y) % % Arguments: % x, y - arrays of x,y (col,row) indicies of connected pixels...
github
Ciaran1981/SeAMS-master
drawedgelist.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/drawedgelist.m
5,139
utf_8
37224c54b8034d4fadf13c9b60861db5
% DRAWEDGELIST - plots pixels in edgelists % % Usage: h = drawedgelist(edgelist, rowscols, lw, col, figno, mid) % % Arguments: % edgelist - Cell array of edgelists in the form % { [r1 c1 [r1 c1 etc } % ... % rN cN] ....] % rowscols - ...
github
Ciaran1981/SeAMS-master
lineseg.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/lineseg.m
3,017
utf_8
ff2e4a5d3f9faabdf548561ed00b22b6
% LINESEG - Form straight line segements from an edge list. % % Usage: seglist = lineseg(edgelist, tol) % % Arguments: edgelist - Cell array of edgelists where each edgelist is an % Nx2 array of (row col) coords. % tol - Maximum deviation from straight line before a % ...
github
Ciaran1981/SeAMS-master
cleanedgelist.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/cleanedgelist.m
13,314
utf_8
a79468f2b92f2ce262730a04d766d643
% CLEANEDGELIST - remove short edges from a set of edgelists % % Function to clean up a set of edge lists generated by EDGELINK so that % isolated edges and spurs that are shorter that a minimum length are removed. % This code can also be use with a set of line segments generated by LINESEG. % % Usage: nedgelist = clea...
github
Ciaran1981/SeAMS-master
edgelink.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/edgelink.m
21,107
utf_8
25bee720223bdbc51946de674aa2d085
% EDGELINK - Link edge points in an image into lists % % Usage: [edgelist edgeim, etypr] = edgelink(im, minlength, location) % % **Warning** 'minlength' is ignored at the moment because 'cleanedgelist' % has some bugs and can be memory hungry % % Arguments: im - Binary edge image, it is assu...
github
Ciaran1981/SeAMS-master
edgelist2image.m
.m
SeAMS-master/Utilities/MatlabFns/LineSegments/edgelist2image.m
2,027
utf_8
5c5436b3f23a712f883ddb43a21e1d1c
% EDGELIST2IMAGE - transfers edgelist data back into a 2D image array % % Usage: im = edgelist2image(edgelist, rowscols) % % edgelist - Cell array of edgelists in the form % { [r1 c1 [r1 c1 etc } % ... % rN cN] ....] % rowscols - Opt...
github
Ciaran1981/SeAMS-master
bandpassfilter.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/bandpassfilter.m
1,514
utf_8
d98c0b715b1b05c4e8c5e415a260dd2c
% BANDPASSFILTER - Constructs a band-pass butterworth filter % % usage: f = bandpassfilter(sze, cutin, cutoff, n) % % where: sze is a two element vector specifying the size of filter % to construct [rows cols]. % cutin and cutoff are the frequencies defining the band pass 0 - 0.5 % n ...
github
Ciaran1981/SeAMS-master
upwardcontinue.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/upwardcontinue.m
4,042
utf_8
c50e198c0e568fd171e5713d3d05342b
% UPWARDCONTINUE Upward continuation for magnetic or gravity potential field data % % Usage: [up, pim, psf] = upwardcontinue(im, h, dx, dy) % % Arguments: im - Input potential field image % h - Height to upward continue to (+ve) % dx, dy - Grid spacing in x and y. The upward continuation height ...
github
Ciaran1981/SeAMS-master
highboostfilter.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/highboostfilter.m
1,962
utf_8
ada657e25d617c134fb03bf410b0be5b
% HIGHBOOSTFILTER - Constructs a high-boost Butterworth filter. % % usage: f = highboostfilter(sze, cutoff, n, boost) % % where: sze is a two element vector specifying the size of filter % to construct [rows cols]. % cutoff is the cutoff frequency of the filter 0 - 0.5. % n is the ...
github
Ciaran1981/SeAMS-master
invfft2.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/invfft2.m
250
utf_8
41b97c8ab7dc15522b2c5a414bf55b38
% INVFFT2 - takes inverse fft and returns real part % % Function to `wrap up' taking the inverse Fourier transform % and extracting the real part into the one operation % Peter Kovesi October 1999 function ift = invfft2(ft) ift = real(ifft2(ft));
github
Ciaran1981/SeAMS-master
lowpassfilter.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/lowpassfilter.m
2,448
utf_8
1bdb6b9b70b06af9d2bc12b6b877da54
% LOWPASSFILTER - Constructs a low-pass butterworth filter. % % usage: f = lowpassfilter(sze, cutoff, n) % % where: sze is a two element vector specifying the size of filter % to construct [rows cols]. % cutoff is the cutoff frequency of the filter 0 - 0.5 % n is the order of the f...
github
Ciaran1981/SeAMS-master
imspect.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/imspect.m
4,926
utf_8
1567515542e483c4deb2ccc804ff7ac9
% IMSPECT - Plots image amplitude spectrum averaged over all orientations. % % Usage: [amp, f, slope] = imspect(im, nbins, lowcut) % \ / % optional % Arguments: % im - Image to be analysed. % nbins - ...
github
Ciaran1981/SeAMS-master
psf.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/psf.m
2,323
utf_8
de5c27f8dd4eb69a3ae36c1be3f20990
% PSF - Generates point spread functions for use with deconvolution fns. % % This function can generate a variety function shapes based around the % Butterworth filter. In plan view the filter can be elliptical and at % any orientation. The `squareness/roundness' of the shape can also be % manipulated. % % Usag...
github
Ciaran1981/SeAMS-master
filtergrid.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/filtergrid.m
2,441
utf_8
a196e165846902098ffcbc16ddf71f6c
% FILTERGRID Generates grid for constructing frequency domain filters % % Usage: [radius, u1, u2] = filtergrid(rows, cols) % [radius, u1, u2] = filtergrid([rows, cols]) % % Arguments: rows, cols - Size of image/filter % % Returns: radius - Grid of size [rows cols] containing normalised % ...
github
Ciaran1981/SeAMS-master
highpassfilter.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/highpassfilter.m
1,443
utf_8
78f60a0dd6f0ef66653d547868fad1f9
% HIGHPASSFILTER - Constructs a high-pass butterworth filter. % % usage: f = highpassfilter(sze, cutoff, n) % % where: sze is a two element vector specifying the size of filter % to construct [rows cols]. % cutoff is the cutoff frequency of the filter 0 - 0.5 % n is the order of t...
github
Ciaran1981/SeAMS-master
circsine.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/circsine.m
4,364
utf_8
4b2d3f6974bd3cd11dde7d3b2a600790
% CIRCSINE Generates circular sine wave grating % Can also be use to construct phase congruent patterns % % Usage: im = circsine(sze, wavelength, nScales, ampExponent, offset, p, trim) % % Arguments: % sze - The size of the square image to be produced. % wavelength - The wavelength in pixe...
github
Ciaran1981/SeAMS-master
starsine.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/starsine.m
2,906
utf_8
929263192b6c499585f5af175f649a83
% STARSINE Generates phase congruent star shaped sine wave grating % % Usage: im = starsine(sze, nCycles, nScales, ampExponent, offset) % % Arguments: % sze - The size of the square image to be produced. % nCycles - The number of sine wave cycles around centre point. % ...
github
Ciaran1981/SeAMS-master
freqcomp.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/freqcomp.m
5,474
utf_8
58a18bdbdc50fca6a82844487445c5ad
% FREQCOMP - Demonstrates image reconstruction from Fourier components % % Usage: recon = freqcomp(im, Npts, delay) % % Arguments: im - Image to be reconstructed. % Npts - Number of frequency components to consider % (defaults to 50). % delay - Optional ...
github
Ciaran1981/SeAMS-master
psf2.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/psf2.m
3,000
utf_8
20d5aff861110c5341b9d6fec90f8007
% PSF2 - Generates point spread functions for use with deconvolution fns. % % This function can generate a variety function shapes based around the % Butterworth filter. In plan view the filter can be elliptical and at % any orientation. The 'squareness/roundness' of the shape can also be % manipulated. % % Usa...
github
Ciaran1981/SeAMS-master
perfft2.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/perfft2.m
3,150
utf_8
8216912bde513f4fbc7b59635da9d870
% PERFFT2 2D Fourier transform of Moisan's periodic image component % % Usage: [P, S, p, s] = perfft2(im) % % Argument: im - Image to be transformed % Returns: P - 2D fft of periodic image component % S - 2D fft of smooth component % p - Periodic component (spatial domain) % s -...
github
Ciaran1981/SeAMS-master
invfft2shft.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/invfft2shft.m
308
utf_8
1ee9d3b8e1e84f25b0fb5503595f7bfa
% INVFFT2SHFT - takes inverse fft, quadrant shifts and returns real part. % % Function to `wrap up' taking the inverse Fourier transform % quadrant shifting and extraction of the real part into the one operation % Peter Kovesi October 1999 function ift = invfft2shft(ft) ift = fftshift(real(ifft2(ft)));
github
Ciaran1981/SeAMS-master
quantizephase.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/quantizephase.m
1,944
utf_8
c4d5690a2daf54b63e4c2fd0ccecb488
% QUANTIZEPHASE Quantize phase values in an image % % Usage: qim = quantizephase(im, N) % % Arguments: im - Image to be processed % N - Desired number of quantized phase values % % Returns: qim - Phase quantized image % % Phase values in an image are important. However, despite this, they can be % qua...
github
Ciaran1981/SeAMS-master
homomorphic.m
.m
SeAMS-master/Utilities/MatlabFns/FrequencyFilt/homomorphic.m
5,424
utf_8
51155a84aab5eba10f502eb788a81b16
% HOMOMORPHIC - Performs homomorphic filtering on an image. % % Function performs homomorphic filtering on an image. This form of % filtering sharpens features and flattens lighting variantions in an image. % It usually is very effective on images which have large variations in % lighting, for example when a subject ap...
github
Ciaran1981/SeAMS-master
uigetvariables.m
.m
SeAMS-master/Utilities/Miscellaneous/uigetvariables.m
16,902
utf_8
f4620a99811d119011fab23a47c295ed
function varout = uigetvariables(prompts,intro,types,ndimensions) %% % uigetvariables Open variable selection dialog box % % VARS = uigetvariables(PROMPTS) creates a dialog box that returns % variables selected from the base workspace. PROMPTS is a cell array of % strings, with one entry for each variable you w...
github
Ciaran1981/SeAMS-master
manual_thresh.m
.m
SeAMS-master/Utilities/manual_thresh/manual_thresh.m
19,169
utf_8
2792d784903dcb7c3d71724a8f33502a
function [level,level2,bw] = manual_thresh(im,cmap,defaultLevel) %mainfunction % manual_thresh Interactively select intensity levels band for image thresholding. % manual_thresh launches a GUI (graphical user interface) for thresholding % an intensity input image, IM. IM is displayed in the top of the figure ...
github
Ciaran1981/SeAMS-master
ImportAsciiRaster.m
.m
SeAMS-master/Utilities/ImportAsciiRaster/ImportAsciiRaster.m
10,699
utf_8
1de28239be4ab728680d905e26553ca9
function [Z R] = ImportAsciiRaster(varargin) % [Z R] = ImportAsciiRaster(...) % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % Produced by Giuliano Langella % % % ...
github
Ciaran1981/SeAMS-master
membership2.m
.m
SeAMS-master/Utilities/Membership/membership2.m
489
utf_8
6c25e6d8e6b2b2546bccb5fbf7de2f27
function [Seg2] = membership2(Seg,Mem_Class_BW) % Author: Ciaran Robb % Membership function % Acknowledgement: Peter Kovesi for his renumberregions function % Outputs: a int32 labeled image from an arbitrarily labeled one % Seg = segmented image labeled with integers % Inputs % Mem_Class_BW = either a...
github
Ciaran1981/SeAMS-master
membership.m
.m
SeAMS-master/Utilities/Membership/membership.m
587
utf_8
f620500170f18624167d1ed67d895143
%Membership function %Outputs a binary image & int32 label image %Seg = segmented image labeled with integers %label_Vector = vector with segment properties(eg cluster val, slope val) %statement = boolean rule e.g KMEAN ==3 or >3 or whatevs function [Seg2] = membership(Seg,statement) Seg2 = Seg; Allow =...
github
Ciaran1981/SeAMS-master
colorscale2.m
.m
SeAMS-master/Utilities/colorscale/colorscale2.m
1,041
utf_8
392570709b7350e76d705821abb7e599
%Allows visualisation of labeled object properties (such as a kmean %value or slope value)via a colormap % %output results are superimposed on a background image such as a dem function colorscale2(Scale,Seg,hillshd) %Scale = array with each object value eg mean slope or kmean value %Props = the image objects - ...
github
Ciaran1981/SeAMS-master
SeAMS.m
.m
SeAMS-master/MainMenu/SeAMS.m
5,600
utf_8
5fa29b89852c96072094fe511839969d
function varargout = SeAMS(varargin) % SEAMS MATLAB code for SeAMS.fig % SEAMS, by itself, creates a new SEAMS or raises the existing % singleton*. % % H = SEAMS returns the handle to a new SEAMS or the handle to % the existing singleton*. % % SEAMS('CALLBACK',hObject,eventData,handles,...) cal...
github
Ciaran1981/SeAMS-master
OBIAmainGUI.m
.m
SeAMS-master/MainMenu/OBIAmainGUI.m
5,739
utf_8
2c1ea18d821c12f3cf7451713c0063c6
function varargout = OBIAmainGUI(varargin) % OBIAMAINGUI MATLAB code for OBIAmainGUI.fig % OBIAMAINGUI, by itself, creates a new OBIAMAINGUI or raises the existing % singleton*. % % H = OBIAMAINGUI returns the handle to a new OBIAMAINGUI or the handle to % the existing singleton*. % % OBIAMAING...
github
Ciaran1981/SeAMS-master
GetSkewAndKurtosis.m
.m
SeAMS-master/Stats/GetSkewAndKurtosis.m
1,249
utf_8
265531d940e9066de44d2df78ff072ba
%------------------------------------------------------------------------------------------------------ % Get the skew and kurtosis from the histogram bin values. % Uses formulas from http://itl.nist.gov/div898/handbook/eda/section3/eda35b.htm % Courtesy of Image Analyst, Matlab Central file exchange function [skew...
github
Ciaran1981/SeAMS-master
Ctextprops.m
.m
SeAMS-master/Stats/Ctextprops.m
1,569
utf_8
7836ad08a9f063364a2e3e2c4e7a3c65
%Author: Ciaran Robb % Segment Pixel statistics % Acknowledgements to Image Analyst for the GetSkewAndKurtosis function % Loops through each region/segment extracting pixel statistics and outputs % the following: % TextStats = 7 by n of statistical props of region pixel vals % Each 'stat vector' can be called v...
github
Ciaran1981/SeAMS-master
cotextureprops.m
.m
SeAMS-master/Stats/cotextureprops.m
1,209
utf_8
e910c9d832aa6f0bd12d3d0fd0c00a56
%Graycoprops loop %Author: Ciaran Robb %This function allows texture propeties based on relationship 'in space' %rather than simply the DN vals %Takes the binary mask from regionprops('Image') and calls masked pixel %values from an image %struct = regionprops.Image (Boundingbox of object with mask pixels==1 %s...
github
Ciaran1981/SeAMS-master
SVC.m
.m
SeAMS-master/Stats/SVC.m
28,567
utf_8
b770fcfa307625b05a5e1d8852cb9403
% Statistics, visualisation and classification % Author Ciaran Robb % Written with GUIDE, this GUI provides functions for the calculation and % display and classification of segment statistics. % Acknowledgements for material adapted form the Matlab file exchange: % Anton Semechko for the adaptation of his fuzzy cmean...
github
Ciaran1981/SeAMS-master
ImageStats.m
.m
SeAMS-master/Stats/ImageStats.m
28,724
utf_8
b438db423579b557837bd65143727707
% Statistics, visualisation and classification % Author Ciaran Robb % Written with GUIDE, this GUI provides functions for the calculation and % display and classification of segment statistics. % Acknowledgements for material adapted form the Matlab file exchange: % Anton Semechko for the adaptation of his fuzzy cmean...
github
Ciaran1981/SeAMS-master
kmeansxx.m
.m
SeAMS-master/Classify/kmeans++/kmeansxx.m
2,910
utf_8
a3faae98bf59aaeeba031cc316e05061
function [L,C] = kmeansxx(X,k) %KMEANS Cluster multivariate data using the k-means++ algorithm. % [L,C] = kmeans(X,k) produces a 1-by-size(X,2) vector L with one class % label per column in X and a size(X,1)-by-k matrix C containing the % centers corresponding to each class. % Version: 2013-02-08 % Authors: ...
github
Ciaran1981/SeAMS-master
kxxGUI.m
.m
SeAMS-master/Classify/kmeans++/kxxGUI.m
8,900
utf_8
8620835bd7444ddbb0366f2a34c2e802
function varargout = kxxGUI(varargin) % KXXGUI MATLAB code for kxxGUI.fig % KXXGUI, by itself, creates a new KXXGUI or raises the existing % singleton*. % % H = KXXGUI returns the handle to a new KXXGUI or the handle to % the existing singleton*. % % KXXGUI('CALLBACK',hObject,eventData,handles,...
github
Ciaran1981/SeAMS-master
SegmentationGUI.m
.m
SeAMS-master/SegmentationOBIA/SegmentationGUI.m
11,708
utf_8
1dc49d3367b35a65a4b2b36ccc19b9c4
% Segmentation GUI % Authour: Ciaran Robb % Written with guide, this GUI provides three means of segmentating an % image and visualising the results % Acknowledgements for adaptation of file exchange/publically availbale: % Sean Lankton & Shai Bagon for the wrapping of EDISON C++ code % Sylvan Boltz for the SRM functi...
github
Ciaran1981/SeAMS-master
msseg.m
.m
SeAMS-master/SegmentationOBIA/MeanShift/msseg.m
1,378
utf_8
657017fe6adeb096ffb573671357c921
% Performing mean_shift image segmentation using EDISON code implementation % of Comaniciu's paper with a MEX wrapper from Shai Bagon. links at bottom % of help % % Usage: % [S L grad conf] = msseg(I,hs,hr,M) % % Inputs: % I - original image in RGB or grayscale % hs - spatial bandwith for mean shift...
github
Ciaran1981/SeAMS-master
edison_wrapper.m
.m
SeAMS-master/SegmentationOBIA/MeanShift/edison_matlab_interface/edison_wrapper.m
6,071
utf_8
e38b90d4d1c4979c05527087208324c4
function [varargout] = edison_wrapper(rgbim, featurefun, varargin) % % Performing mean_shift operation on image % % Usage: % [fimage labels modes regSize grad conf] = edison_wrapper(rgbim, featurefunc, ...) % % Inputs: % rgbim - original image in RGB space % featurefunc - converting RGB to some feature space in ...
github
Ciaran1981/SeAMS-master
srm_getborders.m
.m
SeAMS-master/SegmentationOBIA/srm/srm_getborders.m
226
utf_8
9f24b148c7e587960b326e5d9bfd11e3
function borders = srm_getborders(map) dx = conv2(map, [-1 1], 'same'); dy = conv2(map, [-1 1]', 'same'); dy(end,:) = 0; % ignore the last row of dy dx(:,end) = 0; % and the last col of dx borders = find(dx ~= 0 | dy ~= 0);
github
Ciaran1981/SeAMS-master
srm.m
.m
SeAMS-master/SegmentationOBIA/srm/srm.m
4,375
utf_8
472ad0601f793c588e0136ebb29bf385
% Statistical Region Merging % % Nock, Richard and Nielsen, Frank 2004. Statistical Region Merging. IEEE Trans. Pattern Anal. Mach. Intell. 26, 11 (Nov. 2004), 1452-1458. % DOI= http://dx.doi.org/10.1109/TPAMI.2004.110 %Segmentation parameter Q; Q small few segments, Q large may segments function [maps,images, im_fin...
github
Ciaran1981/SeAMS-master
srmGUI.m
.m
SeAMS-master/SegmentationOBIA/srm/srmGUI.m
9,479
utf_8
1e16b5c97f7de9d1b52d0dedb28c309c
function varargout = srmGUI(varargin) % SRMGUI MATLAB code for srmGUI.fig % SRMGUI, by itself, creates a new SRMGUI or raises the existing % singleton*. % % H = SRMGUI returns the handle to a new SRMGUI or the handle to % the existing singleton*. % % SRMGUI('CALLBACK',hObject,eventData,handles,...
github
mws262/MATLABImpedanceControlExample-master
Plotter.m
.m
MATLABImpedanceControlExample-master/Plotter.m
6,269
utf_8
0a6c3e6b52f07e49e907914089d1e67e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Animate the acrobot after the MAIN script has been run. % % Matthew Sheen, 2014 % % Note: data is passed from this to the callback functions in the figure % object's UserData field. % For compatibility with 2014a and earlier, I use se...
github
tahmidmehdi/machine_learning_classification-master
TrainTestSVM.m
.m
machine_learning_classification-master/TrainTestSVM.m
1,805
utf_8
8041dedecf34ea1f501c246751569c0f
% Author: Tahmid Mehdi % Trains data using SVM and performs k-fold cross-validation % Performs SVM algorithm to classify data in X and calculates error rate and time elapsed. % PRE: X is the matrix of inputs % Y is the vector of class attributes % folds is the number of tests to perform (int >=1) function [...
github
tahmidmehdi/machine_learning_classification-master
TestKMeans.m
.m
machine_learning_classification-master/TestKMeans.m
1,128
utf_8
af5566d160717bf64d32a733098afa70
% Author: Tahmid Mehdi % Performs and tests k-means clustering % Performs k-means algorithm to classify data in X and calculates accuracy rate and time elapsed. % PRE: X is the matrix of inputs % Y is the vector of class attributes % k is the number of clusters (int >0) % folds is the number of tests t...
github
tahmidmehdi/machine_learning_classification-master
TestFCM.m
.m
machine_learning_classification-master/TestFCM.m
1,283
utf_8
fb5bf28683276c30e65d6ee0d4c4e603
% Author: Tahmid Mehdi % Performs and tests fuzzy c-means clustering % Performs fcm algorithm to classify data in X and calculates accuracy rate and time elapsed. % PRE: X is the matrix of inputs % Y is the vector of class attributes % c is the number of clusters (int >0) % folds is the number of tests...
github
nickabattista/Ark-master
NonLinear_ODE.m
.m
Ark-master/Nonlinear_ODE_Spectral/NonLinear_ODE.m
20,901
utf_8
70f47302bfe235e99dcc0ec99d3e959a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This is a non-linear pseudo-spectral ODE solver over all R % % Author: Nicholas A. Battista % Institution (current): The College of New Jersey (TCNJ) % Institution (created): Rochester Institute of Technology % Date Created: August ...
github
nickabattista/Ark-master
Taylor_Series_Terms.m
.m
Ark-master/MAT331_Numerical_Analysis/Taylor_Series/Taylor_Series_Terms.m
1,496
utf_8
23bbfc1ba8c172b19f75aa4a24074bc9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 1/10/18 % % FUNCTION: for a provided error tolerance, computes # of terms necessary % in Taylor Series for a particular x value % % Inputs: x: ...
github
nickabattista/Ark-master
Taylor_Series_Playtime.m
.m
Ark-master/MAT331_Numerical_Analysis/Taylor_Series/Taylor_Series_Playtime.m
1,774
utf_8
b88081c05b72e55056365cd05e0cdfb1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 1/10/18 % % FUNCTION: Finds scaling relation for # of terms in Taylor Series as moves % away from Maclaurin Centered Point at a=0. % % Inputs: x:...
github
nickabattista/Ark-master
Second_Order_BVP_Mixed_3_5Pt_Stencil.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/Second_Order_BVP_Mixed_3_5Pt_Stencil.m
3,894
utf_8
54b56c3da6ff31f36ccfd228dbfc6e2d
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/4/18 % % FUNCTION: compute the solution of the following BOUNDARY VALUE PROBLEM: % u'' = f % u(0) = 1; u(1) = 2; % % NOT...
github
nickabattista/Ark-master
Second_Order_BVP.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/Second_Order_BVP.m
3,500
utf_8
09b14df8c6b1942cd687613c578130a4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/4/18 % % FUNCTION: compute the solution of the following BOUNDARY VALUE PROBLEM: % u'' = f % u(0) = 1; u(1) = 2; % % NOT...
github
nickabattista/Ark-master
Stencils_5Pt.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/Stencils_5Pt.m
1,290
utf_8
656f69aeb44c750c2ba7b1b609a2d578
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/1/18 % % FUNCTION: computes stencil weights (coefficients) for a 4-point stencil % that approximates a function value at xR (the reference p...
github
nickabattista/Ark-master
compute_Second_Order_BVP_Error.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/compute_Second_Order_BVP_Error.m
2,043
utf_8
5f67163ca63cbd4a16035855c3c49a3d
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/4/18 % % FUNCTION: compute the error when approximating the solution to the % following BOUNDARY VALUE PROBLEM: % u'' = f % ...
github
nickabattista/Ark-master
Second_Order_BVP_5Pt_Stencil.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/Second_Order_BVP_5Pt_Stencil.m
4,010
utf_8
48a82fd2427fae0cfe43071856175377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/4/18 % % FUNCTION: compute the solution of the following BOUNDARY VALUE PROBLEM: % u'' = f % u(0) = 1; u(1) = 2; % % NOT...
github
nickabattista/Ark-master
compute_Second_Order_BVP_Error_Compare.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/compute_Second_Order_BVP_Error_Compare.m
3,127
utf_8
21af1be0831976b4cd1451230a67c305
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/22/18 % % FUNCTION: compute the error when approximating the solution to the % following BOUNDARY VALUE PROBLEM: % u'' = f % ...
github
nickabattista/Ark-master
Stencils.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Differentiation/Stencils.m
1,116
utf_8
930b0fc84379ae1eb2cfee47074d22c5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 3/1/18 % % FUNCTION: computes stencil weights (coefficients) for a 4-point stencil % that approximates a function value at xR (the reference p...
github
nickabattista/Ark-master
Newton_Cotes_Romberg.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Integration/Newton_Cotes_Romberg.m
5,497
utf_8
424ac11bd5d63d087d7fc44b5c33e384
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nicholas Battista % Institution: The College of NJ (TCNJ) % Email: battistn[at]tcnj[.]edu % Created: March 25, 2018 % % This function numerically integrates a function, f(x) between integration % bounds a and b. This function it int...
github
nickabattista/Ark-master
Newton_Cotes.m
.m
Ark-master/MAT331_Numerical_Analysis/Stencils/Integration/Newton_Cotes.m
3,335
utf_8
46c00af417f2974f80e6471191cd6520
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %Author: Nicholas Battista %Institution: The College of NJ (TCNJ) %Email: battistn[at]tcnj[.]edu %Created: March 25, 2018 % %This function numerically integrates a function, f(x) between integration %bounds a and b. This function it integrate...
github
nickabattista/Ark-master
Standard_Interp.m
.m
Ark-master/MAT331_Numerical_Analysis/Interpolation/Standard_Interp.m
1,815
utf_8
0a5cae430d93cc3953f6f8a45aa1aa36
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 2/5/18 % % FUNCTION: computes interpolation polynomial using the standard monomial % basis % % Inputs: N: number of data points to interpola...
github
nickabattista/Ark-master
test_QR_Algorithm.m
.m
Ark-master/MAT331_Numerical_Analysis/Numerical_Linear_Algebra/test_QR_Algorithm.m
3,246
utf_8
ea4c757edaa0e519c6356590332f4b73
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 5/1/18 % % FUNCTION: computes numerical eigenvalues using QR Algorithm % % Inputs: % % Returns: % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
nickabattista/Ark-master
Fixed_Point_Iteration.m
.m
Ark-master/MAT331_Numerical_Analysis/Root-Finding/Fixed_Point_Iteration.m
1,574
utf_8
602b4376febeab2881c2b51d42fb740e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Author: Nick Battista % Instutition: TCNJ % Course: MAT 331 (Numerical Analysis) % Date: 1/20/18 % % FUNCTION: computes the root of a function using Fixed-Pt Iteration to % within a specified error tolerance % % Inputs: p0: ...
github
nickabattista/Ark-master
Newton_Cotes.m
.m
Ark-master/Integration/Newton_Cotes.m
3,048
utf_8
e91ce9d08461d61b54073fc91837df83
function Newton_Cotes() %Author: Nicholas Battista %Institution: The College of NJ (TCNJ) %Email: nickabattista[at]gmail[.]com %Date of Last Revision: August 14, 2014 %This function numerically integrates a function, f(x) between integration %bounds a and b. This function it integrates is found on line 134. %It comp...
github
nickabattista/Ark-master
bingo_bango.m
.m
Ark-master/Bingo/bingo_bango.m
21,032
utf_8
7a2752fd5c3bab0d3910190fa6eb6e8d
function bingo_bango() % Author: Nicholas A. Battista % University: UNC-CH % First Created: January 19, 2015 % Last Revision: May 5, 2015 % % This code plays the game of Bingo in a Monte Carlo setting, % averaging N simulated games of Bingo for a specified number of bingo % boards. % % It tries to answer the following...
github
nickabattista/Ark-master
Interp.m
.m
Ark-master/Interpolation/Interp.m
5,337
utf_8
fe9742b32ce148e917ab015a010fa097
function Interp() %Author: Nicholas Battista %Date of Last Revision: August 14, 2014 %This function interpolates a function, f(x) [on line 228], using the %Newton Interpolation Scheme. %It interpolates over a uniform grid on interval [a,b] for a bunch of %different studies using an increasing number of interpolatio...
github
nickabattista/Ark-master
Power_Iteration.m
.m
Ark-master/MATBIO330_Mathematical_Biology/Class_Codes/Power_Iteration.m
1,966
utf_8
6f24f179cd155381defe85df2f4ba092
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % FUNCTION: Computes approximations to the largest eigenvalue of a 3x3 % matrix using the Power Iteration. It then plots those % approximations and plots the error betweens successive % approximations % % Author: N...
github
nickabattista/Ark-master
royalRoads.m
.m
Ark-master/MATBIO330_Mathematical_Biology/Class_Codes/Genetic_Algorithms/speedy_GA/royalRoads.m
297
utf_8
c5c668ec83e1ad6483374cf69eb4a87a
% The royal roads function. The chromosome length (i.e. len) % should be a multiple of 8 function fitness=R1(pop) [popSize len]=size(pop); fitness=zeros(popSize,1); for i=1:8:len temp=sum(pop(:,i:i+7),2); temp=double(temp==8); fitness=fitness+temp*8; end fitness=fitness';
github
nickabattista/Ark-master
oneMax.m
.m
Ark-master/MATBIO330_Mathematical_Biology/Class_Codes/Genetic_Algorithms/speedy_GA/oneMax.m
66
utf_8
31a9c0ac4446868351f87baa83fc5051
% onemax function fitness=oneMax(pop) fitness=sum(pop,2)';