Community Profile

Contact

Top 1% contributor

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

Solve this!

26 days ago

_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

1 year ago

Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

Find out next state (NS) of T Flip-Flop based on previous state (PS), inputs. Learn more about T Flip-Flop theory here: <htt...

Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

Keep Only the Upper characters in a string s = 'Sreeram Mohan'; output = SM;

Given a box, find the volume of the cube. With each side = a.

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

Find the solution of algebraic equation of the form an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;...

Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

Test the bisection algorithm described in Chapter 5 of Steven C. Chapra's textbook, *Applied Numerical Methods with MATLAB for E...

Given an mxn numeric array (A) and a 1x2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m*p)x(n...

Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

Given the coefficients of the equation which defines a plane as follows: ax+by+cz=d, return a boolean indicating whether the 2n...

Tests your ability to write a trivial function.

The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

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

Related to Problem 1646, but bigger. Technically, all you need to do for this Cody problem is input a 4x4 matrix containing the...

Find an optimal 3x3 Kurchan square, score of 198. A 3x3 Kurchan square has values 1:9.The products of each row, column, diag...

Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...

Return true if there is a supported GPU device available on the Cody computer.

Find rms value of a set of observations of a physical quantity? Hint: The observations are accessed in the form of vectors

The Ulam spiral is simple to describe. On a gridded piece of paper, write down the number 1. Then write successive integers as y...

e.g. input number x=10 then it should produce y=25 or x=100 then y should be 2255. write a function or code to generate the same...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries