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 ];

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 11 日
What u2 represent in your simulink model?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

タグ

質問済み:

2016 年 4 月 11 日

コメント済み:

2016 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by