Risolto


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...

15 giorni fa

Risolto


Return area of square
Side of square=input=a Area=output=b

15 giorni fa

Risolto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

15 giorni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

15 giorni fa

Risolto


Sum of logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

3 mesi fa

Risolto


Diagonal Prod

3 mesi fa

Risolto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

3 mesi fa

Risolto


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

3 mesi fa