Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

5 meses ago

Solved


Find max
Find the maximum value of a given vector or matrix.

5 meses ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

5 meses ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

5 meses ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

5 meses ago

Solved


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

5 meses ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 meses ago

Solved


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

5 meses ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 meses ago

Solved


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

5 meses ago

Solved


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

5 meses ago

Solved


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

5 meses ago

Question


HANDLES not supported by 'clibgen'
I am trying to load a c++ library in to matlab, so that I can use several functions from it. I am using clibgen to execute this....

más de 1 año ago | 0 answers | 0

0

answers