开发者

Is sparse matrix-vector multiplication available in Simulink/xPC?

开发者 https://www.devze.com 2023-04-09 03:25 出处:网络
I am trying to make my control algorithm more efficient since my matrices are sparse.Currently, I am doing conventional matrix-vector multiplications in Simulink/xPC for a real-time application.I can

I am trying to make my control algorithm more efficient since my matrices are sparse. Currently, I am doing conventional matrix-vector multiplications in Simulink/xPC for a real-time application. I can not find a way to convert the matrix to a 开发者_Go百科sparse one and perform that type of multiplication where it is compatible with xPC. Does anyone have an idea on how to do this?


It appears, at least as of earlier this year, that it is impossible to do sparse matrices in Simulink: see this Q&A on MathWorks' site. As the answerer is a Simulink software engineer, it seems authoritative. :)

0

精彩评论

暂无评论...
验证码 换一张
取 消