Applied Mathematician and Petroleum Engineer

Submitted

Bricks Game

Bricks Game is intended for the entertainment of Matlab programmers.

5 months ago | 3 downloads |

Submitted

JOS_SVD(G)

This program computes the SVD of a matrix using Jacobi method

7 months ago | 5 downloads |

Submitted

Kelvins functions

functions compute kelvink (Ker and Kei) and kelvinb(ber and bei)

8 months ago | 1 download |

Submitted

Shear Force Bending Moment

This function SFBM.m calculates and draw the shear force and bending moment diagrams.

8 months ago | 16 downloads |

Submitted

erfz(z)

erfz(z) returns the error function of complex argument

9 months ago | 0 downloads |

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 months ago

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 ...

9 months ago

Solved

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

9 months ago

Submitted

RK45(dydt, trange, yinit, tol)

RK45 is like matlab's ode45. its can be used on octave as it comes without ode solver.

9 months ago | 4 downloads |

Submitted

Nzeros(fun, xmin, xmax, N)

%% This function computes atmost N zeros (z) between xmin and xmax

10 months ago | 0 downloads |

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 months ago

Submitted

cypherroots(a)

This algorithm computes roots of polynomials using newton raphson method

10 months ago | 0 downloads |

Submitted

HowarthsTransformation(varargin)

HowarthsTransformation.m file solves HowarthsTransformation of boundary layer problem .

12 months ago | 0 downloads |

Question

how to create classes in matlab

How to create classes of special data type, overload operators for them and use them in further calculations

12 months ago | 1 answer | 0

Submitted

PartSwamOpt(fun, funCInEq, funCEq, lb, ub, penalty, popsize, maxiter, maxrun)

Function for searching for minimizer of a function

12 months ago | 2 downloads |

Submitted

LinProg(f, AInEq, bInEq, AEq, bEq, debug)

Solves Linear Programming poblem

1 year ago | 2 downloads |

Submitted

boundarylayerblasius

This is a small m file intended to solve students how to solve boundary layer problem with matlab

1 year ago | 0 downloads |

Answered

Is there any concept like dictionary or hash talbes in matlab like in Python?

Yes. c = containers.Map c('foo') = 1 c(' not a var name ') = 2 keys(c) values(c)

Is there any concept like dictionary or hash talbes in matlab like in Python?

Yes. c = containers.Map c('foo') = 1 c(' not a var name ') = 2 keys(c) values(c)

1 year ago | 6

Answered

How to solve a second order linear differential equation with a heaviside function

Since its a second order differential equation, there is no need for y''(0) and since you want to solve numerically, you can ...

How to solve a second order linear differential equation with a heaviside function

Since its a second order differential equation, there is no need for y''(0) and since you want to solve numerically, you can ...

1 year ago | 0

Answered

why my iteration prog doesn't work ?

increase your number of iteration, you will meet the tolerance target

why my iteration prog doesn't work ?

increase your number of iteration, you will meet the tolerance target

1 year ago | 0

Answered

How to find input data that best matches given output data

I guess this is what you wanted fs/2 = 5e11 length(x) = 958576 freq = transpose([10.7 11.213 11.725 12...

How to find input data that best matches given output data

I guess this is what you wanted fs/2 = 5e11 length(x) = 958576 freq = transpose([10.7 11.213 11.725 12...

1 year ago | 0

Answered

How to write and solve system of differential equations?

This is a pde. To solve this problem, I suggest you use method of lines. Discretize the equation in space. let the solution at e...

How to write and solve system of differential equations?

This is a pde. To solve this problem, I suggest you use method of lines. Discretize the equation in space. let the solution at e...

1 year ago | 1

Submitted

Numerical Laplace Transform

Often times, we are faced with the need to compute the laplace ransfrom of complex function.

1 year ago | 6 downloads |

Answered

Remove the discontinuity from tan(x) where odd multiples of pi/2

x=linspace(-2*pi,2*pi,200); f=tan(x); f(abs(diff([0 f])) > 15) = NaN;

Remove the discontinuity from tan(x) where odd multiples of pi/2

x=linspace(-2*pi,2*pi,200); f=tan(x); f(abs(diff([0 f])) > 15) = NaN;

2 years ago | 0

Submitted

Flash Calculations

This file helps you to compute the split in vapour and mole fractions in vapour and liquid

2 years ago | 6 downloads |

Submitted

Rotate function

The function Rotatefxn3D is a numerical analogy of the Maple rotating function Rotate

3 years ago | 0 downloads |

Submitted

Tube Function

This function is the numerical analogy to the tube function in maple

3 years ago | 0 downloads |