Community Profile

Emanuele Ruffaldi

Scuola Superiore S.Anna, PERCRO Lab

15 total contributions since 2009

http://www.eruffaldi.com
http://www.percro.org
Professional Interests: robotics, machine learning, computer graphics

View details...

Contributions in
View by

Submitted

Submitted

Solved

Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

circa 7 anni ago

Solved

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

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

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

circa 7 anni ago

Solved

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

circa 7 anni ago

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

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

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

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

circa 7 anni ago

Submitted

Stacked Matrix Permutation
Simplify the reordering of the sub-dimensions in a stacked matrices

Submitted

ToFile block with custom dynamic filename and metadata variables plus autoversioning.

Submitted

Structured Data Manipulation
"Structy" is an improved struct for uniform data supporting sort, label rename and units of measure.