image thumbnail

updated 10 days ago

Super Mario Bros. Demo by Mingjing Zhang

A playable demo of Super Mario Bros. World 1-1 with background music (gui, image, animation)

stl_mario_main()

Super Mario Bros. Demo

image thumbnail

updated 4 months ago

Optimal Control Using Control Vector Parameterization by Chang Duan

An example of using control vector parameterization to solve an optimal control problem (optimal control, direct sequential met..., control vector parame...)

[topt,xopt,uopt,thetaopt]=plotopt1( x0,N,ts,dvarO,beta,rho,...

[topt,xopt,uopt,thetaopt]=plotopt2( x0,N,ts,dvarO,beta,rho,...

animateopt( topt,xopt,uopt,thetaopt,beta,N,rho )

image thumbnail

updated 5 months ago

Multi Degree of Freedom Vibration Calculator by Jong Kim

Multi Degree of Freedom Vibration Calculator with animation of two mass. (vibration, gui, animation)

MDOF_vibration_calculator3(varargin)

image thumbnail

updated 6 months ago

AnimateLaTeX by Per Bergström

Generates animation source code in LaTeX (animation, animate, latex)

animateEx

exampleCurvature()

exampleLS()

image thumbnail

updated 6 months 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. (bloch equations, nmr, magnetic resonance)

[Spinsout Sim]=evolution(Spins,Sim)

[Spinsout Sim]=pulse(Spins,Sim)

3pulse.m

image thumbnail

updated 7 months ago

Animations by Ankur Pawar

Some animation in MATLAB (animation, 3d, epicycloid)

[xd,yd]=transform2d(x,y,tx,ty,phi,xr,yr,sx,sy)

epitrochoid(r1,r2,len)

hypotrochoid(r1,r2,len)

image thumbnail

updated 8 months ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (plot2svg, svg filters, 3d)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 8 months ago

Fireworks GUI by Jiro Doke

Enjoy some fireworks (with sound) with this interactive GUI (animation, gui, fireworks)

getColorTable()

getCustomVelAng(param)

helper.createFireworks(FWAxes, varargin)

image thumbnail

updated 8 months ago

ANIMATOR - animate data by Jiro Doke

This GUI tool allows you to animate your data with controls for playback speed and looping. (gui, handle graphics, movie)

animator(varargin)

Data Animator

animatorApp

image thumbnail

updated 8 months ago

Four-Bar Polode Animation by Don Riley

Animates all classes of 4-bar mechanisms, plots instant center paths, allows link length changes. (kinematics, animation, 4bar)

Animate_Four_Bar_Polodes

Four-Bar Polode Animation

image thumbnail

updated 8 months ago

Hydrogenic Wavefunction Visulization Tool by Jos Martin

Visualize hydrogenic wave-functions in 3D and watch animations of atomic state changes (hydrogen, physics simulation, physics)

...

LaguerreGen.m

LegendrePoly(n)

image thumbnail

updated 10 months ago

frames2gif by Paxon Frady

Converts frames captured by getframes to an animated gif. (gif, animation)

frames2gif(filename, frames, varargin)

image thumbnail

updated 1 year ago

Web-browser viewable GUI animations of .PNGs, .GIFs, etc. by Kevin Bartlett

Creates javascript/html GUI-driven animation of still images (GIFs, JPEGs, etc.). (gui, image processing, movie)

jsanim(fileList,varargin)

image thumbnail

updated 1 year ago

Simulation and Animation of a Quarter-Car Automotive Suspension Model by James Allison

A standard linear quarter-car model is simulated and then animated. (automotive, animation, simulation)

plotsusp(x,road_x,road_z,curr_x,umf)

sim_qcar.m

image thumbnail

updated 1 year ago

Real-time Magnifying Glass: An Interactive Animation Example by Mingjing Zhang

A real-time mouse-following magnifying glass of several different shapes (magnifier, magnifying glass, gui)

magnifier(mask, FPS)

image thumbnail

updated 1 year ago

plot3AniAnaglyph by Jonathan Beard

Animated anaglyph (red/cyan 3D) plot3. (3d, anaglyph, stereoscopic)

plot3AniAnaglyph(S,params)

plot3AniAnaglyphDemos(nDemo)

image thumbnail

updated 1 year ago

SpringPendulum by Siva Srinivas Kolukula

Simulation of Nonlinear Spring Pendulum (ode45, phase plane, spring pendulum)

Animation(ivp,duration,fps,movie,arrow)

Equation(t,x)

Spring.m

image thumbnail

updated 1 year ago

SimplePendulum by Siva Srinivas Kolukula

Simulation of Nonlinear Simple Pendulum (animation, sdof, simple pendulum)

Animation(ivp, duration, fps, movie, arrow)

Equation(~,x)

arrowh(x,y,clr,ArSize,Where)

image thumbnail

updated 1 year ago

Bead on a rotating hoop by Siva Srinivas Kolukula

To study the motion of a bead on a rotating hoop/wire or ring. (animation, bead on rotating hoop, nonlinear equations)

Animation(ivp, duration, fps, movie)

Equation(t,x)

BeadOnRotatingHoop.m

image thumbnail

updated 1 year ago

Airport Conveyer Belt by Gernot Schraberger

The demo is about a airport conveyer belt modeled in Simulink, with controls modelled in Stateflow. (airport, conveyer, belt)

slblocks

waitfortreal(tsim)

AirportConveyer

image thumbnail

updated almost 2 years ago

Dave's MATLAB Shooter by David Buckingham

a vertical-scrolling shoot-em-up game (game, games, shooter)

hitTest (x1, y1, w1, h1, x2, y2, varargin)

shooter03()

image thumbnail

updated almost 2 years ago

SimEvents Entity Animation in 3D by Saurabh Mahapatra

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation (simevents, simulink, 3d)

simevents_animation(block)

luggage_animation

image thumbnail

updated 2 years ago

Dave's MATLAB Pong by David Buckingham

a fast-paced two-player game (game, action, pong)

pong03()

image thumbnail

updated 2 years ago

Random Waypoint mobility model by Mathieu Boutin

Generates a random waypoint mobility scenario for any number of nodes. Animation included. (animation, random waypoint, simulation)

Generate_Mobility(s_input)

test_Animate(s_mobility,s_input,time_step)

test_Execute.m

image thumbnail

updated 2 years ago

Simple StopMotion Film Studio by S. A. van der Wulp

Capture frames from image aquisition devices and create your own stop motion animation. (webcam, studio, image acquisition)

AviSettings

CheckFrames

GenerateFilm

image thumbnail

updated 2 years ago

MatLab's Video Lectures - Class-4 : Lecture's Flies by GAMAL ALKIRSHI

Class-4 : Lecture's Flies (matlabs video lecture..., mfile functions, inline function)

[x,f]=DataBuild(ND)

g=PolyFitting(x,f,n)

ex_0.m

image thumbnail

updated 2 years ago

Circle/ellipse on RGB image by Kobi Nistel

Draws a circle or ellipse on a RGB image (circle, ellipse, image processing)

RGBCircle(image, x, y, rad, col , pointnum, phase)

testrgbcircle.m

image thumbnail

updated 2 years ago

Animated Double Pendulum by Alexander Erlich

Show animation of the double pendulum's (mostly) chaotic behavior. (animation, potw, lagrange)

double_pendulum(ivp, duration, fps, movie)

double_pendulum_ODE(t,x)

double_pendulum_init.m

image thumbnail

updated 2 years ago

2D Spring Coordinates for Plotting by Dan P

Generates the coordinates necessary for plotting an automatically sized 2D spring. (modeling, simulation, spring)

springcoord( pt1, pt2, varargin)

image thumbnail

updated almost 3 years ago

animated spinning top with Cardan mounting by Alexander Erlich

Plots an animated spinning top with Cardan mounting from raw animation data. (animation, physics, euler)

...

...

EuMat( phi, theta, psi )

image thumbnail

updated almost 3 years ago

3D Surface/Mesh to VRML Utility: mesh2vrml 1.0 by Saurabh Mahapatra

Convert MATLAB 3D surface to ElevationGrid in VRML (simulink, 3d, animation)

filename_final=mesh2vrml(X, Y, Z)

startmeup.m

image thumbnail

updated almost 3 years ago

Magnetic dipole radiation through a multilayered structure by Lorenzo Luini

Calculation of the radiation of a magnetic dipole (magnetic dipole, radiation, simulation)

H=MDexact(M,x0,y0,z0,x,y,z,er,mr,sigma,f)

HMD_x_fast_AutMultLayer(M,x0,y0,z0,freq,what)

image thumbnail

updated 3 years ago

Using patch() and rotate() - Basics by Husam Aldahiyat

Powerpoint slides on the basic usage of the patch() and rotate() functions. Includes 13 Examples. (animation, water, slides)

slide12

slide15

slide17

image thumbnail

updated 3 years ago

Projectile Motion by Mahmooduz Zafar

This program is used to view the path & distance covered by a particle in animated form. (animation, measurement)

projectile_motion

image thumbnail

updated 3 years ago

vibratingString by Alexander Erlich

vibratingString displays an animation of four vibrating strings with oscillation modes. (physics, theoretical, string)

createCoords( radius, redRad, omega, numpeaks, tcurr, phi)

vibratingString( numpeaks )

image thumbnail

updated 3 years ago

Random walking picture by Peter Lindberg

Demonstration of a random walking subpicture within a picture (picture, animation, random walk)

picture_walker(Directory,Dur)

image thumbnail

updated 3 years ago

sphere without poles by Maxim Vedenyov

works like sphere bult-in matlab function but result is sphere without poles. (sphere, pole, no poles)

an=random_unit_vector(varargin)

varargout=sphere_wp(varargin)

varargout=sphere_wp(varargin)

image thumbnail

updated 3 years ago

Simulation of a one-legged hopping robot by Guy Rouleau

Simulation of a one-legged hopping robot (3d, leg, simmechanics)

sfuntraj(t,x,u,flag,axes,Ts,mode)

init_hopper.m

OneLeg_VR_TouchInput

image thumbnail

updated almost 4 years ago

GIF Player by Vihang Patil

This function will display the animated GIF's in the figure window (gif, player, animated)

gifplayer(gif_image,delay_length)

image thumbnail

updated 4 years ago

animEuler by Dmitry Savransky

Animate sets of Euler rotations using arbitrary Euler angles and rotation order. (aerospace, demo, animation)

animEuler(h,rotSet,angs)

make3daxes(h)

rot3daxes(h,as,l,ang,axSym,killLines)

image thumbnail

updated 4 years ago

Animate a Simple Mechanism by Husam Aldahiyat

How to plot and animate a simple slider crank mechanism. (animation, circle, comments)

sliderc(r,L1,rec,sp)

image thumbnail

updated 4 years ago

Mandel126 by Dr. Jens Koopmann

Animated Mandelbrot set (animation, colorcycling, gui)

[x,y,Zvalues]=dummy2(lowerR,higherR,lowerI,higherI,stepsR,M...

color_change(col,my_view,x,y,Zvalues,x_view,y_view,maxIter,...

colorcycling(view,x,y,Zvalues,x_view,y_view,MaxIter,light,a...

image thumbnail

updated 4 years ago

avi2gif by Kedar Patwardhan

Converts avi video files to gif animations (animation, avi, gif)

avi_to_gif(aviName, gifName, numLoops, FPS)

image thumbnail

updated 4 years ago

gif_add_frame by Andrea Tagliasacchi

creates a gif animation of snapshots (animation, graphics import, gif)

gif_add_frame(h,filename,fps,varargin)

image thumbnail

updated almost 5 years ago

Particle Swarm Optimization by wael korani

Particle swarm optimization animation (animation, swarm, global)

fposition=Live_fn(x)

PSO.m

image thumbnail

updated almost 5 years ago

Pendulum on Circular Track by Dmitry Savransky

Integrate the equations of motion for a pendulum travelling on a circular track and animate the resu (animation, example, integration)

circpendulum(t0,y0,w,r,l);

image thumbnail

updated almost 5 years ago

Generate Animated GIF Files for Plotting Audio Data by Theodoros Giannakopoulos

This m-file generates a animated GIF file that visualizes audio data. (audio processing, video processing, audio visulization)

createAnimatedGifFromWav(wavFileName, windowLength, Width, ...

image thumbnail

updated almost 5 years ago

ansim by Tim Chang

Animate simple objects based on inputs from a Simulink model. (animation, simulink, animate)

[SelectColor,DeselectColor]=angetclr(Action,hObject,Color)

[out1,out2]=anscale(hAxes, hObjects, CmdFlag )

anaxes.m

image thumbnail

updated 5 years ago

anymate by Jerker Wagberg

Animate Handle Graphics objects (animation, movie, data exploration)

anymate.m

image thumbnail

updated 5 years ago

Circular region detection by a small moving circle by Ali Talib Oudah

Circular region detection by a small moving circle (animation, circle, gui)

circlegui(varargin)

test.m

Contact us