Problem


Program an AND operation.
Program an AND operation.

mehr als 11 Jahre vor | 0 | 1 Lösungsvorschlag

Gelöst


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

mehr als 11 Jahre vor

Gelöst


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

mehr als 11 Jahre vor

Problem


sort Array elements in ascending order.
if input A = [9 0 -7 5 3 8 -10 4 2]; output : B = -10 -7 0 2 3 4 5 8 9

mehr als 11 Jahre vor | 0 | 0 Lösungsvorschläge

Gelöst


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

mehr als 11 Jahre vor

Gelöst


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

mehr als 11 Jahre vor

Gelöst


Negative matrix
Change the sign of all elements in given matrix.

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

mehr als 11 Jahre vor

Gelöst


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

mehr als 11 Jahre vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

mehr als 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 11 Jahre vor

Gelöst


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

mehr als 11 Jahre vor

Gelöst


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

mehr als 11 Jahre vor

Gelöst


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

mehr als 11 Jahre vor

Gelöst


y equals x divided by 2
function y = x/2

mehr als 11 Jahre vor

Gelöst


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

mehr als 11 Jahre vor

Gelöst


Conversion from hours to mili sec
Convert given input in hours to mili seconds

mehr als 11 Jahre vor

Gelöst


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

mehr als 11 Jahre vor

Gelöst


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

mehr als 11 Jahre vor

Gelöst


kmph to mps
convert kilometer per hour to meter per second

mehr als 11 Jahre vor

Problem


Append two vectors
MATLAB allows you to append vectors together to create new vectors.

mehr als 11 Jahre vor | 0 | 0 Lösungsvorschläge

Problem


Append two vectors
MATLAB allows you to append vectors together to create new vectors.

mehr als 11 Jahre vor | 0 | 4 Lösungsvorschläge

Gelöst


Calculate SImple Interest
SI=P*T*R

mehr als 11 Jahre vor

Problem


Calculate SImple Interest
SI=P*T*R

mehr als 11 Jahre vor | 0 | 18 Lösungsvorschläge

Problem


calculate Simple Interest
SI=(principal*time*rate)/100

mehr als 11 Jahre vor | 0 | 13 Lösungsvorschläge

Gelöst


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

mehr als 11 Jahre vor

Problem


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

mehr als 11 Jahre vor | 0 | 18 Lösungsvorschläge

Mehr laden