X Y Grid Math
function [coef, RSquared]=plotdata(xi,yi,polyorder) A simple data plotting function, useful for inspecting x,y data. The function accepts data in the form of a single vector, a pair of vectors "x" and "y", or a single NxM or MxN matrix with the independent variable (x) in first row or column...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): plotdata, version 2 Download |
BLOCK_LEVINSON(Y, L) solves the matrix equation T * x = y, where T is a symmetric matrix with block Toeplitz structure, and returns the solution vector x. The matrix T is never stored in full (because it is large and mostly redundant), so the input parameter L is actually the leftmost "block...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Block Levinson solver Download |
function [h1, h2] = plot_dir3 (vX, vY, vZ) Plotting x-y-z variables with direction indicating vector to the next element. Example vX = linspace(0,2*pi, 10)'; vY = sin (vX); vZ = cos (vX); plot_dir3(vX, vY, vZ);
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Plot With Direction 3D Download |
This program generates a cartesian mesh [x,y,z] from a 3D curve, and a vector of associated radii.It takes four inputs, two of which are optional: * P (3D curve) = 3xN matrix with each point of the curve given in correct order and columnwise. * R (Radii) = 1xN vector with positive scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 174.08 KB | Download (39): GenCyl Download |
This function takes points drawn on x-y axis and maps them to a sphere in real time. Click and drag on the planar area to draw a series of dots (one graphic object).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Spherical Mapping Drawing Demonstration Download |
AREA_STAIRS(X,Y) is similar to AREA(X,Y). compared to AREA(X,Y), AREA_STAIRS(X,Y) generates stairs between colored regions.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): area_stairs Download |
This program checks whether a point (x,y) lies inside,outside or on a circle defined by 3 other points.Syntax: iscircle(X,Y,x,y), where X=[x1 x2 x3] and Y=[y1 y2 y3]. Thus, a circle can be made out of these 3 points-->(x1,y1), x2,y2)&(x3,y3).Program checks whether point (x,y) lies inside,outside...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Check Whether a Point Lies Inside,Outside or On a Circle Download |
scatterquad2(X,Y,Z) finds the volume under the surface defined by the points (X(i),Y(i),Z(i)) with linear interpolation on the Delaunay triangulation of (X,Y) and Z=0 outside the convex hull of (X,Y).Example:load seamountscatterquad2(x,y,z-min(z)) % returns 190.7996inR = (x>=211.1 & x=-48.35 & y
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): scatterquad2 Download |
ifilter(x,y) or ifilter(y) or ifilter([x y]) or ry=ifilter(x,y,center,width,shape,plotmode,filtermode)Keyboard-operated interactive Fourier filter function for time-series signal (x,y), with keyboard controls that allow you to adjust the filter parameters continuously while observing the effect...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): ifilter: Interactive Fourier filter function, version 3 Download |
suppose we have function of z(x,y). this program computes how the error in x and y will influence the error in z(x,y).error in z we defined asdelta(z)=diff(z,x)*delta(x)+diff(z,y)*delta(y), where delta(x) and delta(y) the errors in x and y measurements.diff(z,y) is the partial derivatives of z...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): uncertainty in measuring Download |
plot3AniAnaglyph(S,params) produces an anaglyph (red/cyan 3D) plot3 animation of the of arguments in cartesian coordinates (S = [X,Y,Z]).The animation includes the evolution and rotation of the arguments confined to a 1x1x1 cube centered at (0,0,0).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (44): plot3AniAnaglyph Download |
x=[i j k]y=[i j k]now run the function anglevec(x,y)you will get the result as the angle between the two vectors.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Angle between two vectors in 3 dimension Download |
h = StemBar(x,y,z,color,width)Function is similar to stem3, but instead of lines with markers plotting3d barsUsage:StemBar(x,y,z) - draws bars with a height z at the values specified in xand y. x, y, z - should be a vectors.StemBar(z) - draws bars with a height z at the xy-planeStemBar(...,color)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): StemBar Download |
PP = PCHIPD(X,Y,D) provides the piecewise cubic polynomial which interpolates values Y and derivatives D at the sites X. This is meant to augment the built-in Matlab function PCHIP, which does not allow the user to specify derivatives.X must be a vector.If Y and D are vectors, then Y(i) and D(i)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Hermite cubic interpolating polynomial with specified derivatives Download |
Converts a regular mesh defined by X,Y and Z into a regular triangulation. The output is patch data (triangles) in the faces d-deDUFd-deDt and vertices d-deDUVd-deDt format. The quadrilateral mesh faces are converted to triangles by splitting the faces into triangles according to the setting...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): mesh2tri Download |
[a,b,c] = InverseKinematicsAM(x,y,z)This function finds the joint configurations for the waist, shoulder and elbow of the RA-01 robotic arm made by Images SI, Inc. It takes in three inputs which are the specifications of the x, y and z positions of the centre of the gripper of the robotic arm....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Inverse Kinematics for RA-01 Robotic Arm by Olawale Akinwale Download |
This function computes the (x,y) locations where two curves intersect. The curves can be broken with NaNs or have vertical segments. It is also very fast (at least on data that represents what I think is a typical application).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Fast and Robust Curve Intersections Download |
Tristan UrsellSub-pixel Resolved 2D ConvolutionMarch 2012 matout=matoverlay(mat1,mat2,x,y); This function takes an input matrix mat1 and creates an image of thematrix mat2 at the position (x,y) in mat1. If (x,y) are floats, then theimage is a sub-pixel bilinear representatoin of mat2 at position...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Matrix Convolution with Sub-Pixel Resolution Download |
Mutual information I(X,Y) measures the degree of dependence (in terms of probability theory) between two random variables X and Y. Is is non-negative and equal to zero when X and Y are mutually independent. Conditional mutual information I(X,Y|Z) is the expected value of I(X,Y) given the value of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Kernel estimate for (Conditional) Mutual Information Download |
PLOTINSET(X, Y, POSITION, WINDOWSIZE, 'xlimit', xlimit, 'ylimit', ylimit) creates a plot of vector Y versus vector X, and on top of it, creates an inset plot of size specified by WINDOWSIZE in the current figure, positioned at the location specified by POSITION.Bottom left corner is the starting...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Plot as Inset Download |