Skip to content

fil_regrid.m

Basic Information

 PURPOSE:
         Increases the number of filaments n times. The filament matrix
         is composed of start to end points: xfil = [x1,y1,z1,x2,y2,z2]
         The output matrix has n times more rows

 SYNTAX:
        xnfil= fil_regrid(xfil,n)

 INPUT:
       xfilc= filament coordinates start to end [x1,y1,z1,x2,y2,z2]
       n    = number of filaments split each filament into SCALAR
 OUTPUT:
       xnfil= filament matrix increased by nfil times [x1,y1,z1,x2,y2,z2]

 NOTE: See filc_to_fil for conversion from center to end filaments

Dependencies