image thumbnail

updated 13 days ago

vector3 by Paul Kassebaum

3-D vector plot. (3d, vector, field)

vector3(x,y,z,u,v,w,varargin)

image thumbnail

updated 10 months ago

1D Finite Element Method (FEM) Example by Cheuk

A 1D finite element method (FEM) example is provided to teach the basics of using FEM to solve PDEs. (finite, element, method)

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 12 months ago

Sum of vectors by Martin

Gives sum of vectors. (sum, vectors)

sumvec

image thumbnail

updated 1 year ago

Calculating Electric field of a dipole using Coulomb's law by Praveen Ranganath

This code computes the Electric Field distribution due to a dipole in a 2-D plane. (electric field, electrostatics, coulombs law)

ElectricFields.m

image thumbnail

updated 1 year ago

Plot sets of vectors starting at the origin by Guilherme Coco Beltramini

Plots vectors starting at the origin in different colors. Useful to compare sets of vectors. (vectors, plot)

plot_vectors(vectors,normalize)

image thumbnail

updated 2 years ago

Bloch Equation Vector Diagram Simulation Toolbox by Robert McCarrick

Two functions that carry out pulses and evolution time periods for an array of spins. (simulation, bloch equations, magnetic resonance)

[Spinsout Sim]=evolution(Spins,Sim)

[Spinsout Sim]=pulse(Spins,Sim)

3pulse.m

image thumbnail

updated 2 years ago

Concatenate arrays with different sizes in Matlab by Andres

This function allows you to concatenate arrays with different sizes padding with NaN where needed. (array, concatenate, function)

[catmat]=padconcatenation(a,b,c)

image thumbnail

updated 2 years ago

Find angles by Siva Srinivas Kolukula

Find angles of triangle and/or quadrilateral when vertices are given. (triangle, quadrilateral, angles)

FindAngles(vertices)

QUADangles(vertices)

TRIangles(vertices)

image thumbnail

updated 2 years ago

Convert ECI to ECEF Coordinates by Darin Koblick

Transform ECI position, velocity and acceleration to ECEF position, velocity & acceleration. (eci, cis, epoch j20000)

ECItoECEF(JD,r_ECI,v_ECI,a_ECI)

JD2GAST(JD)

JD2GMST(JD)

image thumbnail

updated 2 years ago

Convert ECEF to ECI Coordinates by Darin Koblick

Take any vector or series of vectors in the ECEF Coordinate frame and convert them to ECI. (eci, ecef, wgs 84)

ECEFtoECI(JD,r_ECEF,v_ECEF,a_ECEF)

JD2GAST(JD)

JD2GMST(JD)

image thumbnail

updated almost 3 years ago

Matlab 3D vectors to Paraview (via binary VTK file) by William Thielicke

Writes a 3D (x,y,z,u,v,w) vector field to a binary VTK file for Paraview. (paraview, vtk, 3d flow)

makevtk_struc_grid_FEX.m

image thumbnail

updated 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 3 years ago

Space vector representation of three phase signals in stationary and rotating frames by Syed Abdul Rahman Kashif

Space Vector Representation of Three Phase Signals in Stationary and Rotating Frames (space vector, space vector generati..., space vectors)

space_vectors

image thumbnail

updated 3 years ago

Angle between two vectors in 3 dimension by Marwan N

To find the angle between two vectors in three dimensional space. (vectors, three dimensional)

anglevec.m

image thumbnail

updated 4 years ago

Plotvec by Hannes Eilers

Plots any amount of 2D or 3D vectors. (plotvec, vectors, plot)

plotvec(vec, names)

image thumbnail

updated 4 years ago

GPS C/A Code Generator by Dan Boschen

Generates C/A Codes for selected PRNs, up to 37 codes. (coding theory, information theory, gps ca code)

g=cacode(sv,fs)

image thumbnail

updated 5 years ago

Merge two sorted vectors into a sorted vector by Dr. Murtaza Khan

Merge two sorted vectors 'a' and 'b' into a sorted vector 'c' (merge, sorted, vectors)

c=mergesorted(a,b)

testmergesorted.m

image thumbnail

updated 5 years ago

matrixfunction by Pierce Brady

summary (matrices, vectors, for loops)

matrixfun(hFunction,A,B,Dim)

matrixfuncc(hFunction,A,B)

matrixfunccn(hFunction,A,B)

image thumbnail

updated almost 6 years ago

Gram-schmidt orthogonalization GUI by kazeem Yinusa

GUIDE inplementation of the Gram-schmidt orthogonalization procedure. (gui, vectors, normalization)

gramguide(varargin)

image thumbnail

updated almost 6 years ago

Fast Correlation between two vectors by Francesco Pozzi

fastcorrelation is a fast and numerically stable algorithm for computing the correlation (in C) (algorithm, vectors, correlation)

fastcorrelation(x, y)

slowcorrelation(x, y)

image thumbnail

updated 6 years ago

Quiverc by Bertrand Dano

Creates a color quiver plot with arrows colors according to the magnitude of the vector. (coding theory, information theory, quiver)

quiverc(varargin)

image thumbnail

updated almost 7 years ago

uvcurv2orth by yair suari

rotation of u and v vectors from curvilinear grid to orthogonal grid (chemistry, physics, vectors)

image thumbnail

updated 7 years ago

andop by Antonio Trujillo-Ortiz

Angle of the scalar product of two vectors. (linear algebra, angle, dop product)

andop(A,B,s)

image thumbnail

updated 7 years ago

Random deletion of matrix vectors by abhay

This is a prototype and essentialy a first version from a relatively novice matlab user. (random, deletion, prototype)

B=delmat(A,idx,dim)

hablossranddel.m

image thumbnail

updated 8 years ago

cgrscho by Antonio Trujillo-Ortiz

Classical Gram-Schmidt orthogonalization procedure. (linear algebra, orthogonalization, gramschmidt)

cgrscho.m

image thumbnail

updated 8 years ago

mgrscho by Antonio Trujillo-Ortiz

Modified Gram-Schmidt orthogonalization procedure. (linear algebra, orthogonalization, gramschmidt)

mgrscho.m

image thumbnail

updated 8 years ago

anxp by Antonio Trujillo-Ortiz

Angle of the cross product of two vectors. (linear algebra, angle, cross product)

anxp(A,B)

image thumbnail

updated 8 years ago

Poincare Sphere Plot of Polarimetry Stokes Vectors by Jeffrey Roth

This routine plots the Stokes vectors on a 3-D Poincare sphere using a graphical user interface. (chemistry, physics, poincare sphere)

poincare(varargin)

image thumbnail

updated 9 years ago

usercolormap by Yo Fukushima

usercolormap lets you create your own colormap in a simple way. Intensity scale can be respected. (annotation, customization, colormap)

image thumbnail

updated almost 10 years ago

LINSPACEM by Mukhtar Ullah

Compact/fast version of LINSPACEN(by Duane Hanselman). (matrices, linspace, vectors)

image thumbnail

updated almost 10 years ago

multiresolution_subtract.m by Daniel Feldman

Subtracts vectors @ different resolution. (subtract, vectors, different)

image thumbnail

updated 10 years ago

KMINIMA by Mukhtar Ullah

Specified number of minima. (minima, specified number, vectors)

image thumbnail

updated 10 years ago

KMAXIMA by Mukhtar Ullah

Specified number of maxima. (maxima, specified number, vectors)

image thumbnail

updated 11 years ago

stationary by James Rooney

Stationary gives the index points for stationary points in the function described by vectors x and y (stationary, points, index)

[ind]=stationary(x,y,type)

stationtest(type)

Contact us