..

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

circa 12 ore 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...

circa 12 ore ago

Solved

Squaring Matrix

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

circa 12 ore ago

Solved

Find the sum of n squares

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

circa 12 ore ago

Solved

Create a square matrix of zeros of even order

Create a square matrix of zeros of even order

circa 12 ore 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...

1 giorno 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

1 giorno 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]|. ...

1 giorno 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] ...

1 giorno ago

Solved

Number of vertices of a hypercube

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

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

2 giorni ago

Solved

0<=x<=pi?

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

2 giorni 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

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

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

2 giorni ago

Solved

Determine the length of a string of characters

Determine the length of a string of characters

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

2 giorni ago

Solved

Smith numbers

Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

4 giorni ago

Solved

What percentage?

Calculate the output c as the percentage of a on b for given a and b.

5 giorni ago

Solved

Roots

Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

5 giorni ago