A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ 11 ans il y a

Réponse apportée
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 ...

plus de 11 ans il y a | 3

| A accepté

Réponse apportée
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 ...

plus de 11 ans il y a | 0

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 11 ans il y a