photo

magate


Last seen: 2 years ago Active since 2017

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

View by

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

7 years ago

Solved


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

7 years ago

Answered
Need help with plotting accelerometer readings from MPU6050 + Arduino.
<https://www.mathworks.com/help/matlab/ref/importtool-app.html Import tool> should be the easiest way to get started. Good luck!...

7 years ago | 0

Answered
When I have colors on a graph with 2 variables corresponding to different values, how do I make a legend from it?
Plot NaN data for the legend. See this answer <https://stackoverflow.com/questions/33474206/add-custom-legend-without-any-rel...

7 years ago | 0

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

7 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

7 years ago

Solved


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

7 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

7 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

7 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

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

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

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

7 years ago

Solved


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

7 years ago

Solved


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

7 years ago

Answered
How to use Chow test, in order to check structural breaks if I just have Indian GDP data series and nothing else?
Without knowing what your data is, you can use polyfit and polyval to get a regression equation. See: <https://www.mathworks....

7 years ago | 0

Answered
how to create table containing given file data according to its order?
Is the file always the same structure? Can you use the import data tool to create a function?

7 years ago | 0

Answered
Time series regression for 25 portfolios
Are you running a loop and not indexing the variable you are filling? Essentially overwriting the value each loop iteration? ...

7 years ago | 0

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

7 years ago