# Sean de Wolski

### MathWorks

I like to be outside. But if I'm inside, I like to be using MATLAB.

I'm a Senior Application Engineer at MathWorks and civil/structural engineer by education.

**Statistics**

RANK**19**

of 242.744

REPUTATION**11.207**

CONTRIBUTIONS

**14** Questions

**4.754** Answers

ANSWER ACCEPTANCE **
78.57%
**

VOTES RECEIVED**2.112**

RANK**3.325** of 16.978

REPUTATION**410**

AVERAGE RATING**5.00**

CONTRIBUTIONS**9** Files

DOWNLOADS **14**

ALL TIME DOWNLOADS**3661**

CONTRIBUTIONS**892 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Aquiles y la tortuga

Contaba Zenón en su famosa paradoja que un día Aquiles, el guerrero griego más veloz de la Hélade, se enfrentó a una pequeña tor...

meer dan een jaar ago

Solved

Combine the first and last names

MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

meer dan 4 jaar ago

Solved

Back to basics 11 - Max Integer

Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

bijna 5 jaar ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

bijna 5 jaar ago

Solved

Replace NaNs with the number that appears to its left in the row.

Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

bijna 5 jaar ago

Solved

Add a block to a model

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

ongeveer 5 jaar ago

Solved

Is It a Snake?

Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

meer dan 5 jaar ago

Solved

Step up

For given input array, output a array with all elements step up by two

meer dan 5 jaar ago

Solved

Matrix of almost all zeros, except for main diagonal

Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

meer dan 5 jaar ago

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

bijna 6 jaar ago

Solved

Pascal's Triangle

Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

bijna 6 jaar ago

Solved

Return the first and last character of a string

Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

meer dan 6 jaar ago

Solved

Fahrenheit to Celsius using multiple statements

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

meer dan 6 jaar ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

meer dan 6 jaar ago

Solved

Union of two set decreasing order

Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

bijna 7 jaar ago

Solved

Wind Chill Computation

On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

ongeveer 7 jaar ago

Solved

Find the dimensions of a matrix

Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

meer dan 7 jaar ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

meer dan 7 jaar ago

Solved

Complex transpose

Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

meer dan 7 jaar ago

Solved

Compare two input matrices

Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

meer dan 7 jaar ago

Solved

Find offset of given matrix element from first matrix element

Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

meer dan 7 jaar ago

Solved

Test

Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

meer dan 7 jaar ago

Solved

Perfect Square or not

find Given input x is perfect square or not,if yes then output y=1.else y=0

meer dan 7 jaar ago

Solved

Sum of diagonals elements of a matrix

Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

meer dan 7 jaar ago

Solved

Sum Rows

Sum the same indexed (unique) rows. Examine the test suite. Related Challenge - <http://www.mathworks.com/matlabcentral/cody/...

meer dan 7 jaar ago

Solved

Parallel vectors

Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

meer dan 7 jaar ago

Solved

average for three points

how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

meer dan 7 jaar ago

Solved

The prisoner

"We want information, information, information." "Who are you?" Input can be a string or a number (array).

meer dan 7 jaar ago

Solved

Sum of diagonal of a square matrix

If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

meer dan 7 jaar ago

Solved

Generate this matrix

Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

meer dan 7 jaar ago