问题


Program an AND operation.
Program an AND operation.

11 years 前 | 0 | 1 个解题者

已解决


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

11 years 前

已解决


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

11 years 前

问题


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

11 years 前 | 0 | 0 个解题者

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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]

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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.

11 years 前

已解决


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

11 years 前

已解决


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.

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


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

11 years 前

已解决


kmph to mps
convert kilometer per hour to meter per second

11 years 前

问题


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

11 years 前 | 0 | 0 个解题者

问题


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

11 years 前 | 0 | 4 个解题者

已解决


Calculate SImple Interest
SI=P*T*R

11 years 前

问题


Calculate SImple Interest
SI=P*T*R

11 years 前 | 0 | 18 个解题者

问题


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

11 years 前 | 0 | 13 个解题者

已解决


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

11 years 前

问题


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

11 years 前 | 0 | 18 个解题者

加载更多