Community Profile

photo

Mario Malic


10 total contributions since 2019

Mario Malic's Badges

  • Solver
  • Thankful Level 1

View details...

Contributions in
View by

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


Create a vector
Create a vector from 0 to n by intervals of 2.

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


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

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


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

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

1

answer

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

1

answer