image thumbnail

updated 15 days ago

vtkwrite( filename,dataType,varargin ) by Joe Yeh

The function exports multiple 3D vector and scalar field and call Paraview for display (paraview, vector, 3d)

vtkwrite( filename,dataType,varargin )

image thumbnail

updated 27 days ago

toPPT by Jens Richter

toPPT is a powerful tool for generating powerpoint presentations programmatically defined in matlab. (powerpoint, microsoft, windows)

toPPT-1.7c:

print2eps.m

rgb.m

image thumbnail

updated 2 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)

image thumbnail

updated 4 months ago

circVBuf by Jens Henrik Göbbert

circular vector buffer (constant+fast performance, double buffered) (buffer, circular, vector)

circVBuf_speedtest(bufferSz, vectorLen, stepSize, appendT...

circVBuf

plot_circVBuf_speedtest.m

image thumbnail

updated 6 months ago

Efficient Vector Rotation Matrix Routine by Darin Koblick

Efficient Method to Determine a Matrix Needed to Rotate One Vector to Another (vector, rotation, euler)

vecRotMat(f,t)

vecRotMatDemo()

image thumbnail

updated 7 months ago

Between numbers by Håvard Falck

Find values betwee original values in a vector (interpolation, vector, linear)

intAB.m

image thumbnail

updated 7 months ago

CircPlot by Kevin Hellemans

Create circular plot of labeled data (vector, circle, plot)

CircPlot

image thumbnail

updated 8 months ago

Vehicle Network Toolbox Support Package for Vector CAN Devices by MathWorks Vehicle Network Toolbox Team

Stream CAN bus data into MATLAB and Simulink using Vector CAN Devices (vector)

image thumbnail

updated 8 months ago

Interleave Vectors or Matrices by Steven Shimizu

Interleaves rows or columns of any number of vectors or matrices (interleave, matrix, vector)

interleave2(varargin)

image thumbnail

updated 8 months ago

LOGICALEXPAND by Jos (10584)

expand (or shrink) series in a logical vector (v2.0, feb 2014) (logical, find, shrink)

logicalexpand(TF,N)

image thumbnail

updated 8 months ago

Find Index by David Pineda

Give a Index near a value searching sequentially in function of the direcction (find, value, vector)

In=find_index(valor,tolerancia,vector,direccion)

image thumbnail

updated 8 months ago

sum_digits by Daniel Herber

Find the sum of digits of a vector and an interesting script that uses it (digits, number, summation)

sum_digits(x)

dsum_eq_rsum.m

image thumbnail

updated 9 months ago

mat2num by Kashi Khorasani

This function converts the input (matrix) into an integer/number comprised of all of the digits. (num2mat, mat2num, vector)

mat2num.m

image thumbnail

updated 9 months ago

num2mat by Kashi Khorasani

This function converts the input (integer) into a matrix comprised of all of the integer's digits. (num2mat, mat2num, factory)

num2mat.m

image thumbnail

updated 9 months ago

factory: simple factorization vector tool by Kashi Khorasani

This function returns a vector containing all factors of the number N (input) (matrix, function, vector)

num2mat.m

image thumbnail

updated 9 months ago

vind2sub by Chris

MATLAB's ind2sub function implemented to return a variable length vector (vector, matrix, utility)

indices=vind2sub(siz, ind)

image thumbnail

updated 9 months ago

LOGICALFIND by Jos (10584)

Find occurrences of consecutive non-zeros in a vector (v1.0, jan 2014) (find, matrices, search)

logicalfind(V, N)

image thumbnail

updated 12 months ago

Oommf vector data file to Matlab array by Héctor Corte

Imports Oommf vector data files saved as text into Matlab (oommf, micromagnetism, import)

[data]=oommf2matlab(fileToRead1)

image thumbnail

updated 1 year ago

Convert a symbolic expresion to a vector by Luis Erasmo Miranda

convert a symbolic expression to a vector with length of the number of terms of the expression (symbolic, vector, convert)

R=sym2vec(r)

image thumbnail

updated 1 year ago

Shift Vector by Sebastian

Shifts a row or column vector by an input number of elements (shift, vector, shift vector)

shiftVector(A,shiftsize,shiftMode)

image thumbnail

updated 1 year ago

quiverwcolorbar by Melissa Day

Generates a quiver plot colored according to vector magnitude and/or user specified axis boundaries. (quiver, vector, velocity)

quiverwcolorbar.m

image thumbnail

updated 1 year ago

Divergence-Curl Demo by Teja Muppirala

A simple, easy-to-use visualization tool for vector fields. ベクトル場の発散、回転を可視化表示します (teaching, divergence, vector)

image thumbnail

updated 1 year ago

Point cloud normal vector by Jered Wells

NORMND computes the vector normal to points in an N-D point cloud (eigenvector, eigenvalue, normal)

normnd(data,varargin)

image thumbnail

updated 1 year ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

varargout=findvalues(vector,yvalue)

image thumbnail

updated almost 2 years ago

Arrow3 Version 5 by Tom Davis

Draws lines with directional arrowheads. (annotation, customization, arrow)

hn=arrow3(p1,p2,s,w,h,ip,alpha,beta)

image thumbnail

updated almost 2 years ago

printf by Petter

Multiple file pointers. List printing features. Merged fprintf and sprintf. (vector, matrix, format)

printf(varargin)

image thumbnail

updated 2 years ago

NEXTPERMPOS by Jos (10584)

the next combination of values in specific positions (extension of PERMPOS) (permutation, combination, large)

nextpermpos(C)

image thumbnail

updated 2 years ago

Draw line with Arrows in 3D by Sabesan

draw_line3 draw line with directional arrow/arrows for the given 3D vector coordinates. (arrow, line in 3d, vector)

draw_line3(p1, p2, varargin)

image thumbnail

updated 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

Binary search for closest value in an array by Benjamin Bernard

Returns closest value and corresponding index in an increasingly ordered array. (binary search, search, closest)

closest_value(arr, val)

image thumbnail

updated 2 years ago

Round Toward Vector of Values by Tom R

Round values towards a given vector of choices. (round, fix, floor)

newnums=roundtowardvec(X,roundvec,type)

image thumbnail

updated 2 years ago

Guide Basico by Jorge

Ingresa vector y comparacion (guide, media, desviacion)

control2(varargin)

image thumbnail

updated 2 years ago

vector_plane_intersect by Val Schmidt

A function to fine the point where a line intersects a plane. (mathematics, line, plane)

vector_plane_intersect(Vo,V,C)

image thumbnail

updated 2 years ago

Normalize N-D Vectors in Single Matrix or N Component Matrices by Ioannis Filippidis

Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. (normalize, matrices, vector)

normvec(varargin)

vnorm(A,varargin)

usage_example_normvec.m

image thumbnail

updated 2 years ago

Repeated Values by Mike Sheppard

Finds all repeated values for input X, and their attributes. (data exploration, statistics, mathematics)

[RV,NR,POS,IR]=repval(varargin)

image thumbnail

updated 2 years ago

vecfun by Adam Gripton

Applies a function to each entry of an N-dimensional array comprised of vectors. (data processing, vector, array)

M=vecfun(f,A,dim)

image thumbnail

updated almost 3 years ago

Adjust "quiver" arrowhead size by Kevin J. Delaney

Lets user easily tweak vectors plotted by "quiver", making arrowheads bigger or smaller. (quiver, arrowhead, vector)

adjust_quiver_arrowhead_size(quivergroup_handle, scaling_...

image thumbnail

updated almost 3 years ago

Interleave by Assaf Mushinsky

Interleave any number of vectors to one column vector (interleave, vector)

interleave(varargin)

image thumbnail

updated 3 years ago

arrayadapt by Armin Schmidt

A C++ wrapper class for MATLAB's mxArray type (mex, c, matrix)

image thumbnail

updated 3 years ago

2D Progressive Vector Diagram by Isaac Mancero Mosquera

Sequential Vector plot. Vector components x, y are required. User can define the initial position. (vector, sequence, progressive vector di...)

ipvd(vx,vy,xo,yo)

image thumbnail

updated 3 years ago

quiverc.m--updated with new features by Liang kuang

In this updated code,new features including colorbar, samesize vectors plottting are included (vector, quiverc, same size vector)

quiverc(varargin)

image thumbnail

updated 3 years ago

Inversion every 2D slice for arbitrary Multi-dimension array. by Xiaodong

Inverse every 2D slice for an arbitrary N-D array (M). (inversion, inverse, array)

multinv(M)

image thumbnail

updated 3 years ago

Closest value(s) from a list by Javier Lopez-Calderon

Returns the closest value from a list for each target value (find, min, vector)

closest(data, target)

image thumbnail

updated 3 years ago

quiver3Dpatch by Kevin Moerman

Plotting of colored 3D arrows based on patch command (quiver, color, 3d)

quiver3Dpatch.m

image thumbnail

updated 3 years ago

Shortest Distance Between Two Lines in N dimensions by Alexander Brodsky

Function calculates shortest distance between two lines presented by two points for each line. (2d, 3d, intersection)

[dist Pc Qc]=distBW2lines(L1,L2)

image thumbnail

updated 3 years ago

Vector to colon notation by Javier Lopez-Calderon

Converts a vector into a string with its MATLAB colon notation (single resolution). (single resolution, vector, string)

vect2colon(vec, varargin)

image thumbnail

updated 3 years ago

Shuffle by Jan Simon

Random permutation of array elements, C-Mex: much faster than RANDPERM (statistics, vector, mix)

Shuffle(Arg1, Arg2, Arg3)

uTest_Shuffle(doSpeed, doBias)

image thumbnail

updated almost 4 years ago

Plot 3d vectors by Pirmin Borer

Plot real 3d arrows from .stl file. Similar to quiver (quiver3, vector, vector plot)

h=vector3d(X,Y,Z,U,V,W,varargin)

stlread(file)

image thumbnail

updated almost 4 years ago

FINDARRAY by Mukhtar Ullah

Find one array within another. (find, vector, array)

findarray(a,b,flag)

image thumbnail

updated 4 years ago

sinspace by Sky Sartorius

Generates a sine-spaced vector with elements clustered at one of the two endpoints (clustered, clustering, sine)

sinspace(d1, d2, n, factor)

Contact us