フィルターのクリア

Create a function called UniformAB that allow to generate N as a random integer value between A and B

2 ビュー (過去 30 日間)
Create a function called UniformAB that allow to generate N as a random integer value between A and B

回答 (1 件)

Manvi Goel
Manvi Goel 2020 年 12 月 14 日
function N = UniformAB(a, b)
N = randi([a,b], 1,1);
end

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by