# Mohammed

Staff Engineer with a Ph.D. in signal processing

**Programming Languages:**

C++

**Professional Interests:**

**Statistics**

**Cody**

**0** Problems

**1670** Solutions

RANK**N/A**

of 270,685

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 18,282

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Boustrophedon

Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

25 days ago

Solved

Dartboard Average II

A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

27 days ago

Solved

Dartboard Average I

A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

27 days ago

Solved

Rotate counterclockwise a matrix 90 deg with left-bottom element

Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

27 days ago

Solved

(Linear) Recurrence Equations - Generalised Fibonacci-like sequences

This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

28 days ago

Solved

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)

Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

28 days ago

Solved

Speed of light:Experiment

in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

28 days ago

Solved

Draw the symbol '+'

Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

29 days ago

Solved

Draw 'P' !!!

Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

30 days ago

Solved

Remove the small words from a list of words.

Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

1 month ago

Solved

String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values

<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

1 month ago

Solved

Make an N-dimensional Multiplication Table

*INSTRUCTIONS* This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...

1 month ago

Solved

Triangle Numbers Below N

This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

1 month ago

Solved

Matrix diagonalization

You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

1 month ago

Solved

Project Euler: Problem 4, Palindromic numbers

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

1 month ago

Solved

Stuff the Board

You have a stack of tiles to put onto an array-like playing board. Each tile has a number (always an integer), and the board var...

1 month ago

Solved

Find indices of diagonal elements

Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

1 month ago

Solved

Add more zeros

Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

1 month ago

Solved

Partial Pressure of Water Vapor from Relative Humidity

Buck (1996, 1981) published the following constants for the saturation pressure of water*: 6.1121 (mb) The saturation pressur...

1 month ago

Solved

Cody problems in French : Trouvez la logique Pt.2

Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

1 month ago

Solved

Please check the last row

We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

1 month ago

Solved

count to vector

Return a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v...

1 month ago

Solved

Get ranks of values in a vector

For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...

1 month ago

Solved

Create an 'arrow-head" matrix

Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

1 month ago

Solved

Young's modulus

Given a value of <http://en.wikipedia.org/wiki/Young_modulus Young's modulus> (Y) expressed on MegaPascal, convert it to the uni...

1 month ago

Solved

Approximation of Pi (vector inputs)

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

1 month ago

Solved

Draw 'W'

For any given n, return a matrix of height n and width 4n-3 containing a W of ones. Example: n=2 ans= [1 0 1 0 1 0 1 0 1 0...

1 month ago

Solved

Snow Accumulation and Structural Risks To Residential Properties

The density of snow depends on the amount of liquid water it contains: Dry Snow is about 50 kg/m^3 Wet Snow is about 200 kg/m^...

1 month ago