Solved


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

1 year ago

Solved


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

1 year ago

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

1 year ago

Solved


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

1 year ago

Solved


Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

1 year ago

Solved


Finding area of a triangle.
Find the area of an equalateral triangle with sides of 3 inches,

1 year ago

Solved


Area of right triangle
Given a hypotenuse and a leg , calculate the area of right triangle.

1 year ago

Solved


Make one vector from two others
You are given two vectors of equal length. Your task is to create a MATLAB script that will repeat all of the values in the fir...

1 year ago

Solved


Compute Fibonacci Number
Compute the n-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

1 year ago

Solved


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

1 year ago

Solved


Generate pi using logarithm
Generate pi using logarithm

1 year ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

1 year ago

Solved


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

1 year ago

Solved


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

1 year ago

Solved


find whether it is prime or not
For a given number find if its prime

1 year ago

Solved


struct2values()
Convert a struct object into a column vector. You can assume that the struct elements are scalars Example: a = struct();...

1 year ago

Solved


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

1 year ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

1 year ago

Solved


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

1 year ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

1 year ago

Solved


lb to kilogram
convert lb to kilogram units, easy

1 year ago

Solved


Ounces to Kilograms
convert ounces to kilograms, easy

1 year ago

Solved


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

1 year ago

Solved


Convert from integer to binary
if true % decimalToBinaryVector(x) end

1 year ago

Solved


Find Logic 24

1 year ago

Solved


Find Logic 29

1 year ago

Solved


Find Logic 30

1 year ago

Solved


Find Logic 31

1 year ago

Solved


Find Logic 25

1 year ago

Load more