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

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar ago

Solved

Quantization

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

meer dan 3 jaar ago

Solved

Decimal to Binary

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

meer dan 3 jaar 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...

ongeveer 4 jaar 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. ...

ongeveer 4 jaar 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...

meer dan 4 jaar 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 ...

bijna 6 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar 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 ...

bijna 6 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar ago

Solved

Determine Whether an array is empty

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

bijna 6 jaar ago

Solved

Get the length of a given vector

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

bijna 6 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar 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.

bijna 6 jaar 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

bijna 6 jaar 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...

bijna 6 jaar ago