photo

Vinicius Pereira Mateus Borges


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

PhD Candidate in Behavioral Neuroscience

Statistics

All
  • Knowledgeable Level 1
  • Thankful Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years 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 years ago

Solved


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

4 years ago

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

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

5 years ago

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

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

5 years ago | 1 answer | 0

1

answer

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

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

5 years ago

Solved


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

5 years ago

Solved


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

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

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

5 years 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:...

5 years ago

Solved


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

5 years ago