Clear Filters
Clear Filters

Create tridiagonal matrix in Simulink

1 view (last 30 days)
GT
GT on 11 Nov 2016
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

Answers (0)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!