[51] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <title>Description of stra2num</title> |
---|
| 6 | <meta name="keywords" content="stra2num"> |
---|
| 7 | <meta name="description" content="'stra2num': transform letters (a, b, c) or numerical strings ('1','2'..) to the corresponding numbers"> |
---|
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
| 10 | <meta name="robots" content="index, follow"> |
---|
| 11 | <link type="text/css" rel="stylesheet" href="../m2html.css"> |
---|
| 12 | </head> |
---|
| 13 | <body> |
---|
| 14 | <a name="_top"></a> |
---|
| 15 | <div><a href="../index.html">Home</a> > <a href="index.html">.</a> > stra2num.m</div> |
---|
| 16 | |
---|
| 17 | <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> |
---|
| 18 | <td align="right"><a href="index.html">Index for . <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> |
---|
| 19 | |
---|
| 20 | <h1>stra2num |
---|
| 21 | </h1> |
---|
| 22 | |
---|
| 23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 24 | <div class="box"><strong>'stra2num': transform letters (a, b, c) or numerical strings ('1','2'..) to the corresponding numbers</strong></div> |
---|
| 25 | |
---|
| 26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 27 | <div class="box"><strong>function numres=stra2num(str) </strong></div> |
---|
| 28 | |
---|
| 29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 30 | <div class="fragment"><pre class="comment">'stra2num': transform letters (a, b, c) or numerical strings ('1','2'..) to the corresponding numbers |
---|
| 31 | -------------------------------------------- |
---|
| 32 | function numres=stra2num(str) |
---|
| 33 | |
---|
| 34 | OUTPUT: |
---|
| 35 | numres: number (double) |
---|
| 36 | |
---|
| 37 | INPUT: |
---|
| 38 | str: string corresponding to a number or a letter 'a' 'b',.., otherwise the output is empty |
---|
| 39 | |
---|
| 40 | see also <a href="num2stra.html" class="code" title="function str=num2stra(num,nom_type,index);">num2stra</a>, <a href="name_generator.html" class="code" title="function [filename,num_i1_out,num_j1_out,num_i2_out,num_j2_out,subdir_out]=name_generator(filebase,num_i1,num_j1,ext,nom_type,comp_input,num_i2,num_j2,subdir);">name_generator</a>, <a href="name2display.html" class="code" title="function [RootPath,RootFile,field_count,str2,str_a,str_b,ext,nom_type,subdir]=name2display(fileinput)">name2display</a></pre></div> |
---|
| 41 | |
---|
| 42 | <!-- crossreference --> |
---|
| 43 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 44 | This function calls: |
---|
| 45 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 46 | </ul> |
---|
| 47 | This function is called by: |
---|
| 48 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 49 | <li><a href="civ.html" class="code" title="function varargout = civ(varargin)">civ</a> 'civ': function associated with the interface 'civ.fig' for PIV, spline interpolation and stereo PIV (patch)</li><li><a href="civ_3D.html" class="code" title="function varargout = civ_3D(varargin)">civ_3D</a> 'civ_3D': function associated with the interface 'civ_3D.fig' for PIV in volume</li><li><a href="name_generator.html" class="code" title="function [filename,num_i1_out,num_j1_out,num_i2_out,num_j2_out,subdir_out]=name_generator(filebase,num_i1,num_j1,ext,nom_type,comp_input,num_i2,num_j2,subdir);">name_generator</a> 'name_generator': creates a file name from a root name and indices.</li><li><a href="uvmat.html" class="code" title="function varargout = uvmat(varargin)">uvmat</a> 'uvmat': function associated with the GUI 'uvmat.fig' for images and data field visualization</li></ul> |
---|
| 50 | <!-- crossreference --> |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | <hr><address>Generated on Wed 10-Mar-2010 20:42:36 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
| 55 | </body> |
---|
| 56 | </html> |
---|