Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
我有20个数字可以像幻灯片一样连续显示。我可以在Matlab中使用Imshow吗?任何帮助将不胜感激。
回答: 您可以使用MOVIE依次显示图/图像。为此,您创建人物,通过GETFRAME捕获它们,然后可以调用movie 。请参阅getframe帮助中的此示例 Z = peaks; surf(Z) axis tight set(gca,'NextPlot','replacechildren'); for j = 1:20 surf(sin(2*pi*j/20)*Z,Z) F(j) = getframe; end movie(F,20) % Play the movie twenty times 更多&回答... |
![]() |
![]() |