Animate
%ANIMATE can help generate an animation of transformation from one shape to
%another - Created by Lateef Adewale Kareem
%
% Usage:
% x1 = [-1,0,1,-1]; y1 = [0,1,0,0]; % vertices of object 1
% obj1 = patch(x1, y1,'r'); % handle to object 1
% x2 = [-1,-1,1,1,-1]; y2 = [0,1,1,0,0]; % vertices of object 2
% Animate(obj1, x2, y2) animate the transformation form object 1 to 2
%
%
% Input:
% objhndle = handle to the first object
% x2, y2 = vertices of the second object
% videofilename = (optional) name of the video file if you choose to
% recodrd the transformation
Zitieren als
Lateef Adewale Kareem (2024). Animate (https://www.mathworks.com/matlabcentral/fileexchange/75013-animate), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |