1.168 total contributions since 2012

Systems Engineer

Solved

Digit concentration in Champernowne's constant

Consider the first 50 digits of Champernowne's constant 0.12345678910111213141516171819202122232425262728293... The...

bijna 2 jaar ago

Solved

An asteroid and a spacecraft

🚀 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...

bijna 2 jaar ago

Solved

Acid and water

⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ Assume that there is a 100 liter tank. It is initially fi...

bijna 2 jaar ago

Solved

Number of Even Elements in Fibonacci Sequence

Find how many even fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

bijna 2 jaar ago

Solved

The 5th Root

Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

bijna 2 jaar ago

Solved

Freebies anyone? No!!!!

Feel free to copy paste all the tests and voila you solved the problem

ongeveer 2 jaar ago

Solved

UICBioE240 problem 1.10

Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

ongeveer 2 jaar ago

Solved

square a vector-Given the variable x as your input, square it and put the result in y.

function y = (x)squared y = x; end

ongeveer 2 jaar ago

Solved

Area of a circle

Given the radius x, y would be the area of a circle. Pi = 3.1416

ongeveer 2 jaar ago

Solved

What's size of TV?

Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

ongeveer 2 jaar ago

Solved

My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.

given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

ongeveer 2 jaar ago

Solved

ASCII Code

Using matlab, give the symbol that is associated with ASCii code 90.

ongeveer 2 jaar ago

Solved

Annual Salary

What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

ongeveer 2 jaar ago

Solved

Initialize a Natural Number matrix.

Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

ongeveer 2 jaar ago

Solved

Kelvin to Celsius

Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

ongeveer 2 jaar ago

Solved

Step up

For given input array, output a array with all elements step up by two

ongeveer 2 jaar ago

Solved

Get 1-4-3-4-4

Get the value of the indices in the title and assign it to an array

ongeveer 2 jaar ago

Solved

Is it column vector?

Is it column vector? Check vector for column vector without using iscolumn function.

ongeveer 2 jaar ago

Solved

Minimum of each diagonal

The well-known <http://www.mathworks.com/help/matlab/ref/min.html min> function can operate along either the rows or the columns...

ongeveer 2 jaar ago

Solved

Sort rows of a matrix

Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

ongeveer 2 jaar ago

Solved

Sum all integers from 1 to 2^x

Given a number x, your function must return the summation of all integers from 1 to 2^x.

ongeveer 2 jaar ago

Solved

Where is she?

Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

ongeveer 2 jaar ago

Solved

Print true if

all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

ongeveer 2 jaar ago

Solved

Basic commands - rounding

make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

ongeveer 2 jaar ago

Solved

Basic commands - amount of inputs

Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

ongeveer 2 jaar ago

Solved

チェッカーボードを作ろう

整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。 例： 入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 ...

ongeveer 2 jaar ago

Solved

Add two different item as shown in example

Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

ongeveer 2 jaar ago

Solved

Find hen's weight.

If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

ongeveer 2 jaar ago

Solved

~(*|/)

Return three quarters of n without using addition, subtraction, multiplication or division.

ongeveer 2 jaar ago

Solved

Gamma Function

Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

ongeveer 2 jaar ago