Rank: 556 based on 243 downloads (last 30 days) and 12 files submitted
photo

sunil anandatheertha

E-mail
Company/University
Indian Institute of Science
Lat/Long
13.134958, 77.58909

Personal Profile:

https://sites.google.com/site/saraswatiguitarveena/

Professional Interests:
Computational Fluid Dynamics, Nanotechnology, Computational Material Science, Physics based simulations, Carnatic Classical Music, aerospace engineering

 

Watch this Author's files

 

Files Posted by sunil View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Mar 2012 Screenshot Rapidly find the points lying inside a cut-off radius This completely vectorized code helps you find all points within a cut-off radius from given point. Author: sunil anandatheertha molecular dynamics, molecular mechanics, nanotechnology, points in a circle, find pints inside a r..., mathematics 45 1
17 Feb 2012 Screenshot CLOCK version 1.0: display a clock A simple clock. Version 1.1 Author: sunil anandatheertha clock, math, digital clock, analog clock, show time, time 25 0
14 Feb 2012 Find the "I J K" indices of any element number "e" in the 2D or 3D matrix Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number Author: sunil anandatheertha aerospace, automotive, communications, matrix, indices, element number 12 8
  • 1.5
1.5 | 3 ratings
08 Feb 2012 Screenshot Monte carlo simulation of three dimensional grain growth - code - version No. 1 (basic) Q-state Metropolis algorithm based Monte-Carlo simulation of basic 3D GRAIN GROWTH Author: sunil anandatheertha metallurgy, materials, material science, monte carlo, metropolis, grain growth 23 1
  • 5.0
5.0 | 1 rating
05 Feb 2012 Screenshot A very simple random integer generator using rand(). A very simple random integer generator using rand(). Author: sunil anandatheertha aerospace, mathematics, statistics, finance, random integer, randint 11 0
Comments and Ratings by sunil View all
Updated File Comments Rating
14 Feb 2012 Find the "I J K" indices of any element number "e" in the 2D or 3D matrix Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number Author: sunil anandatheertha

I have updated the file accordingly, in terms of the formatting and layout:). I agree the inbuilt function is better. Users inquisitive enough to know about another approach to the same job may find this interesting. The updated file should appear online soon...

14 Feb 2012 Find the "I J K" indices of any element number "e" in the 2D or 3D matrix Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number Author: sunil anandatheertha

Thank you for your comment and the rating :)

13 Feb 2012 Find the "I J K" indices of any element number "e" in the 2D or 3D matrix Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number Author: sunil anandatheertha

Dear RichardCrozier and John D'Errico,,, thank you for our comments and rating.

Actually, I was not aware of a function like sub2ind when i needed it. So, had to write my own code.

Since i have followed a different approach for getting the same answer, i wanted to share it with the community.

Yeah true, the inbuilt matlab code is more complete. I will think of generalizing my code too and will repost it someday. Thanks :)

26 Jan 2012 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

wowwww...! Thanks a lot for this great share. Still a beginner here,, :),, and your codes are giving me a lot to learn.

Extremely useful.. Am sharing the links with frnds.. B)

19 Jul 2011 Brownian Motion Simulation of Brownian Motion of N particles for T time. Author: Nishant Gupta

This is basically a random walk. Try making a self avoiding random walk with directionality. Will be a nice experience coding.

Comments and Ratings on sunil's Files View all
Updated File Comment by Comments Rating
17 Sep 2012 Monte carlo simulation of two dimensional grain growth - code - version No. 1 (basic) Q-state Metropolis algorithm based Monte-Carlo simulation of basic GRAIN GROWTH Author: sunil anandatheertha Yang, Huanping

Thank you for sharing.

10 May 2012 Monte carlo simulation of three dimensional grain growth - code - version No. 1 (basic) Q-state Metropolis algorithm based Monte-Carlo simulation of basic 3D GRAIN GROWTH Author: sunil anandatheertha ke

hi thank you

07 May 2012 Monte carlo simulation of two dimensional grain growth - code - version No. 1 (basic) Q-state Metropolis algorithm based Monte-Carlo simulation of basic GRAIN GROWTH Author: sunil anandatheertha ke

Hi thank you very much!

23 Mar 2012 Rapidly find the points lying inside a cut-off radius This completely vectorized code helps you find all points within a cut-off radius from given point. Author: sunil anandatheertha Simon, Jan

You compare the distances twice:
in = find(dist<radius); ...
out = find(dist>radius);
Logical indexing would be more efficient:
in = (dist <= radius);
out = ~in;
This would include the points on the radius in addition.

03 Mar 2012 Generate coordinates for slotted ClarkY airfoil having leading edge slat and trailing flap Generate coordinates for slotted ClarkY airfoil having leading edge slat and trailing flap. Author: sunil anandatheertha Rajesh Senthil Kumar

Contact us