Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 2 years ago

Rapidly find the points lying inside a cut-off radius by sunil anandatheertha

This completely vectorized code helps you find all points within a cut-off radius from given point. (molecular dynamics, molecular mechanics, nanotechnology)

pointsincircle(xydata,radius,hk)

testrun.m

image thumbnail

updated 2 years ago

CLOCK version 1.0: display a clock by sunil anandatheertha

A simple clock. Version 1.1 (clock, math, digital clock)

clockplot()

image thumbnail

updated 2 years ago

Find the "I J K" indices of any element number "e" in the 2D or 3D matrix by sunil anandatheertha

Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number (aerospace, automotive, communications)

[row,column,plane]=findijk(e,rcp)

image thumbnail

updated 2 years ago

Monte carlo simulation of three dimensional grain growth - code - version No. 1 (basic) by sunil anandatheertha

Q-state Metropolis algorithm based Monte-Carlo simulation of basic 3D GRAIN GROWTH (metallurgy, materials, material science)

AssignRandomInitialStateMatrix_3D_QPOTTS(x,Q)

E1=Energy1_3D_QPOTTS(IESM)

E2=Energy2_3D_QPOTTS(IESM_NewSpin)

image thumbnail

updated 2 years ago

A very simple random integer generator using rand(). by sunil anandatheertha

A very simple random integer generator using rand(). (aerospace, mathematics, statistics)

randint(i1,i2)

image thumbnail

updated 2 years ago

Generate coordinates for slotted ClarkY airfoil having leading edge slat and trailing flap by sunil anandatheertha

Generate coordinates for slotted ClarkY airfoil having leading edge slat and trailing flap. (aerospace, clark y, leading edge)

loadairfoilCY()

loadnaca23012()

airfoil_new.m

image thumbnail

updated 2 years ago

Monte carlo simulation of two dimensional grain growth - code - version No. 1 (basic) by sunil anandatheertha

Q-state Metropolis algorithm based Monte-Carlo simulation of basic GRAIN GROWTH (metallurgy, materials, material science)

AssignRandomInitialStatematrix(x,Q);

AverageGrainSize(state,x,y)

EdgeBoundaryWrapQPOTTS(i,j,x)

image thumbnail

updated 2 years ago

A simple, physics based simulation of freefall - Version 1a by sunil anandatheertha

This is a simple free fall simulation. (physics, mathematics, demo)

DroppingBall(g,delt,h)

image thumbnail

updated almost 3 years ago

Generate [file/folder/any] name based on current time by sunil anandatheertha

Generate [file/folder] name based on current time. Useful for some automated folder/file creation. (aerospace, data export, automotive)

genFilename()

image thumbnail

updated almost 3 years ago

Identify edge and corner element numbers by sunil anandatheertha

Identify the elements lying along edges and corners of a 2D (n x m) matrix (matrix, aerospace, mathematics)

IdentifyEdgesAndCorners(A)

image thumbnail

updated 3 years ago

Files associated with FREE finite difference textbook by Clive

m-files to implement classical finite difference schemes for partial differential equations. (numerical methods, finite difference met..., pde)

Casestudychapter3

LaplaceGStest

LaplaceJacobigeneral

image thumbnail

updated almost 4 years ago

Finite Difference Laplace Equation Solver using unequal square grid xy grids. by sunil anandatheertha

Finite difference (central) method is applied and solution is used to solve Laplace's equation. (aerospace, automotive, simulation)

AllocateFlagValue(X,Y,obstruction_Dimension)

AllocateFlagValue1(X,Y,obstruction_Dimension,grid_values)

CalculatePsi(X,Y,StreamFunction,FM,obstruction_Dimension)

image thumbnail

updated almost 4 years ago

An extended method to find the value of pi using random numbers inside a sphere.. by sunil anandatheertha

Uses the random function generator and 3D matrix. (mathematics, simulation, rand)

Find_pi_from_Sphere_Method.m

Contact us