# Guilherme Coco Beltramini

### University of Campinas (Unicamp)

Active since 2013

Followers: 0   Following: 0

Professional Interests: neuroscience, multimodal neuroimaging

All

#### Feeds

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

ongeveer 10 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)....

ongeveer 10 jaar ago

Solved

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

ongeveer 10 jaar ago

Solved

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

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

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

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

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

ongeveer 10 jaar ago

Submitted

update_check
Check for updates and replace old files

How can I store a matrix within another matrix?
You could try something like: reshape(dat, [3,5,21,3])

ongeveer 10 jaar ago | 0

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

ongeveer 10 jaar ago | 1

Submitted

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

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

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

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

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

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

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

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

ongeveer 10 jaar ago

Solved

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

ongeveer 10 jaar ago

Solved

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

ongeveer 10 jaar ago

Solved

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

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

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

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

ongeveer 10 jaar ago

Solved

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

ongeveer 10 jaar ago

Solved

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

ongeveer 10 jaar ago

Solved