Community Profile

# Guilherme Coco Beltramini

### University of Campinas (Unicamp)

Active since 2013

Professional Interests: neuroscience, multimodal neuroimaging

All

#### Content Feed

View by

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

nästan 8 år 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)....

nästan 8 år ago

Solved

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

nästan 8 år ago

Solved

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

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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.

nästan 8 år 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.

nästan 8 år ago

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

nästan 8 år ago

Solved

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

nästan 8 år 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. ...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år ago

Solved

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

nästan 8 år ago

Solved

03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

nästan 8 år ago

Solved

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

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år ago

Solved

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

nästan 8 år ago

Solved

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

nästan 8 år ago

Solved

nästan 8 år ago

Solved

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

nästan 8 år ago

Solved

Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

nästan 8 år ago

Solved

02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

nästan 8 år ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

nästan 8 år ago

Solved

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

nästan 8 år ago

Solved

Negative matrix
Change the sign of all elements in given matrix.

nästan 8 år ago