Knowing when to optimize your graphics in MATLAB
The MATLAB user’s question in this video was about optimizing their graphics in MATLAB. They were worried that the architecture they were choosing would be too slow. One test is worth a thousand expert opinions. Before starting to do some difficult optimization in your code in the name of speed, you should check to see if the current implementation will be a problem. In this case, rather than a difficult optimization, they simply changed to a low level command for graphics rather than the heavier weight one. This, plus just testing the speed quickly showed that they need not worry about optimizing in the first place.
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。