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

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni ago

Solved

Quantization

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

oltre 3 anni ago

Solved

Decimal to Binary

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

oltre 3 anni 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...

oltre 4 anni 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. ...

oltre 4 anni 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...

circa 5 anni 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 ...

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni 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 ...

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni ago

Solved

Determine Whether an array is empty

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

circa 6 anni ago

Solved

Get the length of a given vector

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

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni 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.

circa 6 anni 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

circa 6 anni 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...

circa 6 anni ago