Community Profile

# Ashish Patel

Active since 2022

Hi, I am Ashish. Thank you for visiting my profile. I have been facilitating teaching learning activities since 7 years. Currently, I work as a lecturer of mechanical engineering. My most important and satisfying professional objective is sharing my passion for engineering mechanics with students. I love computational programming and engineering mathematics. MATLAB, Octave, Jupyter notebooks are my favorite coding platforms . I am very much interested in machine learning and I am just trying my best to involve myself in applications of machine learning. Let's connect!

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Hindi, Telugu
Professional Interests:
Machine Learning and Deep Learning, Mechanical Engineering

#### Content Feed

View by

Solved

"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

Solved

Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

Solved

Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

Solved

Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

Solved

Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3, Y = [1 2 3; ...

Solved

Create Volcano (or Atoll) martix. It is an extension of Bullseye matrix problem.
For example, if n=2 (maximum value), the output matrix should be [1 1 1 1 1; 1 2 2 2 1; 1 2 1 2 1; 1 2 2 2 1; 1 1 ...

Solved

Better bullseye matrix
<http://www.mathworks.com/matlabcentral/cody/problems/18-bullseye-matrix Problem 18> asks to create a bullseye matrix like this:...

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

Solved

Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

Solved

Total energy

Solved

Potential energy calculation

Solved

Kinetic energy calculation

Solved

Laws of motion 6

Solved

Laws of motion 5

Solved

Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

Solved

Laws of motion 3

Solved

Laws of motion 2

Solved

Laws of motion 1

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

Solved

Find max
Find the maximum value of a given vector or matrix.

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

Solved

Inner product of two vectors
Find the inner product of two vectors.

Solved

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

Solved

Outer product of multiple vectors
In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...

Solved

Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.