フィルターのクリア

How to form a matrix from a given condition?

1 回表示 (過去 30 日間)
VIJAY
VIJAY 2020 年 1 月 28 日
回答済み: Walter Roberson 2020 年 1 月 28 日
I want a 24*5 matrix which have only 1,-1,&0 values

採用された回答

Walter Roberson
Walter Roberson 2020 年 1 月 28 日
randi([-1 1], 24, 5)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by