如何用matlab将一组数据绘制成动态曲线,下面代码是绘制动态圆函数曲线,如何用数据代替?附件是想要的效果。
Mostra commenti meno recenti
%% 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图片
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!