Problema


Program an AND operation.
Program an AND operation.

oltre 11 anni fa | 0 | 1 risolutore

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Problema


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

oltre 11 anni fa | 0 | 0 risolutori

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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 11 anni fa

Risolto


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]

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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.

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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.

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


kmph to mps
convert kilometer per hour to meter per second

oltre 11 anni fa

Problema


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

oltre 11 anni fa | 0 | 0 risolutori

Problema


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

oltre 11 anni fa | 0 | 4 risolutori

Risolto


Calculate SImple Interest
SI=P*T*R

oltre 11 anni fa

Problema


Calculate SImple Interest
SI=P*T*R

oltre 11 anni fa | 0 | 18 risolutori

Problema


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

oltre 11 anni fa | 0 | 13 risolutori

Risolto


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

oltre 11 anni fa

Problema


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

oltre 11 anni fa | 0 | 18 risolutori

Carica altro