Making plotting/videos faster
显示 更早的评论
Hello! I'm working a project that takes laser scans, transforms them to lay on top of one another using a combination of world-view and icp, and then takes those transformed matrices of data (no processes being done to the data, a few minor proccesses (adding/multiplication of values to report in the graph)) and plotting them in one frame.
Because eventually I want all scans plotted on top of each other, I simply decided to leave the plot "hold on" while the while loop goes scan by scan. I'm using videoWriter to make an animation of the scans.
However, it is taking extremely long to plot and write the scans to a video -- upwards of 30minutes (JUST for the plotting/video) for an 1000 scan matrix. Should it be taking this long? Is there any way that I can make the process go faster? (i.e. memory control?)
I can post example code if that helps as well.
Thanks!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Animation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!