Matrix rotation as per given angle
Given a user defined matrix and angle of rotation, rotate the elements of output matrix as clockwise or anti-clockwise. Angle wi...
2 years 前
已解决
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;
...
Beginner's Problem - Squaring
Try out this test problem first.
Given the variable x as your input, square it by two and put the result in y.
Examples:
...
2 years 前
已解决
Test
Answer the question and the correct answer write in vector. Only one answer is correct.
1a Yes
1b No
1c No
1d No
...
2 years 前
已解决
Test of Quiz
Answer the questions and write in vector. Only one answer is correct.
The founder of fuzzy logic is
1a) D. Golberg
1b)...
2 years 前
已解决
Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is
720 = 1 * 2 * 3 * 4* 5 *6
Thus 6 factorial = factorial(720)....
Back to basics - array operations
Without performing actual arithmetic operations on arrays, return feasibility of operation as true or false. True if given opera...
2 years 前
已解决
Cumulative difference
Given an array, return the cumulative difference.
Example
a = [ 1 3 5 7 ]
cumdiff = [ 1 2 1 -2 ]
2 years 前
已解决
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix
Example
...