**Statistics**

RANK**179.041**

of 272.973

REPUTATION**0**

CONTRIBUTIONS

**1** Question

**0** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**0**

RANK**7.357** of 18.436

REPUTATION**116**

AVERAGE RATING**4.50**

CONTRIBUTIONS**1** File

DOWNLOADS **5**

ALL TIME DOWNLOADS**1079**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

ongeveer 2 jaar ago

Solved

Most nonzero elements in row

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

bijna 4 jaar ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

ongeveer 5 jaar ago

Solved

Determine if input is odd

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

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

ongeveer 5 jaar ago

Solved

Project Euler: Problem 6, Natural numbers, squares and sums.

The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

ongeveer 5 jaar ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

bijna 7 jaar ago

Question

How can I get square brackets on a Swiss macbook keyboard?

One of my students is using a Swiss macbook for Matlab and we can't find how to get square brackets. We've tried alt-8/9, shift-...

meer dan 7 jaar ago | 1 answer | 0

### 1

answerSolved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

bijna 8 jaar ago

Submitted

GPU vs CPU speed test of finite difference equation

Compares the speed of the parallel computing toolbox functions vs CPU for finite difference

meer dan 8 jaar ago | 5 downloads |

Solved

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

bijna 9 jaar ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

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

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

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

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

meer dan 9 jaar ago