In randfixedsum function, how to generate random integer matrices?

2 ビュー (過去 30 日間)
Brian Kim
Brian Kim 2017 年 3 月 15 日
コメント済み: Walter Roberson 2017 年 3 月 16 日
in this function,
i want to generate random integer matrices.
how can do this?
  5 件のコメント
Brian Kim
Brian Kim 2017 年 3 月 16 日
ex) 4,6,7,9,10, ~~~
Walter Roberson
Walter Roberson 2017 年 3 月 16 日
As I indicated, the routine you are looking at is not suitable for the case where you need the random values to be integral. The link I provided shows the needed code.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 3 月 15 日

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by