Community Profile

Professional Interests: machine learning, optimization

Contact

Top 5% contributor

21 downloads

3 years ago

14 downloads

2 years ago

15 downloads

7 downloads

12 downloads

6 downloads

An alternative to using Black and Scholes model is using Constant Elasticity of Variance model.

11 downloads

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.

Solve this!

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

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

Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

Load more