Community Profile

Contact

Top 1% contributor

21 downloads

5 months ago

It's great that your regexp problem was solved. For future questions, there are several items on the File Exchange that may hel...

1586 views

Responded 2 years ago

8 downloads

2 years ago

Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

Solve this!

24 days ago

Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

2 months ago

Produce the following matrix x = [2 3 4] y_correct = [1 1/2 1/3; 2 1 1/4; 3 4 1];

A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

3 months ago

An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

4 months ago

Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

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

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

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

Find the sum of numbers from 1-50 using for loop.

Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

10 months ago

Just like Matthew's problem <http://www.mathworks.com/matlabcentral/cody/problems/2793 2793> and Edward's problem <http://www.ma...

Return any number (integer between 0 and 65535) You will pass this problem if you are the *second* person to choose that nu...

11 months ago

Given a square matrix A, compute the <http://en.wikipedia.org/wiki/Determinant determinant> of A. Note that you may not use t...

Related to Problems 1646 and 2650, but bigger. Technically, all you need to do for this Cody problem is input a 5x5 matrix conta...

12 months ago

Complete the function by assigning minReal with the smallest positive double precision floating-point number, and maxReal with t...

1 year ago

Write a function that dispatches the single argument _x_ to multiple function handles (varargin) and concatenates vertically the...

Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

This problem is created to test an alternative Cody scoring system. It is based on the current one, but few changes are introduc...

For a given string sentence, determine if the string word 'please' is present or not. If so, return the string 'OK', else return...

Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

Load more