Learn R Programming

WQM (version 0.1.4)

prsim: Phase randomization and shuffling

Description

Phase randomization and shuffling

Usage

prsim(
  modulus,
  phases,
  noise_mat,
  method = c("M1", "M2")[2],
  size = 3,
  seed = NULL
)

Value

A new complex matrix

Arguments

modulus

Modulus of complex values.

phases

Argument of complex values.

noise_mat

Complex matrix from random time series.

method

Shuffling method, M1: non-shuffling and M2: shuffling. M2 by default.

size

Block size.

seed

Seed for shuffling process.