Community Profile

# Jasmina Lazic

### MathWorks

11 total contributions since 2013

Application Engineer, MathWorks Inc.
Professional Interests: mathematics, science, operations research, data analysis, modelling, education, software

View details...

Contributions in
View by

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

casi 5 años ago

Problem

Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

casi 5 años ago | 6 | 592 solvers

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

casi 5 años ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

casi 5 años ago

Solved

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

casi 5 años ago

Solved

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

casi 5 años ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

alrededor de 5 años 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:...

alrededor de 5 años 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 ...

más de 7 años 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...

más de 7 años ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

más de 7 años ago