필터 지우기
필터 지우기

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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by