Community Profile

photo

Jasmina Lazic

MathWorks

Con actividad desde 2013

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

Estadísticas

  • Likeable
  • First Review
  • Quiz Master
  • Creator
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


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 8 años hace

Problema


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 8 años hace | 10 | 1624 solvers

Resuelto


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 8 años hace

Resuelto


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 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


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 10 años hace

Resuelto


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 10 años hace

Resuelto


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

más de 10 años hace