Full Professor of Statistics (since 2006), University of Parma, Italy. Director of the interdepartmental center of robust statistics for big data (Ro.S.A.) of the University of Parma since 2016.

He is author of more than 150 publications and two books published by Springer Verlag New York.

His main research interests are robust statistics (regression, multivariate analysis and classification)

Solved

Matrix of Multiplication Facts

This is James's daughter again, sneaking into his Cody account. Thanks to your help in my math class last year, I did great! B...

6 hours ago

Solved

Go to the head of the class!

You're given a matrix and a single number. If that number is in the matrix, reorder the matrix so that number is in the first r...

12 hours ago

Solved

Must be in the front row...

You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

12 hours ago

Solved

Magnet and Iron

(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

14 hours ago

Solved

Replace Nonzero Numbers with 1

Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

16 hours ago

Solved

Matrix multiplication across rows

Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

16 hours ago

Solved

A matrix of extroverts

Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

16 hours ago

Solved

Convert matrix to 3D array of triangular matrices

Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...

18 hours ago

Solved

Too Many Zeros, Dump Them!

Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

1 day ago

Solved

Enlarge array

Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

8 days ago

Solved

Remove entire row and column in the matrix containing the input values

Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

8 days ago

Solved

subtract central cross

Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

8 days ago

Solved

Given a matrix, swap the 2nd & 3rd columns

If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

9 days ago

Solved

matrix zigzag

Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

10 days ago

Solved

Kryptos - CIA Cypher Sculpture: Vignere Decryption

The <http://en.wikipedia.org/wiki/Kryptos Kryptos Sculpture> contains four encypted messages. This Challenge is to Decrypt tw...

11 days ago

Solved

Kryptos - CIA Cypher Sculpture: Vigenere Encryption

The <http://en.wikipedia.org/wiki/Kryptos Kryptos Sculpture> contains four encypted messages. This Challenge is to Encrypt tw...

11 days ago

Solved

Simple Decoder Ring

The stereotypical _decoder ring_ is remembered as a cereal box prize from the 1950s. Kids learned about cryptography by startin...

13 days ago

Solved

most frequent character

Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...

13 days ago

Solved

Concatenate strings

concatenate a variable number of input strings to produce one outputstring

13 days ago

Solved

Split a given string from the first instance of a given character

A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

13 days ago

Solved

Simple Caesar Cypher - shift encrypt a message given an index number

A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...

13 days ago

Solved

Backslang, odds are you used it at some point in time...

So backslang is a language that can be used to communicate in an easy decode code, if people know the rules of decoding it. Wel...

14 days ago

Solved

NO _________ ALLOWED....

So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

14 days ago

Solved

Generate a melodic contour string matrix

<http://en.wikipedia.org/wiki/Parsons_code Parsons code> is a surprisingly effective way to identify music by its melodic motion...

14 days ago

Solved

Alternately upper-lower case

Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

14 days ago

Solved

Make a list string

Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

14 days ago

Solved

ABBREVIATION

Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

15 days ago

Solved

How many digits are there?

Input(s) - any string Output(n) - number of digits within string s

15 days ago

Solved

Mean and standard deviation of times in string

Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

15 days ago