1 |
<TITLE>/</TITLE> |
---|
2 |
<BODY> |
---|
3 |
<A HREF = "index.html">[Index for ./IO_Functions]</A> |
---|
4 |
<A HREF = "../index.html">[Return to Master Index]</A> |
---|
5 |
<H1>read_v3c</H1> |
---|
6 |
<H2>(./IO_Functions/read_v3c.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>[data,nnv]=read_v3c(fname);</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
READ_V3C read a FEM output file of .<A HREF = "../4.IO_Functions/v3c.html">v3c</A> filetype. |
---|
12 |
READ_V3C is part of a suite of OPNML I/O functions |
---|
13 |
to read specific filetypes pertaining to FEM model |
---|
14 |
input and output. These functions allow the user to |
---|
15 |
get these data files into MATLAB without copying the |
---|
16 |
files and removing the header info by hand. |
---|
17 |
|
---|
18 |
READ_V3C reads the FEM filetype .<A HREF = "../4.IO_Functions/v3c.html">v3c</A>, as detailed in |
---|
19 |
"Data File Standards for the Gulf of Maine Project" |
---|
20 |
from the Numerical Methods Laboratory at Dartmouth |
---|
21 |
College. (This document is located in the OPNML |
---|
22 |
notebook under External Documents.) There are eight |
---|
23 |
columns, the first of which is the node number. The |
---|
24 |
remaining columns are floating point. |
---|
25 |
|
---|
26 |
Input : If fname is omitted, READ_V3C enables a file browser |
---|
27 |
with which the user can specify the .<A HREF = "../4.IO_Functions/v3c.html">v3c</A> file. |
---|
28 |
|
---|
29 |
Otherwise, fname is the name of the .<A HREF = "../4.IO_Functions/v3c.html">v3c</A> file, relative |
---|
30 |
or absolute (fullpath), including the suffix '.<A HREF = "../4.IO_Functions/v3c.html">v3c</A>'. |
---|
31 |
This input is a string so it must be enclosed in single |
---|
32 |
quotes. The header lines are discarded. |
---|
33 |
Output : The data part is returned in the variable data. |
---|
34 |
|
---|
35 |
Call READ_V3C as: |
---|
36 |
>> [data,nnv]=read_v3c(fname); |
---|
37 |
|
---|
38 |
If READ_V3C cannot locate the file, it exits, returning |
---|
39 |
a -1 instead of the data matrix. |
---|
40 |
|
---|
41 |
NOTES : The <A HREF = "../4.IO_Functions/v3c.html">v3c</A> filetype contains 3-D data; i.e., complex-valued |
---|
42 |
velocity data at each vertical node per horizontal node. |
---|
43 |
The <A HREF = "../4.IO_Functions/v3c.html">v3c</A> format has phase in degrees while related .vel |
---|
44 |
file has phase in radians. |
---|
45 |
|
---|
46 |
Call as: [data,nnv]=read_v3c(fname); |
---|
47 |
|
---|
48 |
Written by : Brian O. Blanton |
---|
49 |
|
---|
50 |
</pre> |
---|
51 |
<HR> |
---|
52 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
53 |
<BR> |
---|
54 |
Cross-Directory links are: OFF<BR> |
---|
55 |
</BODY> |
---|