I work at MathWorks and all opinion expressed here are that of my own.

Professional Interests: signal processing

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

5 years ago

Solved

Connect blocks in a model

Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

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

5 years ago

Answered

How to convert image array to double array?

Take your integer array - let's call it 'intArray' and do the following: dblArray = double(intArray);

How to convert image array to double array?

Take your integer array - let's call it 'intArray' and do the following: dblArray = double(intArray);

5 years ago | 1

| accepted

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

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

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

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

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

6 years ago

Solved

Determine if input is odd

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

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

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

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

6 years ago

Answered

re-arranging of columns

Once you import this data into a MATLAB variable, there are multiple methods. One way is as follows, where x is the data and y i...

re-arranging of columns

Once you import this data into a MATLAB variable, there are multiple methods. One way is as follows, where x is the data and y i...

6 years ago | 0

| accepted

Answered

Why has Statistical Toolbox disappeared?

Ideally this shouldn't occur unless you unchecked Statistics Toolbox while installing. Take a look at what you obtain when you t...

Why has Statistical Toolbox disappeared?

Ideally this shouldn't occur unless you unchecked Statistics Toolbox while installing. Take a look at what you obtain when you t...

6 years ago | 1

Answered

Image Processing tool box

There is an Image Tool/Image Viewer App to explore images. It may not provide you with a similar set of menus as in the Wavelet ...

Image Processing tool box

There is an Image Tool/Image Viewer App to explore images. It may not provide you with a similar set of menus as in the Wavelet ...

6 years ago | 1

Answered

How to display entries of a vector with exclusion?

setdiff(V,V(A)) will give you the vector that you want. This will work when V and A are vectors and not cell arrays (you a...

How to display entries of a vector with exclusion?

setdiff(V,V(A)) will give you the vector that you want. This will work when V and A are vectors and not cell arrays (you a...

6 years ago | 0

| accepted

Answered

matlab hangs when help window is opened

This is a bug report for this and a workaround. <http://www.mathworks.com/support/bugreports/870843>

matlab hangs when help window is opened

This is a bug report for this and a workaround. <http://www.mathworks.com/support/bugreports/870843>

6 years ago | 0

| accepted

Answered

Convert algorithm code to simulink model

You can incorporate existing MATLAB script in a Simulink model using MATLAB function blocks. For information on that, take a loo...

Convert algorithm code to simulink model

You can incorporate existing MATLAB script in a Simulink model using MATLAB function blocks. For information on that, take a loo...

6 years ago | 0

Answered

How to generate multiple random samples of size 200

One way to go about this: x = randn(200,1000); This generates normally distributed pseudo-random numbers between 0 and 1...

How to generate multiple random samples of size 200

One way to go about this: x = randn(200,1000); This generates normally distributed pseudo-random numbers between 0 and 1...

6 years ago | 0

Answered

How to say that 2 stem graphs are identical?

If you have the underlying data that created the two stem plots, you can check the difference between the two data. Say you hav...

How to say that 2 stem graphs are identical?

If you have the underlying data that created the two stem plots, you can check the difference between the two data. Say you hav...

6 years ago | 0