Community Profile # magate

Last seen: 9개월 전 2017년부터 활동

#### 통계

All
• • • • 배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

답변 있음
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!...

5년 초과 전 | 0

답변 있음
When I have colors on a graph with 2 variables corresponding to different values, how do I make a legend from it?

5년 초과 전 | 0

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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년 초과 전

문제를 풀었습니다

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년 초과 전

문제를 풀었습니다

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년 초과 전

문제를 풀었습니다

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

5년 초과 전

문제를 풀었습니다

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

5년 초과 전

답변 있음
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....

5년 초과 전 | 0

답변 있음
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?

5년 초과 전 | 0

답변 있음
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? ...

5년 초과 전 | 0

문제를 풀었습니다

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

5년 초과 전