### Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#" onclick="window._kiq.push(['set', { 'event': 'Turn off MT' }]);">ここ</a>」をクリックしてください。

## i have an idea that idk if i can do on matlab

Hunter Herrenkohl

### Hunter Herrenkohl (view profile)

さんによって質問されました 2019 年 3 月 12 日

### Kevin Phung (view profile)

さんによって コメントされました 2019 年 3 月 12 日
So i want to be able to make a matrix with user set size, but the numbes inside the matrix are between 0 and .7. This matrix would represent probability of something happen out of 1. I then would like to make the same size but inverse matrix with with numbers 21.99 or less and 22.00 and above. I want these numbers to come based on a user inputed percentage of 21.99 and less or 22 and more. I then want to change those with 21.99 to 2 and those with 22 and up to 3. I then would make the first matrix of numbers between 0 and .7 and multiply it by the one of 2's and 3's and get a total of all the numbers in the resulting matrix. I would then like to run this as a loop 1000 times and ge the average of all the answers and if so how do I start

#### 0 件のコメント

サインイン to comment.

## 1 件の回答

### Kevin Phung (view profile)

2019 年 3 月 12 日

yes! doable on matlab :)

#### 2 件のコメント

Hunter Herrenkohl

2019 年 3 月 12 日
how do i start
Kevin Phung

### Kevin Phung (view profile)

2019 年 3 月 12 日
what have you tried?

サインイン to comment.

Translated by