<< scidemo_overview Demonstration Toolbox scidemo_edolinear >>

Demonstration Toolbox >> Demonstration Toolbox > scidemo_cmplxfacets

scidemo_cmplxfacets

Compute the facets to draw a complex function.

Calling Sequence

[xr,yr,zr,xi,yi,zi] = scidemo_cmplxfacets (R,e,TypeDomain,TypeCut,n,StrFunc)

Parameters

R :

length of half a side of the square or radius of the disk

e :

thin layer to avoid the branch(es) cut(s)

TypeDomain :

a 1-by-1 matrix of strings, "Square" or "Disk"

TypeCut :

a 1-by-1 matrix of strings, "Ox" or "Oy"

n :

a scalar (for "Square") or a 2-vector = [ntheta, nr] (for "Disk") for discretization

StrFunc :

a 1-by-1 matrix of strings, the string which names the complex function (this is because primitive don't pass as function argument)

xr,yr,zr,xi,yi,zi :

a m-ny-n matrix of doubles, real and imaginary parts of X,Y and Z values

Description

A function to compute the facets for drawing a complex function on a square or a disk with branch(es) cut(s) on Ox or Oy

Examples

[xr,yr,zr,xi,yi,zi] = scidemo_cmplxfacets(2,%eps,"Square","Ox",41,"acos");

Authors

<< scidemo_overview Demonstration Toolbox scidemo_edolinear >>