Community Profile

# Divyaprakash

### Indian Institute of Technology Delhi

Last seen: 2 dagar ago Active since 2020

PhD Student Applied Mechanics

Programming Languages:
Python, C++, C, MATLAB, Fortran
Spoken Languages:
English, French, Hindi

All

#### Content Feed

View by

Submitted

Boundary Element Method
Two-dimensional boundary element solver

Submitted

Midpoint Method
Solves IVP using the Midpoint method

Submitted

The Jacobi Method
Solves a system of equations using the Jacobi method

Submitted

Potential Flow
Plots planar irrotational flows using the superposition principle

Submitted

Secant Method
Calculates the root of a function

Submitted

Simpson's 1/3rd rule of numerical integrations
Calculates the integral using Simpson's 1/3rd rule

Submitted

projectile_distance
Calculates the horizontal distance traveled by a projectile

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

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

Submitted

Richardson Extrapolation
Calculates approximation using Richardson's extrapolation

Submitted

Bisection Method
Calculates the root of a function

Submitted

Numerical Integration using Finite Sum
Approximates an integral by a finite sum

Submitted

flow_visualization
Plots streamlines, streaklines and pathlines

Submitted

Two-Dimensional Heat Transfer
Solves a 2D Heat Transfer/ Laplace / Diffusion Equation Solution

Solved

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

Submitted

Newton-Rhapson Method (System of Nonlinear Equations)
Calculates the roots of equation(s) using Newton-RhapsonMethod

Submitted

smd_vibrations
Solves for the forced vibrations of a spring-mass-damper system

Submitted

taylor_series
Returns the Taylor series and its evaluation at a point.

Submitted

cranknicolsonheat
Solves a 1D transient heat conduction problem

Submitted

odephaseportrait
Draws a 2D phase portrait of a given system of 2 ODEs

Submitted

RK4
Solves IVP using using Runge-Kutta Method

Submitted

Euler's Method
Solves IVP using Euler's method

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

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

Question

How can I use funtions defined in a column vector individually?
I am looking to solve a problem using ode45 and Runge-Kutta method. For ode45 I hav defined the function as follows. odefun = @...