Community Profile

# Vinicius Pereira Mateus Borges

##### Last seen: 17 jours ago
18 total contributions since 2019

PhD Candidate in Behavioral Neuroscience

#### Vinicius Pereira Mateus Borges's Badges

View details...

Contributions in
View by

how to take whole matrix using loop index
I am not sure if I understand the question. Please attach some of your data and code as an example if the following does not hel...

4 mois ago | 0

How to show negative y-limits on a graph using property inspector
Hello, this can be done in the 'Rulers' section of the property inspector. Just a note of caution: It is a bad idea to change...

4 mois ago | 0

How to display multiple histogram with one run
Hello Mustafa, you can use subplots inside for loops. clear all; n = 100; t0 = 0.5; b = 1:5; T = 1:5; clf figure(1)...

4 mois ago | 1

| accepted

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

4 mois ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 mois ago

How to add different colors to one line chart
Hello Rizwan, The plot you asked about seems to be using the scatter function instead of plot function in MATLAB. The scatter...

4 mois ago | 0

| accepted

Solved

Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

plus d'un an ago

Solved

The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

plus d'un an ago

How can I fill between two curves, but only when one curve is above the other?
Hi, I am new to MATLAB - I just started doing an online course a few weeks ago - so this is probably not a very good solution. ...

plus d'un an ago | 0

Question

Looping through different fields in struct
I have a struct data field with many fields: finalData.s7.bm5.rSync The first field is goes from s1, s2... s8, s9 and defines ...

plus d'un an ago | 1 answer | 0

### 1

Solved

Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

plus d'un an ago

Solved

Given a and b, return the sum a+b in c.

plus d'un an ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus d'un an ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus d'un an ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus d'un an ago

Solved