# Vinicius Pereira Mateus Borges

Last seen: ongeveer 2 jaar ago Active since 2019

Followers: 0   Following: 0

PhD Candidate in Behavioral Neuroscience

All

#### Feeds

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

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

meer dan 3 jaar ago | 1

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

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

meer dan 3 jaar ago

Solved

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

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

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

bijna 5 jaar 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 ...

bijna 5 jaar 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. ...

bijna 5 jaar 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 ...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar ago

Solved

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

bijna 5 jaar ago

Solved

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

bijna 5 jaar 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 ...

bijna 5 jaar 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...

bijna 5 jaar 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:...

bijna 5 jaar ago

Solved