Professional Interests: *

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

4 years ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

4 years ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

4 years ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

4 years ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

4 years ago

Solved

Design a function to perform convolution on 2 vector of numbers

The function should accept 2 one dimensional vectors of any length and compute the convolution between these 2 vectors and store...

4 years ago

Solved

Flipping

Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

4 years ago

Solved

Quantization

3-bit ADC channel accepts analog input ranging from 0 to 5 volts, determine the number of quantization levels.

4 years ago

Solved

Decimal to Binary

Create a function that returns the binary of a decimal number. Decimal number is given as 6

4 years ago

Solved

Why?

Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

5 years ago

Solved

Circle area using pi

Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

5 years ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

5 years ago

Solved

Sum of big primes without primes

Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

6 years ago

Solved

Elements with highest local average

Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

6 years ago

Solved

Find maximum value of a curve

Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

6 years ago

Solved

Finding the next number in a number list, are you able to crack it!

So it goes like this, I give a number list and you find the next value! I found a way to do it, just wondering how many other...

6 years ago

Solved

Replace Nonzero Numbers with 1

Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

6 years ago

Solved

Solve the Sudoku Row

*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

6 years ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

6 years ago

Solved

Determine Whether an array is empty

Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

6 years ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

6 years ago

Solved

Find the square of the sum of the digits of a number

If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

7 years ago

Solved

Palindrome Check

Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

7 years ago

Solved

Create the following sequence : 0 1 1 4 9 25 64 169 ...

The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

7 years ago

Solved

Find the area of the four walls

If length, breadth and height of the walls are given, find the area of the four walls.

7 years ago

Solved

Find the dimensions of a matrix

Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

7 years ago

Solved

How many solutions has this problem?

Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

7 years ago