matlab 如何保存动画怎么把下面这段代码保存成avi格式n=3*pi/2:-0.01:-pi/2;x=cos(n);y=sin(n);plot(x,y),hold onk=1;h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );while k
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/25 09:34:22
![matlab 如何保存动画怎么把下面这段代码保存成avi格式n=3*pi/2:-0.01:-pi/2;x=cos(n);y=sin(n);plot(x,y),hold onk=1;h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );while k](/uploads/image/z/7130261-29-1.jpg?t=matlab+%E5%A6%82%E4%BD%95%E4%BF%9D%E5%AD%98%E5%8A%A8%E7%94%BB%E6%80%8E%E4%B9%88%E6%8A%8A%E4%B8%8B%E9%9D%A2%E8%BF%99%E6%AE%B5%E4%BB%A3%E7%A0%81%E4%BF%9D%E5%AD%98%E6%88%90avi%E6%A0%BC%E5%BC%8Fn%3D3%2Api%2F2%3A-0.01%3A-pi%2F2%3Bx%3Dcos%28n%29%3By%3Dsin%28n%29%3Bplot%28x%2Cy%29%2Chold+onk%3D1%3Bh1%3Dline%28+%27Color%27+%2C%5B1+0+0%5D%2C%27Marker%27+%2C%27.%27+%2C%27MarkerSize%27+%2C36%2C%27EraseMode%27+%2C%27xor%27+%29%3Bwhile+k)
matlab 如何保存动画怎么把下面这段代码保存成avi格式n=3*pi/2:-0.01:-pi/2;x=cos(n);y=sin(n);plot(x,y),hold onk=1;h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );while k
matlab 如何保存动画
怎么把下面这段代码保存成avi格式
n=3*pi/2:-0.01:-pi/2;
x=cos(n);
y=sin(n);
plot(x,y),hold on
k=1;
h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );
while k
matlab 如何保存动画怎么把下面这段代码保存成avi格式n=3*pi/2:-0.01:-pi/2;x=cos(n);y=sin(n);plot(x,y),hold onk=1;h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );while k
aviobj = avifile('yourfilename.avi','compression','None');
n=3*pi/2:-0.01:-pi/2;
x=cos(n);
y=sin(n);
fig = figure;
plot(x,y),hold on
k=1;
h1=line( 'Color' ,[1 0 0],'Marker' ,'.' ,'MarkerSize' ,36,'EraseMode' ,'xor' );
while k