How to select some element from matrix by simulink?

I want to get all element except -1 By Simulink For example:
u2 = [46.15 ; -22.5 ; -1 ; -1 ; -1 ];
I want to get new matrix to be u2 = [46.15 ; -22.5 ];

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 11 Apr. 2016

Kommentiert:

am 11 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by