Main Content
8 results
Advanced techniques in GUI building with GUIDE. Techniques include: multi-window GUIs, application.
main(varargin)
- MAIN M-file for main.fig
threshGui(varargin)
- THRESHGUI M-file for threshGui.fig
Five minute video about building GUIs in MATLAB.
untitled(varargin)
- UNTITLED M-file for untitled.fig
Solid object reconstructed from slice images in parallel planes.
isodd(n)
- ISODD returns true if the input is odd.
best_correlation_index(indices_by_radius, params)
- BEST_CORRELATION_INDEX tells which of the indices (which correspond to
image2angularintesity(vi, I, params)
- This function transforms the image such that each set of pixels that radiate
main.m
- Clean the slate
make_odd_by_odd(I)
- MAKE_ODD_BY_ODD strips a row and or a column so that it will be
Makes colormaps that smoothly blend from one color to another to optionally a third.
makeColorMap(varargin)
- MAKECOLORMAP makes smoothly varying colormaps
Companion Software
vertrap(b,h,a,p,req)
- VERTRAP Horizontal trapezoid shape routine.
reaction(vectors,coords,couples)
- REACTION Finds the reaction force and moment needed to balance a force.
mag(inVector, direction)
- MAG Returns the magnitude of a vector.
diagramintegral(x,y)
- DIAGRAMINTEGRAL Integral of the given numerical data.
rise2xy(inputs)
- RISE2XY Converts vectors in rise-run format to standard form.
ppstress(StressState)
- PPSTRESS The principle planes of a stress state.
straintr(StrainState,theta)
- STRAINTR Stress rotation.
showrect
- SHOWRECT Draws a rectangle on the current axis.
fixedfixed(x,s,m,a,L,E,I)
- FIXEDFIXED Redundant support moments and forces.
showx(x,colour)
- SHOWX Draws a line across the current axis.
leg(knownleg,hypotonous)
- LEG Finds the leg length of a right triangle.
pristrai(State,option,poisonts)
- PRISTRAIN Principal strains.
channel(b,h,bt,lt,orient,req)
- CHANNEL U-shape shape routine.
showx(y,colour)
- SHOWY Draws a line across the current axis.
ispos(x)
- ISPOS True for positive numbers.
ibeam(b,h,bt,wt,orient,req)
- IBEAM I-beam shape routine.
threevector(knowns, unknowns, couples)
- THREEVECTOR Solves for three force vectors of known direction only.
rad2xy(inputs)
- RAD2XY Converts vectors in radian angles to standard form.
makepins(a,L,supports)
- MAKEPINS subroutine for redundancy routine.
comp(part,req)
- COMP Composite shape routine.
interpolate(x,y,invalue)
- INTERPOLATE Linear interpolation for a given value.
rain2ess(StrainState,E,poisonts)
- STRAIN2STRESS Converts strain to stress.
stresstr(StressState,theta)
- STRESSTR Stress rotation.
rectangle(b,h,req)
- RECTANGLE Rectangular shape routine.
showcirc
- SHOWCIRC Draws a circle on the current axis.
matprop
- MATPROP Material properties look up.
Animation of Mars Rover
Movable, stretchable zoom box in parent axes controls axes limits in all children axes.
expandaxis(perleft, perright, perdown, perup)
- EXPANDAXIS Extends the current axis in any or all directions.
span(input)
- SPAN finds the range of a vector.
zoomBox(hParentAxes, hChildAxes, updateMode)
- ZOOMBOX creates a resizable zoom box.
refreshAxesAndZoomBoxFromAppData(hParentAxes, updateOnlyBox)
- refreshAxesAndZoomBoxFromAppData refreshes screen elements.
restrictPointsToLimits(xInput, yInput, xLimits, yLimits)
- restrictPointsToLimits Keeps the points inside the limits plus margin.
zoomBoxButtonDownFcn(updateOnlyBox)
- zoomBoxButtonDownFcn Gets cursor position, sets new callbacks.
siblings(hChild, type)
- SIBLINGS - returns handles of children of parent of input.
example.m
- ZoomBox Example
zoomBoxWindowButtonUpFcn
- zoomBoxWindowButtonUpFcn Removes callbacks when button released.
zoomBoxWindowButtonMotionFcn(updateOnlyBox)
- zoomBoxWindowButtonMotionFcn Calculates movement of zoom box.
moveCorner(hPoint, updateOnlyBox)
- MOVECORNER allows one corner of a box to be moved.
Supporting files for a July 2009 puzzler from http://blog.mathworks.com/videos
main
- Leave semicolon off of call with no input to see the time based seed.