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

meer dan 8 jaar 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)....

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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.

meer dan 8 jaar 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.

meer dan 8 jaar 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...

meer dan 8 jaar 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 ...

meer dan 8 jaar 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. ...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar 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...

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago

Solved

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

meer dan 8 jaar ago

Solved

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

meer dan 8 jaar ago