如何用matlab将一组数据绘制成动态曲线,下面代码是绘制动态圆函数曲线,如何用数据代替?附件是想要的效果。
显示 更早的评论
%% 1. 动态绘制圆
T = linspace(0,2*pi,100)';
X = cos(T);
Y = sin(T);
figure
F = MovieXY(X,Y); % 绘制动态曲线
Fun_F2gif(F,'Test1.gif',0.01); % 生成gif图片
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!