Create tridiagonal matrix in Simulink

1 次查看(过去 30 天)
GT
GT 2016-11-11
Hi there,
In SIMULINK I have the sudiagonal, diagonal and superdiagonal of a matrix as three vectors. Now I am looking to build the resulting matrix.
If we were in MATLAB I would have v1, v2, v3 and I would want A such that:
A = gallery('tridiag', v1, v2, v3);
Does anyone know a way to do that in SIMULINK?
Tanks a lot

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Create Block Masks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by