Solved


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

6 years ago

Solved


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

6 years ago

Solved


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

6 years ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

6 years ago

Solved


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

6 years ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

6 years ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

6 years ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

6 years ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

6 years ago

Solved


Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

6 years ago

Solved


determine amount cookies left
started with 3 cookies and you never ate any how many are left

6 years ago

Solved


Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

6 years ago

Solved


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

6 years ago

Solved


short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

6 years ago

Solved


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

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

6 years ago

Solved


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2809

6 years ago

Problem


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2809

6 years ago | 0 | 62 solvers

Problem


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

6 years ago | 2 | 41 solvers

Problem


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

6 years ago | 1 | 26 solvers

Problem


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

6 years ago | 0 | 93 solvers

Solved


Ounces to Kilograms
convert ounces to kilograms, easy

6 years ago

Problem


Ounces to Kilograms
convert ounces to kilograms, easy

6 years ago | 1 | 98 solvers

Solved


lb to kilogram
convert lb to kilogram units, easy

6 years ago

Problem


lb to kilogram
convert lb to kilogram units, easy

6 years ago | 1 | 88 solvers

Solved


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

6 years ago

Problem


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

6 years ago | 1 | 70 solvers

Problem


short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

6 years ago | 1 | 49 solvers

Solved


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

6 years ago

Problem


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

6 years ago | 1 | 85 solvers

Load more