Solved

System of equations

Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

etwa 2 Monate ago

Solved

Projector Matrix

Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

etwa 2 Monate ago

Solved

Check to see if a Sudoku Puzzle is Solved

*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

etwa 2 Monate ago

Solved

Find the area of a rectangle if length of the diagonal is given.

if length of a diagnonal in rectangle is 5. Its area is 12.

etwa 2 Monate ago

Solved

Create Vector containing following elements

Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

etwa 2 Monate 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...

etwa 2 Monate ago

Solved

Find the two-word state names

Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

etwa 2 Monate ago

Solved

What is the next step in Conway's Life?

Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

etwa 2 Monate ago

Solved

Convert a temperature reading from Celsius to an unknown scale

Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

etwa 2 Monate ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

etwa 2 Monate ago

Solved

Squaring Matrix

Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

etwa 2 Monate ago

Solved

Find the sum of n squares

What is the sum of the squares of the first n integers?

etwa 2 Monate ago

Solved

Create a square matrix of zeros of even order

Create a square matrix of zeros of even order

etwa 2 Monate ago

Solved

Count photos

Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

etwa 2 Monate ago

Solved

Volume of Cylinder

Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

etwa 2 Monate ago

Solved

Check if a rotated array was originally sorted

Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

etwa 2 Monate ago

Solved

Zero Cross

Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

etwa 2 Monate ago

Solved

Number of vertices of a hypercube

Return the number of vertices of a n-dimensional hypercube.

etwa 2 Monate ago

Solved

Binary Coder

Take an input number and print the binary value of this number.

etwa 2 Monate ago

Solved

Find out total non zero element of matrix

Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

etwa 2 Monate ago

Solved

Area of a circle

Find the value for area of the circle if diameter is given

etwa 2 Monate ago

Solved

0<=x<=pi?

Check whether the given angle is between zero and pi. Return logical true or false.

etwa 2 Monate ago

Solved

Convert from Base 10 to base 5

Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

etwa 2 Monate ago

Solved

middleAsColumn: Return all but first and last element as a column vector

Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

etwa 2 Monate ago

Solved

Element by element multiplication of two vectors

Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

etwa 2 Monate ago

Solved

Determine the length of a string of characters

Determine the length of a string of characters

etwa 2 Monate ago

Solved

Create a two dimensional zero matrix

You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

etwa 2 Monate ago