A résolu


Reverse a matrix
Its simple. You have to reverse a given matrix.

environ 11 ans il y a

A résolu


Concatenate two strings
Its very easy. Just concatenate two strings.

environ 11 ans il y a

A résolu


Positive Infinity
Round the array a towards positive infinity

environ 11 ans il y a

A résolu


Negative Infinity
Round the given array a towards negative infinity.

environ 11 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

environ 11 ans il y a

A résolu


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

environ 11 ans il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

environ 11 ans il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

environ 11 ans il y a

A résolu


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

environ 11 ans il y a

A résolu


Determine the square root
Determine the square root of the value the user has entered, n.

environ 11 ans il y a

A résolu


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

environ 11 ans il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

environ 11 ans il y a

A résolu


Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

environ 11 ans il y a

A résolu


select the primes of a vector
Find the prime numbers in a vector

environ 11 ans il y a

A résolu


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

environ 11 ans il y a

A résolu


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

environ 11 ans il y a

A résolu


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

environ 11 ans il y a

A résolu


Add two numbers
Add two numbers (For beginners)

environ 11 ans il y a

A résolu


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

environ 11 ans il y a

A résolu


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

environ 11 ans il y a

A résolu


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

environ 11 ans il y a

A résolu


kmph to mps
convert kilometer per hour to meter per second

environ 11 ans il y a

A résolu


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

environ 11 ans il y a

A résolu


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

environ 11 ans il y a

A résolu


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

environ 11 ans il y a

A résolu


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

environ 11 ans il y a

A résolu


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]

environ 11 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ 11 ans il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

environ 11 ans il y a

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

environ 11 ans il y a

Charger plus