Community Profile # Ramesh Singh

Last seen: 4日 前 2020 以来アクティブ

BE in mechanical from tribhuvan university nepal
personal interest
machine learning,
deep learning etc

#### Statistics

All
• • • • • • • • バッジを表示

#### Content Feed

Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

Cofactor
Given a matrix, find the cofactor of the element in 'i'th row and 'j'th column.

Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

Take two incoming vectors and output the sum of the two vectors

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

Matrix Max Finder
Output the maximum value in a matrix

Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

Sum two matrices
Take two incoming matrices, and sum them

easy problem
Find the last element of the array

Array of Ones
Create a 100 X 100 array of ones.

Determine if a row vector has NaN
Determine if a row vector x has NaN

calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

Test if a number is numeric or not
Test if a number is numeric or not

factorial of a number x
Factorial of a number x

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

3ヶ月 前

Find Logic 17

3ヶ月 前

Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

3ヶ月 前