import directions
Description
vector3d.load is a high level method for importing vector data from external files. It autodetects the format of the file. As parameters the method requires a filename and the column positions of either the x, y, z coordinates or the polar angles
Syntax
v = vector3d.load(fname,'ColumnNames',{'x','y','z'})
v = vector3d.load(fname,'ColumnNames',{'latitude','longitude'})
v = vector3d.load(fname,'ColumnNames',{'polar angle','azimuth'},'columns',[2,3])Input
| fname | file name (text files only) |
Output
| v | vector3d |
Options
| columnNames | names of the colums to be imported |
| columns | postions of the columns to be imported |
| radians | treat input in radiand |
| delimiter | delimiter between numbers |
| interface | specific interface to be used |