Thread Subject: how to generate a random set of nodes using matlab

Subject: how to generate a random set of nodes using matlab

From: Yang

Date: 15 Mar, 2010 20:46:06

Message: 1 of 3

I'm using meshless method to model localization problem and I want to discretize a 2D problem domain using a set of randomly distributed nodes, is there anyone who knows how to generate the random nodes using Matlab? I would appreciate your help very much!

Subject: how to generate a random set of nodes using matlab

From: Walter Roberson

Date: 15 Mar, 2010 21:00:22

Message: 2 of 3

Yang wrote:
> I'm using meshless method to model localization problem and I want to
> discretize a 2D problem domain using a set of randomly distributed
> nodes, is there anyone who knows how to generate the random nodes using
> Matlab? I would appreciate your help very much!

Generating the random nodes without some kind of feedback from the fit is
unlikely to find a good minimum unless the problem is pretty flat.

I suppose you could take all of the generated nodes 4 at a time, and use them
to predict the minima of a quartic fit through those points (quartic being the
maximum order with exact solutions), and test the values at all of the
predicted points... (you might have to use fewer points or a lower order or to
predict x and y separately in order to make the orders work out.) Not quite
sure how else you could hope to minimize the function except by a lot of
trials without feedback... and if you are going to do that, then using a mesh
and gradient techniques would seem more effective...


Have you considered possibilities such as using a simplex approach in which
you add gaussian noise to the generated coordinates (or at least to each new
node) ?

Subject: how to generate a random set of nodes using matlab

From: Haider khazal

Date: 23 Apr, 2010 04:42:06

Message: 3 of 3

"Yang " <yyang_cug@hotmail.com> wrote in message <hnm6ae$q38$1@fred.mathworks.com>...
> I'm using meshless method to model localization problem and I want to discretize a 2D problem domain using a set of randomly distributed nodes, is there anyone who knows how to generate the random nodes using Matlab? I would appreciate your help very much!


You can enter the data of random nodes such as input from the package of the prof. G. R. Lui. However, you must read the data carefully.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com