Community Profile

photo

sunil anandatheertha


Last seen: plus de 2 ans il y a Actif depuis 2010

Doctoral researcher.

Statistiques

All
  • Solver
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 4
  • First Review
  • First Submission
  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Content Feed

Afficher par

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 2 ans il y a

Question


Why is rand faster than rand(1) ?
I am optimizing my monte-carlo codes and have a question on rand function. Below, i give simple codes to get a random n...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

A soumis


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.

presque 4 ans il y a | 1 téléchargement |

Thumbnail

A résolu


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

presque 4 ans il y a

A résolu


Four digit number ABCD reversal
write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

presque 4 ans il y a

A résolu


Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 retu...

presque 4 ans il y a

A soumis


CLOCK version 1.0: display a clock
A simple clock. Version 1.1

environ 12 ans il y a | 1 téléchargement |

Thumbnail

A soumis


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

environ 12 ans il y a | 1 téléchargement |

A soumis


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

environ 12 ans il y a | 15 téléchargements |

Thumbnail

A soumis


A very simple random integer generator using rand().
A very simple random integer generator using rand().

environ 12 ans il y a | 2 téléchargements |

Thumbnail

A soumis


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.

environ 12 ans il y a | 5 téléchargements |

Thumbnail

A soumis


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

environ 12 ans il y a | 8 téléchargements |

Thumbnail

A soumis


A simple, physics based simulation of freefall - Version 1a
This is a simple free fall simulation.

environ 12 ans il y a | 5 téléchargements |

Thumbnail

A répondu
date to number
Try using this for general purposes: a=clock;a(1),a(2),a(3),a(4),a(5),a(6) Assuming the 09-08-01 00:56:33 to be, da...

environ 12 ans il y a | 0

A répondu
Using markers for data, lines for simulations
hmm, please see if this is of some help to you (though this one does not use function handles!!): >> a=1:10;b=a.^...

environ 12 ans il y a | 0

| A accepté

A soumis


Generate [file/folder/any] name based on current time
Generate [file/folder] name based on current time. Useful for some automated folder/file creation.

environ 12 ans il y a | 1 téléchargement |

A soumis


Identify edge and corner element numbers
Identify the elements lying along edges and corners of a 2D (n x m) matrix

environ 12 ans il y a | 1 téléchargement |

Thumbnail

A répondu
Writing text file
ahhhhhhh, i use the dlmwrite('D:\rrr.txt','delimiter','\t') instead. Whichever works for the moment !! ;)

environ 12 ans il y a | 0

A répondu
Rounding off
function [RoundedNumber] = mround(numbers,decimalPlace,option) % mround: Manual Round %This function takes the input 'numb...

environ 12 ans il y a | 0

Question


How do I specify the compression level to gzip?
Is there a way I can specify the zip compression to "best compression" or "normal compression".

plus de 12 ans il y a | 3 réponses | 1

3

réponses

A soumis


Finite Difference Laplace Equation Solver using unequal square grid xy grids.
Finite difference (central) method is applied and solution is used to solve Laplace's equation.

environ 13 ans il y a | 2 téléchargements |

Thumbnail

A soumis


An extended method to find the value of pi using random numbers inside a sphere..
Uses the random function generator and 3D matrix.

plus de 13 ans il y a | 3 téléchargements |

Thumbnail