**Statistics**

RANK**422**

of 246,630

REPUTATION**150**

CONTRIBUTIONS

**4** Questions

**42** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**38**

RANK**14,008** of 17,206

REPUTATION**8**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **27**

ALL TIME DOWNLOADS**88**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Find the polynomial expression given the following factors:

It is correct. syms x expand((x+3)*(x-2)*(x+2)*(x+4)) You can also use sym2poly if you have the symbolic toolbox to convert ...

18 hours ago | 0

Splitting an array by the value

y = [9 9 6 4 4 7 9 9 9 9 9 9 9 7 7 5 7 7 9 9 9 9 9]; att = [95.4508 85.2212 97.6083 99.3070 99.9607 99.5018 99.4400 97.4173 99....

1 day ago | 1

| accepted

two variables one equation 3D plot

I have modified your code - clc;clear eL=0; eR=0; gammaL=-2; ...

1 day ago | 1

Vectors as a function

syms x y z t r x=cos(t); y=log(t+2); z=t; r=[x y z]; sol=[1 log(sym(2)) 0]; arrayfun(@(k) solve(eq(r(k),sol(k)),t), 1:nume...

1 day ago | 1

| accepted

Solved

Give me Hamming on five, hold the mayo

A Hamming Number is a positive number that has no prime factor greater than 5. Given a number X, determine how many Hamming num...

2 days ago

Solved

Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

2 days ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

2 days ago

Solved

Sums of Distinct Powers

You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

3 days ago

Solved

Why the heck are they blinking!?!?

Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

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

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

4 days ago

Solved

Hankelize a matrix

Similar to <http://www.mathworks.com/matlabcentral/cody/problems/42501-toeplitize-a-matrix Problem 42501. Toeplitize a matrix>, ...

4 days ago

Solved

Find offset of an element of a multi dimensional matrix

For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

5 days ago

Solved

Free Fall analytical solution (Chapra 2012 textbook Example 1.1)

Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

5 days ago

Solved

The other half of the Fibonacci sequence

The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

6 days ago

Solved

Reassign cell contents to empty variables, preserving cell content data type

Given a cell array C, return a cell array D with the following specifications: 1. D has the same size as the input C. 2. E...

8 days ago

Solved

Basic Monte Carlo Simulation

Input is a matrix including service time and probability of service time. Another input is a random number. Function should tran...

9 days ago

Solved

McCabe Complexity

The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

9 days ago

Solved

Converting Decimal to Binary

Given a decimal number that may include a fractional component, convert it into binary representation. The numbers you are given...

10 days ago

Solved

Four quadrant inverse tangent function.

Create a function that returns an array P the same size as X and Y containing the element-by-element, four-quadrant inverse tang...

11 days ago

Solved

Compute the intersect point of line and plan

Compute the intersect point of line and plan. eg. line AB, the coordinate of A is (1,2,3) the coordinate of B is (-4,-5,-6...

11 days ago

Solved

Selecting books on MATLAB for experts and beginners (blindfolded)

* Imagine you have been blindfolded and asked to pick up any two books randomly from the table. * There are n books suitable f...

13 days ago

Solved

Sample from random roulette

Given a list of values and their probabilities sample 10,000 values. Example: x = [1 2 3 4 5]; prob = [0.2 0.1 0.4 0.1 0.2] ...

13 days ago

Solved

Find the outlier in a set of samples

Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

13 days ago

Solved

Siren frequency and Doppler effect.

The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...

13 days ago

Solved

Ulam spiral 2: The revenge

Starting from the problem <https://www.mathworks.com/matlabcentral/cody/problems/2644-the-ulam-matrix>, transform the Ulam Matri...

13 days ago