I need an established reference on optimizing Matlab code.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Evans Harrigan
el 6 de Ag. de 2020
Comentada: Cris LaPierre
el 7 de Ag. de 2020
I'm working on a project that uses Matlab for functional prototyping of producton applications. The initial phase is developing Matlab code to verify algorithms. The 2nd phase is using the verified code for limited production stress testing. Moderate performance objectives must also be met. Phase 3 involves an expanded # of key applications to be extensively production stress tested. In Phase 4 all applications that satisfy Phase 3 testing are released for production. In Phase 5 performance is the critical key performance metric (KPM) for success. Hence, continuous code optimization is done.
Can you recommend documents on optimizing Matlab code? Text books, whitepapers and, ideally, Mathworks documents are of interest.
0 comentarios
Respuesta aceptada
Cris LaPierre
el 6 de Ag. de 2020
Not sure if this is what you are looking for, but here are some resources I'm aware of:
3 comentarios
Cris LaPierre
el 7 de Ag. de 2020
The gains from vectorization are highly dependent on the application (what the unvectorized solution is). There are scenarios where it is much faster, some where it is comparable, and some where it is slower. I think for these reasons, I'm not aware of a documented "expected percent improvement".
I'm less familiar with MEX, so I'd suggest Walter's reply in this post. In looking for that, I did discover other posts on the topic that may also be helpful.
Más respuestas (0)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!