Solved

Find the area of the square

There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

12 maanden ago

Solved

Times 5

Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

12 maanden ago

Solved

First N Perfect Squares

*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

12 maanden ago

Solved

Duplicate a character

Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

12 maanden ago

Solved

Make one vector from two others

You are given two vectors of equal length. Your task is to create a MATLAB script that will repeat all of the values in the fir...

12 maanden ago

Solved

Reverse digits of a number

Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

12 maanden ago

Solved

Union of two set decreasing order

Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

12 maanden ago

Solved

Add one raw in given matrix as shown in example

*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

12 maanden ago

Solved

Create a Standard Size Vector

Given an input x, create a row vector y from 1 to x with 5 elements.

12 maanden ago

Solved

What number has this problem?

This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

12 maanden ago

Solved

generate the matrix

given a value n (say 4) - generate the matrix like below y= [0 1 2 3 4; -1 0 1 2 ...

12 maanden ago

Solved

Convert decimal to hex as shown in test cases

Convert decimal to hex as shown in test cases.

12 maanden ago

Solved

Average Grade

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

12 maanden ago

Solved

Area-01

Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

12 maanden ago

Solved

metre to feet converter

The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

12 maanden ago

Solved

Kinetic Energy

Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

12 maanden ago

Solved

Sum of Two Numbers

Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

12 maanden ago

Solved

Find the last digit

FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

12 maanden ago

Solved

Determine whether the input is divisible by 3 as well as 5

If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

12 maanden ago

Solved

For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?

For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

12 maanden ago

Solved

Matrix multiplication

Multiply two incoming matrices via matrix multiplication

12 maanden ago

Solved

Find the sum of the largest two elements in a vector

With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

12 maanden ago

Solved

Find the index of the lowest number in a matrix

Take a matrix, and find the [row cal] index of the lowest number

12 maanden ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

12 maanden ago