RECTOPI Interpolated grid with rectangular topology posi = rectopi(Ni,Nj,Nk,...,ni,nj,...) Generates a n-d rectangular grid with ni x nj x ... elements as ranging from 0-Ni, 0-Nj, ... respectively and stores it as a matrix where each column is an n-d vector corresponding to each point in the rectangular grid. [posi,pos] = rectopi(Ni,Nj,Nk,...,ni,nj,...) returns also the non-interpolated grid.