Generate AR1 spatial data Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: spatialPatternAR1.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Company: Jon Yearsley (View more)

Generate AR1 spatial data script description:




Publisher review:
Generate AR1 spatial data generates spatial data using an AR1 process with normal error distribution. This script generates artificial spatial data using a first order spatial autoregressive process (AR1)The process isX(i,j) = PHI*(X(i,j-1) X(i,j 1) X(i-1,j) X(i 1,j) errorTo generate a 10x10, periodic spatial pattern, with normal error distribution, and a variance of SIGMA, the command isspatialPatternAR1([10,10],PHI,SIGMA)or equivalently,spatialPatternAR1([10,10],PHI,SIGMA,1)the same pattern, but with a rigid boundary is generated withspatialPatternAR1([10,10],PHI,SIGMA,0)Different error distributions can be used. Using the current script this can be done by extracting the generator matrix, MM = spatialPatternAR1([10,10],PHI,SIGMA,1,1)M is a 100x100 matrix.Then given a random vector, error (size = 100x1) with indepedent elements sampled from the required error distribution, the spatial pattern is given byx = reshape(M * error,[10,10]) Requirements: ยท MATLAB Release: R13
Generate AR1 spatial data is a Matlab script for Statistics and Probability scripts design by Jon Yearsley. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5