Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

27 days ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

27 days ago

Solved

Get the length of a given vector

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

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

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

27 days ago

Question

Optimization problem using external program

Hello everyone, I am currently dealing with an optimization problem in which I have an objective function to minimize and its...

4 months ago | 1 answer | 0

Question

How to preserve data in array in function during multiple calls of it.

Greetings, I have a loop that calls a function that writes data into array. For example: function myfunction(nmax,n) if n=...

9 months ago | 1 answer | 0