Try BMElib, at http://www.unc.edu/depts/case/BMELIB/
Example 1: Generate a field on a 10Km by 10Km grid with 1Km increment
using an exponential covariance with variance=4, range=5Km and
Example 2: Generate a field at 40 random points in the same domain
using the same covariance and mean:
Note, attached is the MATLAB file used to generate the jpeg figures
included in this email.
Research Assistant Professor
Center for the Advanced Study of the Environment (CASE)
Department of Environmental Sciences and Engineering (DESE)
The University of North Carolina at Chapel Hill
CB 7400, 104 Rosenau Hall
Chapel Hill, NC 27599-7431, USA
From: Mark C Andersen <manderse@...
Date: Thursday, November 01, 2001 11:49 AM
Subject: AI-GEOSTATS: ai-geostats: Simulating spatial autocorrelation?
I'm looking for code (preferably MATLAB) or pseudocode
to simulate a 2D spatially-autocorrelated grid with
user-settable autocorrelation. I'd also like to find
an algorithm for generating a fractal on a grid.
I'm just generating simulated habitats for simulation
studies of animal population dynamics and foraging. I
don't (at this time) need to simulate conditionally on
Thanks in advance for any pointers, advice, etc.
Dr. Mark C. Andersen, Associate Professor
Department of Fishery and Wildlife Sciences
Campus Box 4901
New Mexico State University
Las Cruces, NM 88003-0003
* To post a message to the list, send it to ai-geostats@...
* As a general service to the users, please remember to post a summary
of any useful responses to your questions.
* To unsubscribe, send an email to majordomo@...
with no subject
and "unsubscribe ai-geostats" followed by "end" on the next line in
the message body. DO NOT SEND Subscribe/Unsubscribe requests to the
* Support to the list is provided at http://www.ai-geostats.org
[Non-text portions of this message have been removed]