Dsinx
% Too simple to be stated here.%% Programmed and Copyright by J. Zhang: xyzhangj@physics.ucla.edu% $Version=0.1 $Date=2010/09/07
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Add line(s) to 2D plots with specified colors Download |
Normal interpolation methods takes equally spaced/user-generated x-data as input and outputs new interpolated y-data with non-uniform spacing.This function generates y-data with equal spacing, and interpolates/generates the x-data (linear interpolation). The spacing can be specified as optional...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Interpolate x-data Download |
Plot data in a figure, and then interactively choose regression area. The result from polyfit is returned.Example:x=1:1:10;y=sin(x);f=figure; plot( x,y );[p,h] = figreg( f, 2 );%fit a second order polynom to selected region in plot
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Interactive regression on a plot Download |
[X,Y,Z]=polyrevolve(x,z,n)This function revolves a 2D polygon around the Z-axis. It copies the 2D data points evenly around the axis and produces a 3D data set suitable for input to MESHGRID and GRIDDATA to create a 3D surface.Useful to convert 2D axisymmetric data to 3D surfaces for presentation...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): polyrevolve Download |