已回答 How can I find the largest number
numbers = [num1 num2 num3]; % the array of numbers from which to search
maxVal = max(numbers); % the highest number
...
10 years 前 | 2
| 已接受
已回答 Generating random number between 1 to 10
N = 10; % size of the array
numArray = randperm(N); % array containing integers ranging from 1 : N
for k = numArray
...