解決済み


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

9年弱 前

解決済み


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

9年弱 前

解決済み


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

9年弱 前

解決済み


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

約9年 前

解決済み


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

約9年 前

解決済み


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

約9年 前

解決済み


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

約9年 前

解決済み


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

約9年 前

解決済み


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

約9年 前

解決済み


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

約9年 前

解決済み


Is matlab fun?
Returns 'yes' no matter the input.

約9年 前

解決済み


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

約9年 前

解決済み


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

約9年 前

解決済み


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

9年以上 前

解決済み


Divide the Least Common Multiple by the Greatest Common Divisor of two numbers
Divide the Least Common Multiple by the Greatest Common Divisor of two numbers. For example, for x=12345 and y=54321, the answer...

9年以上 前

解決済み


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

9年以上 前

解決済み


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

9年以上 前

解決済み


Halder function
Find the halder function value of a number

9年以上 前

解決済み


find max
You are given an array number find the maximum

9年以上 前

解決済み


find minimum
find the minimum from an array

9年以上 前

解決済み


find sum of the numbers in array
calculate the sum of numbers in a given array

9年以上 前

解決済み


Find mean
given an array, find the mean of the number in that array

9年以上 前

解決済み


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

9年以上 前

解決済み


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

9年以上 前

解決済み


add 1 to every elements
Add 1 to every elements of an array

9年以上 前

解決済み


first element of matrix
find the first elements of a column matrix

9年以上 前

解決済み


find lenth of array
you have given an array, find the length of that.

9年以上 前

解決済み


add two numbers
two numbers given, output should addition of them.

9年以上 前

解決済み


Find subtraction
Given a, b. Find a-b

9年以上 前

解決済み


add each element with 4
You have given a array. Add 3 to each element of that array.

9年以上 前

さらに読み込む