Professional Interests: neuroscience, multimodal neuroimaging

Solved

THE CALCULATOR OF LOVE

In honor of Valentine's Day, program a love calculator that figures out the percentage of compatibility between two people using...

5 years ago

Solved

Factorial Numbers

Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

5 years ago

Solved

Roots

Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

5 years ago

Solved

Solving a quadratic equation

Given a, b and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

5 years ago

Solved

Make a Star Pyramid

Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

5 years ago

Solved

Community Problem 500!

In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

5 years ago

Solved

Let's see how peculiar we can get

The task is to multiply two numbers. But do it in the most peculiar possible way.

5 years ago

Solved

Square Diagonal

If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

5 years ago

Answered

How can I store a matrix within another matrix?

You could try something like: reshape(dat, [3,5,21,3])

How can I store a matrix within another matrix?

You could try something like: reshape(dat, [3,5,21,3])

5 years ago | 0

Answered

Help with the interpolate function

The function you want is interp1 (with "1" in the end).

Help with the interpolate function

The function you want is interp1 (with "1" in the end).

5 years ago | 0

Submitted

Save figure to file, choose the dimensions and crop figure

Save figure to file. Choose the dimensions and crop figure (remove homogeneous edges).

5 years ago | 5 downloads |

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5 years ago

Answered

I was trying to reconstruct an image using block matching algorithm. When i tried to do so, i have got an reconstructed matrix with non zero elements. But when i tried to plot it using imshow, it appears to be a blank (ful black) image.Kindly help me

Try this: imshow(fruca, [])

I was trying to reconstruct an image using block matching algorithm. When i tried to do so, i have got an reconstructed matrix with non zero elements. But when i tried to plot it using imshow, it appears to be a blank (ful black) image.Kindly help me

Try this: imshow(fruca, [])

5 years ago | 1

| accepted

Solved

Say something funny

Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

5 years ago

Solved

Filter AC, pass DC

Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

5 years ago

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

5 years ago

Solved

Flag largest magnitude swings as they occur

You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

5 years ago

Solved

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

5 years ago

Solved

Angle of triangle

For three unknown points a b c, given three sides ab bc ca, find three angles abc bca cab in radians. Your function should b...

5 years ago

Solved

Do Fast Fourier Transformation

Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

5 years ago

Solved

03 - Matrix Variables 5

Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

5 years ago

Solved

Basic arrays operations.

Apply element-by-element binary operation 'fun' to two arrays (A and B).

5 years ago

Solved

letter yes yes & letter no no

Split a string into two strings, first string has all alphabetic letters, next string has all the rest, keep the order please, o...

5 years ago

Solved

Count ones

Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

5 years ago

Solved

Is it an Armstrong number?

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

5 years ago

Solved

matlab indian players

answer is one of the indian matlab player(just for fun dont take serious)

5 years ago

Solved

Alternating sum

Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

5 years ago

Solved

01 - Scalar variables

Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

5 years ago