annotate toolboxes/FullBNT-1.0.7/KPMtools/asdemo.html @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 <html xmlns:v="urn:schemas-microsoft-com:vml"
wolffd@0 2 xmlns:o="urn:schemas-microsoft-com:office:office"
wolffd@0 3 xmlns:w="urn:schemas-microsoft-com:office:word"
wolffd@0 4 xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
wolffd@0 5 xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd"
wolffd@0 6 xmlns="http://www.w3.org/TR/REC-html40">
wolffd@0 7
wolffd@0 8 <head>
wolffd@0 9 <meta http-equiv=Content-Type content="text/html; charset=utf-8">
wolffd@0 10 <meta name=ProgId content=Word.Document>
wolffd@0 11 <meta name=Generator content="Microsoft Word 10">
wolffd@0 12 <meta name=Originator content="Microsoft Word 10">
wolffd@0 13 <link rel=File-List href="asdemo_files/filelist.xml">
wolffd@0 14 <title>asdemo</title>
wolffd@0 15 <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
wolffd@0 16 name="time"/>
wolffd@0 17 <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
wolffd@0 18 name="date"/>
wolffd@0 19 <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
wolffd@0 20 name="place"/>
wolffd@0 21 <!--[if gte mso 9]><xml>
wolffd@0 22 <o:DocumentProperties>
wolffd@0 23 <o:Author>Caroline Schwarz</o:Author>
wolffd@0 24 <o:Template>Normal</o:Template>
wolffd@0 25 <o:LastAuthor>us</o:LastAuthor>
wolffd@0 26 <o:Revision>33</o:Revision>
wolffd@0 27 <o:TotalTime>0</o:TotalTime>
wolffd@0 28 <o:Created>2005-03-26T16:20:00Z</o:Created>
wolffd@0 29 <o:LastSaved>2005-03-30T09:58:00Z</o:LastSaved>
wolffd@0 30 <o:Pages>1</o:Pages>
wolffd@0 31 <o:Words>1062</o:Words>
wolffd@0 32 <o:Characters>6055</o:Characters>
wolffd@0 33 <o:Company>office</o:Company>
wolffd@0 34 <o:Lines>50</o:Lines>
wolffd@0 35 <o:Paragraphs>14</o:Paragraphs>
wolffd@0 36 <o:CharactersWithSpaces>7103</o:CharactersWithSpaces>
wolffd@0 37 <o:Version>10.3501</o:Version>
wolffd@0 38 </o:DocumentProperties>
wolffd@0 39 <o:OfficeDocumentSettings>
wolffd@0 40 <o:RelyOnVML/>
wolffd@0 41 <o:AllowPNG/>
wolffd@0 42 <o:TargetScreenSize>1280x1024</o:TargetScreenSize>
wolffd@0 43 </o:OfficeDocumentSettings>
wolffd@0 44 </xml><![endif]--><!--[if gte mso 9]><xml>
wolffd@0 45 <w:WordDocument>
wolffd@0 46 <w:SpellingState>Clean</w:SpellingState>
wolffd@0 47 <w:GrammarState>Clean</w:GrammarState>
wolffd@0 48 <w:Compatibility>
wolffd@0 49 <w:UseFELayout/>
wolffd@0 50 </w:Compatibility>
wolffd@0 51 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
wolffd@0 52 </w:WordDocument>
wolffd@0 53 </xml><![endif]--><!--[if !mso]><object
wolffd@0 54 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
wolffd@0 55 <style>
wolffd@0 56 st1\:*{behavior:url(#ieooui) }
wolffd@0 57 </style>
wolffd@0 58 <![endif]-->
wolffd@0 59 <style>
wolffd@0 60 <!--p
wolffd@0 61 {max-width: 600px;
wolffd@0 62 width:expression(document.body.clientWidth > 620 ? "600px": "auto" );}
wolffd@0 63 h1
wolffd@0 64 {max-width: 600px;
wolffd@0 65 width:expression(document.body.clientWidth > 620 ? "600px": "auto" );}
wolffd@0 66 h2
wolffd@0 67 {max-width: 600px;
wolffd@0 68 width:expression(document.body.clientWidth > 620 ? "600px": "auto" );}
wolffd@0 69 div
wolffd@0 70 {max-width: 600px;
wolffd@0 71 width:expression(document.body.clientWidth > 620 ? "600px": "auto" );}
wolffd@0 72
wolffd@0 73 /* Font Definitions */
wolffd@0 74 @font-face
wolffd@0 75 {font-family:"MS Mincho";
wolffd@0 76 panose-1:2 2 6 9 4 2 5 8 3 4;
wolffd@0 77 mso-font-alt:"MS 明朝";
wolffd@0 78 mso-font-charset:128;
wolffd@0 79 mso-generic-font-family:modern;
wolffd@0 80 mso-font-pitch:fixed;
wolffd@0 81 mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
wolffd@0 82 @font-face
wolffd@0 83 {font-family:"\@MS Mincho";
wolffd@0 84 panose-1:2 2 6 9 4 2 5 8 3 4;
wolffd@0 85 mso-font-charset:128;
wolffd@0 86 mso-generic-font-family:modern;
wolffd@0 87 mso-font-pitch:fixed;
wolffd@0 88 mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
wolffd@0 89 /* Style Definitions */
wolffd@0 90 p.MsoNormal, li.MsoNormal, div.MsoNormal
wolffd@0 91 {mso-style-parent:"";
wolffd@0 92 margin:0cm;
wolffd@0 93 margin-bottom:.0001pt;
wolffd@0 94 mso-pagination:widow-orphan;
wolffd@0 95 font-size:10.0pt;
wolffd@0 96 font-family:Arial;
wolffd@0 97 mso-fareast-font-family:"Times New Roman";
wolffd@0 98 mso-believe-normal-left:yes;}
wolffd@0 99 h1
wolffd@0 100 {mso-margin-top-alt:auto;
wolffd@0 101 margin-right:0cm;
wolffd@0 102 mso-margin-bottom-alt:auto;
wolffd@0 103 margin-left:0cm;
wolffd@0 104 mso-pagination:widow-orphan;
wolffd@0 105 mso-outline-level:1;
wolffd@0 106 font-size:24.0pt;
wolffd@0 107 font-family:Arial;
wolffd@0 108 mso-fareast-font-family:"MS Mincho";
wolffd@0 109 color:#990000;
wolffd@0 110 font-weight:bold;}
wolffd@0 111 h2
wolffd@0 112 {mso-margin-top-alt:auto;
wolffd@0 113 margin-right:0cm;
wolffd@0 114 mso-margin-bottom-alt:auto;
wolffd@0 115 margin-left:0cm;
wolffd@0 116 mso-pagination:widow-orphan;
wolffd@0 117 mso-outline-level:2;
wolffd@0 118 font-size:13.5pt;
wolffd@0 119 font-family:Arial;
wolffd@0 120 mso-fareast-font-family:"MS Mincho";
wolffd@0 121 color:#990000;
wolffd@0 122 font-weight:bold;}
wolffd@0 123 p
wolffd@0 124 {mso-margin-top-alt:auto;
wolffd@0 125 margin-right:0cm;
wolffd@0 126 mso-margin-bottom-alt:auto;
wolffd@0 127 margin-left:0cm;
wolffd@0 128 mso-pagination:widow-orphan;
wolffd@0 129 font-size:10.0pt;
wolffd@0 130 font-family:Arial;
wolffd@0 131 mso-fareast-font-family:"Times New Roman";}
wolffd@0 132 pre
wolffd@0 133 {margin:0cm;
wolffd@0 134 margin-bottom:.0001pt;
wolffd@0 135 mso-pagination:widow-orphan;
wolffd@0 136 tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
wolffd@0 137 font-size:10.0pt;
wolffd@0 138 font-family:"Courier New";
wolffd@0 139 mso-fareast-font-family:"Times New Roman";}
wolffd@0 140 p.footer, li.footer, div.footer
wolffd@0 141 {mso-style-name:footer;
wolffd@0 142 mso-margin-top-alt:auto;
wolffd@0 143 margin-right:0cm;
wolffd@0 144 mso-margin-bottom-alt:auto;
wolffd@0 145 margin-left:0cm;
wolffd@0 146 text-align:right;
wolffd@0 147 mso-pagination:widow-orphan;
wolffd@0 148 font-size:7.5pt;
wolffd@0 149 font-family:Arial;
wolffd@0 150 mso-fareast-font-family:"Times New Roman";
wolffd@0 151 color:gray;
wolffd@0 152 font-style:italic;}
wolffd@0 153 span.keyword
wolffd@0 154 {mso-style-name:keyword;
wolffd@0 155 color:blue;}
wolffd@0 156 span.comment
wolffd@0 157 {mso-style-name:comment;
wolffd@0 158 color:forestgreen;}
wolffd@0 159 span.string
wolffd@0 160 {mso-style-name:string;
wolffd@0 161 color:#A020F0;}
wolffd@0 162 span.untermstring
wolffd@0 163 {mso-style-name:untermstring;
wolffd@0 164 color:#B20000;}
wolffd@0 165 span.syscmd
wolffd@0 166 {mso-style-name:syscmd;
wolffd@0 167 color:#B28C00;}
wolffd@0 168 span.SpellE
wolffd@0 169 {mso-style-name:"";
wolffd@0 170 mso-spl-e:yes;}
wolffd@0 171 span.GramE
wolffd@0 172 {mso-style-name:"";
wolffd@0 173 mso-gram-e:yes;}
wolffd@0 174 @page Section1
wolffd@0 175 {size:612.0pt 792.0pt;
wolffd@0 176 margin:72.0pt 90.0pt 72.0pt 90.0pt;
wolffd@0 177 mso-header-margin:36.0pt;
wolffd@0 178 mso-footer-margin:36.0pt;
wolffd@0 179 mso-paper-source:0;}
wolffd@0 180 div.Section1
wolffd@0 181 {page:Section1;}
wolffd@0 182 -->
wolffd@0 183 </style>
wolffd@0 184 <!--[if gte mso 10]>
wolffd@0 185 <style>
wolffd@0 186 /* Style Definitions */
wolffd@0 187 table.MsoNormalTable
wolffd@0 188 {mso-style-name:"Table Normal";
wolffd@0 189 mso-tstyle-rowband-size:0;
wolffd@0 190 mso-tstyle-colband-size:0;
wolffd@0 191 mso-style-noshow:yes;
wolffd@0 192 mso-style-parent:"";
wolffd@0 193 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
wolffd@0 194 mso-para-margin:0cm;
wolffd@0 195 mso-para-margin-bottom:.0001pt;
wolffd@0 196 mso-pagination:widow-orphan;
wolffd@0 197 font-size:10.0pt;
wolffd@0 198 font-family:"Times New Roman";}
wolffd@0 199 </style>
wolffd@0 200 <![endif]--><![if mso 9]>
wolffd@0 201 <style>
wolffd@0 202 p.MsoNormal
wolffd@0 203 {margin-left:7.5pt;}
wolffd@0 204 </style>
wolffd@0 205 <![endif]><!--
wolffd@0 206 This HTML is auto-generated from an M-file.
wolffd@0 207 To make changes, update the M-file and republish this document.
wolffd@0 208 -->
wolffd@0 209 <meta name=date content=2005-03-26>
wolffd@0 210 <meta name=m-file content=asdemo>
wolffd@0 211 <!--[if gte mso 9]><xml>
wolffd@0 212 <o:shapedefaults v:ext="edit" spidmax="5122"/>
wolffd@0 213 </xml><![endif]--><!--[if gte mso 9]><xml>
wolffd@0 214 <o:shapelayout v:ext="edit">
wolffd@0 215 <o:idmap v:ext="edit" data="1"/>
wolffd@0 216 </o:shapelayout></xml><![endif]-->
wolffd@0 217 </head>
wolffd@0 218
wolffd@0 219 <body bgcolor=white lang=EN-US style='tab-interval:36.0pt;margin-left:7.5pt;
wolffd@0 220 margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt'>
wolffd@0 221
wolffd@0 222 <div class=Section1><pre style='margin-left:22.5pt'><span class=comment>% <b
wolffd@0 223 style='mso-bidi-font-weight:normal'>ASORT</b></span></pre><pre
wolffd@0 224 style='margin-left:22.5pt'><span class=comment>% a pedestrian <b
wolffd@0 225 style='mso-bidi-font-weight:normal'>NUMERICAL SORTER</b> of <b
wolffd@0 226 style='mso-bidi-font-weight:normal'>ALPHANUMERIC</b> data</span></pre><pre
wolffd@0 227 style='margin-left:22.5pt'><o:p>&nbsp;</o:p></pre><pre style='margin-left:22.5pt'><span
wolffd@0 228 class=comment>% - create some data</span></pre><pre style='margin-left:22.5pt'><b
wolffd@0 229 style='mso-bidi-font-weight:normal'><span style='mso-tab-count:2'>          </span>d = {<o:p></o:p></b></pre><pre
wolffd@0 230 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 231 2'>         </span>strings with one valid alphanumeric number</span></pre><pre
wolffd@0 232 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 233 2'>         </span>sorted <b style='mso-bidi-font-weight:normal'>numerically</b></span></pre><pre
wolffd@0 234 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 235 class=string>'-<span class=SpellE><span class=GramE>inf</span></span>'</span></pre><pre
wolffd@0 236 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 237 class=string>'<span class=GramE>x-3.2e4y</span>'</span></pre><pre
wolffd@0 238 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 239 class=string>'<span class=GramE>f-1.4</span>'</span></pre><pre
wolffd@0 240 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 241 class=string>'-.1'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 242 style='mso-tab-count:3'>                  </span><span class=string>'+ <span
wolffd@0 243 class=GramE>.1d-2</span>'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 244 style='mso-tab-count:3'>                  </span><span class=string>'.1'</span></pre><pre
wolffd@0 245 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 246 class=string>'f.1'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 247 style='mso-tab-count:3'>                  </span><span class=string>'f -+1.4'</span></pre><pre
wolffd@0 248 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 249 class=string>'f.2'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 250 style='mso-tab-count:3'>                  </span><span class=string>'f.3'</span></pre><pre
wolffd@0 251 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 252 class=string>'f.10'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 253 style='mso-tab-count:3'>                  </span><span class=string>'f.11'</span></pre><pre
wolffd@0 254 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 255 class=string>'+<span class=SpellE>inf</span>'</span></pre><pre
wolffd@0 256 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 257 class=GramE><span class=string>' -</span></span><span class=SpellE><span
wolffd@0 258 class=string>nan</span></span><span class=string>'</span></pre><pre
wolffd@0 259 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 260 class=string>'+ <span class=SpellE><span class=GramE>nan</span></span>'</span></pre><pre
wolffd@0 261 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 262 class=string>'<span class=SpellE><span class=GramE>nan</span></span>'</span></pre><pre
wolffd@0 263 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 264 2'>         </span>strings with many numbers or invalid/ambiguous numbers</span></pre><pre
wolffd@0 265 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 266 2'>         </span>sorted in <span class=SpellE><span class=GramE><b
wolffd@0 267 style='mso-bidi-font-weight:normal'>ascii</b></span></span><b style='mso-bidi-font-weight:
wolffd@0 268 normal'> dictionary order</b></span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 269 style='mso-tab-count:3'>                  </span><span class=GramE><span
wolffd@0 270 class=string>' <span class=SpellE>nan</span></span></span><span class=string> <span
wolffd@0 271 class=SpellE>nan</span>'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 272 style='mso-tab-count:3'>                  </span><span class=string>'+ .1e-.2'</span></pre><pre
wolffd@0 273 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 274 class=string>'-1 2'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 275 style='mso-tab-count:3'>                  </span><span class=string>'Z12e12ez'</span></pre><pre
wolffd@0 276 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 277 class=string>'<span class=SpellE><span class=GramE>inf</span></span> -<span
wolffd@0 278 class=SpellE>inf</span>'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 279 style='mso-tab-count:3'>                  </span><span class=string>'s.3TT.4'</span></pre><pre
wolffd@0 280 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 281 class=string>'z12e12ez'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 282 class=comment>%<span style='mso-tab-count:2'>         </span>strings without numbers</span></pre><pre
wolffd@0 283 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 284 2'>         </span>sorted in <span class=SpellE><span class=GramE><b
wolffd@0 285 style='mso-bidi-font-weight:normal'>ascii</b></span></span><b style='mso-bidi-font-weight:
wolffd@0 286 normal'> dictionary order</b></span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 287 style='mso-tab-count:3'>                  </span><span class=string>' . .. '</span></pre><pre
wolffd@0 288 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 289 class=string>'.'</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 290 style='mso-tab-count:3'>                  </span><span class=string>'...'</span></pre><pre
wolffd@0 291 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 292 class=GramE><span class=string>'.b a.'</span></span></pre><pre
wolffd@0 293 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 294 class=string>'<span class=GramE>a</span> string'</span></pre><pre
wolffd@0 295 style='margin-left:22.5pt'><span style='mso-tab-count:3'>                  </span><span
wolffd@0 296 class=string>'a. .b'</span></pre><pre style='margin-left:22.5pt'><b
wolffd@0 297 style='mso-bidi-font-weight:normal'><span style='mso-tab-count:2'>          </span>};<o:p></o:p></b></pre><pre
wolffd@0 298 style='margin-left:22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span>... and scramble it...</span></pre><pre
wolffd@0 299 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span><span
wolffd@0 300 class=GramE>rand(</span><span class=string>'seed'</span>,10);</pre><pre
wolffd@0 301 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>d=<span
wolffd@0 302 class=GramE>d(</span><span class=SpellE>randperm</span>(<span class=SpellE>numel</span>(d)));</pre><pre
wolffd@0 303 style='margin-left:22.5pt'><o:p>&nbsp;</o:p></pre><pre style='margin-left:22.5pt'><span
wolffd@0 304 class=comment>% - run <b style='mso-bidi-font-weight:normal'>ASORT</b> with<o:p></o:p></span></pre><pre
wolffd@0 305 style='margin-left:22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span><b
wolffd@0 306 style='mso-bidi-font-weight:normal'>verbose output</b>:<span style='mso-tab-count:
wolffd@0 307 2'>              </span>&lt;-v&gt;</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 308 class=comment>%<span style='mso-spacerun:yes'>   </span><span class=GramE><b
wolffd@0 309 style='mso-bidi-font-weight:normal'>keep</b></span><b style='mso-bidi-font-weight:
wolffd@0 310 normal'> additional results</b>:<span style='mso-tab-count:1'>     </span>&lt;-d&gt;</span></pre><pre
wolffd@0 311 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>o=<span
wolffd@0 312 class=SpellE><span class=GramE>asort</span></span><span class=GramE>(</span>d,<span
wolffd@0 313 class=string>'-v'</span>,<span class=string>'-d'</span>);</pre><pre
wolffd@0 314 style='margin-left:22.5pt'><span class=comment>% - or</span></pre><pre
wolffd@0 315 style='margin-left:22.5pt'><span class=comment>%<span style='mso-tab-count:
wolffd@0 316 2'>         </span>p=<span class=SpellE><span class=GramE>asort</span></span><span
wolffd@0 317 class=GramE>(</span>char(d),</span><span class=string>'-v'</span>,<span
wolffd@0 318 class=string>'-d'</span>);</pre><pre style='margin-left:7.5pt'><i><span
wolffd@0 319 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 320 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>       </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 321 style='color:gray'><span style='mso-spacerun:yes'>    </span>'...'<span style='mso-spacerun:yes'>         </span><span
wolffd@0 322 class=SpellE><span class=GramE>'</span></span><span class=GramE> -</span><span
wolffd@0 323 class=SpellE>nan</span>'<span style='mso-spacerun:yes'>         </span>'--- NUMERICAL'<span style='mso-spacerun:yes'>        </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 324 style='color:gray'><span style='mso-spacerun:yes'>    </span>'+ .1e-.2'<span style='mso-spacerun:yes'>    </span><span
wolffd@0 325 class=GramE>' .</span> .. '<span style='mso-spacerun:yes'>        </span>'-<span
wolffd@0 326 class=SpellE><span class=GramE>inf</span></span>'<span style='mso-spacerun:yes'>         </span><span style='mso-spacerun:yes'>        </span>[<span style='mso-spacerun:yes'>             </span>-<span
wolffd@0 327 class=SpellE>Inf</span>]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 328 style='color:gray'><span style='mso-spacerun:yes'>    </span>'.1'<span style='mso-spacerun:yes'>          </span>' <span
wolffd@0 329 class=SpellE>nan</span> <span class=SpellE>nan</span>'<span style='mso-spacerun:yes'>      </span>'x-3.2e4y'<span style='mso-spacerun:yes'>             </span>[<span style='mso-spacerun:yes'>           </span>-32000]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 330 style='color:gray'><span style='mso-spacerun:yes'>    </span>'.b a.'<span style='mso-spacerun:yes'>       </span>'+ .1d-2'<span style='mso-spacerun:yes'>       </span>'f-1.4'<span style='mso-spacerun:yes'>                </span>[<span style='mso-spacerun:yes'>             </span>-1.4]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 331 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-<span
wolffd@0 332 class=SpellE>inf</span>'<span style='mso-spacerun:yes'>        </span>'+ .1e-.2'<span style='mso-spacerun:yes'>      </span>'-.1'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>             </span>-0.1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 333 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.1'<span style='mso-spacerun:yes'>         </span>'+ <span
wolffd@0 334 class=SpellE><span class=GramE>nan</span></span>'<span style='mso-spacerun:yes'>         </span>'+ .1d-2'<span style='mso-spacerun:yes'>              </span>[<span style='mso-spacerun:yes'>            </span>0.001]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 335 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' -</span><span
wolffd@0 336 class=SpellE>nan</span>'<span style='mso-spacerun:yes'>       </span>'+<span
wolffd@0 337 class=SpellE>inf</span>'<span style='mso-spacerun:yes'>          </span>'.1'<span style='mso-spacerun:yes'>                   </span>[<span style='mso-spacerun:yes'>              </span>0.1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 338 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-1 2'<span style='mso-spacerun:yes'>        </span>'-.1'<span style='mso-spacerun:yes'>           </span>'f.1'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>                </span>1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 339 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 340 class=SpellE><span class=GramE>nan</span></span>'<span style='mso-spacerun:yes'>         </span>'-1 2'<span style='mso-spacerun:yes'>          </span>'f -+1.4'<span style='mso-spacerun:yes'>              </span>[<span style='mso-spacerun:yes'>              </span>1.4]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 341 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 342 class=GramE>a</span> string'<span style='mso-spacerun:yes'>    </span>'-<span
wolffd@0 343 class=SpellE>inf</span>'<span style='mso-spacerun:yes'>          </span>'f.2'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>                </span>2]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 344 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>'f.3'<span style='mso-spacerun:yes'>         </span>'.'</span><span style='mso-spacerun:yes'>             </span>'f.3'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>                </span>3]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 345 style='color:gray'><span style='mso-spacerun:yes'>    </span>'+ <span
wolffd@0 346 class=GramE>.1d-2</span>'<span style='mso-spacerun:yes'>     </span>'...'<span style='mso-spacerun:yes'>           </span>'f.10'<span style='mso-spacerun:yes'>   </span><span style='mso-spacerun:yes'>              </span>[<span style='mso-spacerun:yes'>               </span>10]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 347 style='color:gray'><span style='mso-spacerun:yes'>    </span>'a. .b'<span style='mso-spacerun:yes'>       </span>'.1'<span style='mso-spacerun:yes'>            </span>'f.11'<span style='mso-spacerun:yes'>                 </span>[<span style='mso-spacerun:yes'>     </span><span style='mso-spacerun:yes'>          </span>11]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 348 style='color:gray'><span style='mso-spacerun:yes'>    </span>'s.3TT.4'<span style='mso-spacerun:yes'>     </span>'.b a.'<span style='mso-spacerun:yes'>     </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span>'+<span
wolffd@0 349 class=SpellE>inf</span>'<span style='mso-spacerun:yes'>                 </span>[<span style='mso-spacerun:yes'>              </span><span
wolffd@0 350 class=SpellE><span class=GramE>Inf</span></span>]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 351 style='color:gray'> <span style='mso-spacerun:yes'>   </span>'+<span
wolffd@0 352 class=SpellE>inf</span>'<span style='mso-spacerun:yes'>        </span>'Z12e12ez'<span style='mso-spacerun:yes'>      </span>' -<span
wolffd@0 353 class=SpellE>nan</span>'<span style='mso-spacerun:yes'>                </span>[<span style='mso-spacerun:yes'>          </span><span style='mso-spacerun:yes'>    </span></span></i><st1:place><span
wolffd@0 354 class=SpellE><i><span style='color:gray'>NaN</span></i></span></st1:place><i><span
wolffd@0 355 style='color:gray'>]<o:p></o:p></span></i></pre><pre><i><span style='color:
wolffd@0 356 gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 357 class=SpellE>nan</span></span> <span class=SpellE>nan</span>'<span style='mso-spacerun:yes'>    </span>'a string'<span style='mso-spacerun:yes'>      </span>'+ <span
wolffd@0 358 class=SpellE>nan</span>'<span style='mso-spacerun:yes'>                </span>[<span style='mso-spacerun:yes'>              </span></span></i><st1:place><span
wolffd@0 359 class=SpellE><i><span style='color:gray'>NaN</span></i></span></st1:place><i><span
wolffd@0 360 style='color:gray'>]<o:p></o:p></span></i></pre><pre><i><span style='color:
wolffd@0 361 gray'><span style='mso-spacerun:yes'>    </span>'<span class=GramE>f-1.4</span>'<span style='mso-spacerun:yes'>       </span>'a. .<span
wolffd@0 362 class=GramE>b</span>'<span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 363 class=SpellE>nan</span>'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>              </span></span></i><st1:place><span
wolffd@0 364 class=SpellE><i><span style='color:gray'>NaN</span></i></span></st1:place><i><span
wolffd@0 365 style='color:gray'>]<o:p></o:p></span></i></pre><pre><i><span style='color:
wolffd@0 366 gray'><span style='mso-spacerun:yes'>    </span>'x-3.2e4y'<span style='mso-spacerun:yes'>    </span>'f -+1.4'<span style='mso-spacerun:yes'>     </span><span style='mso-spacerun:yes'>  </span>'--- ASCII NUMBERS'<span style='mso-spacerun:yes'>    </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 367 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 368 class=SpellE><span class=GramE>inf</span></span> -<span class=SpellE>inf</span>'<span style='mso-spacerun:yes'>  </span><span style='mso-spacerun:yes'>  </span>'f-1.4'<span style='mso-spacerun:yes'>         </span>' <span
wolffd@0 369 class=SpellE>nan</span> <span class=SpellE>nan</span>'<span style='mso-spacerun:yes'>             </span>' <span
wolffd@0 370 class=SpellE>nan</span> <span class=SpellE>nan</span>'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 371 style='color:gray'><span style='mso-spacerun:yes'>    </span>'+ <span
wolffd@0 372 class=SpellE><span class=GramE>nan</span></span>'<span style='mso-spacerun:yes'>       </span>'f.1'<span style='mso-spacerun:yes'>           </span>'+ .1e-.2'<span style='mso-spacerun:yes'>             </span>'+ .1e-.2'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 373 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.2'<span style='mso-spacerun:yes'>         </span>'f.10'<span style='mso-spacerun:yes'>          </span>'-1 2'<span style='mso-spacerun:yes'>                 </span>'-1 2'<span style='mso-spacerun:yes'>             </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 374 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.11'<span style='mso-spacerun:yes'>  </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 375 class=SpellE>'f.11'</span><span style='mso-spacerun:yes'>          </span>'Z12e12ez'<span style='mso-spacerun:yes'>             </span><span
wolffd@0 376 class=SpellE>'Z12e12ez'</span><span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 377 style='color:gray'><span style='mso-spacerun:yes'>    </span>'Z12e12ez'<span style='mso-spacerun:yes'>    </span>'f.2'<span style='mso-spacerun:yes'>      </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 378 class=SpellE>inf</span> -<span class=SpellE>inf</span>'<span style='mso-spacerun:yes'>             </span>'<span
wolffd@0 379 class=SpellE>inf</span> -<span class=SpellE>inf</span>'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 380 style='color:gray'><span style='mso-spacerun:yes'>    </span>'z12e12ez'<span style='mso-spacerun:yes'>    </span>'f.3'<span style='mso-spacerun:yes'>           </span>'s.3TT.4'<span style='mso-spacerun:yes'>              </span><span
wolffd@0 381 class=SpellE>'s.3TT.4'</span><span style='mso-spacerun:yes'>          </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 382 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f -+1.4'<span style='mso-spacerun:yes'>     </span>'<span
wolffd@0 383 class=SpellE>inf</span> -<span class=SpellE>inf</span>'<span style='mso-spacerun:yes'>      </span>'z12e12ez'<span style='mso-spacerun:yes'>             </span><span
wolffd@0 384 class=SpellE>'z12e12ez'</span><span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 385 style='color:gray'><span style='mso-spacerun:yes'>    </span>' . .. '<span style='mso-spacerun:yes'>      </span>'<span
wolffd@0 386 class=SpellE><span class=GramE>nan</span></span>'<span style='mso-spacerun:yes'>           </span>'--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 387 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.10'<span style='mso-spacerun:yes'>        </span>'s.3TT.4'<span style='mso-spacerun:yes'>       </span><span
wolffd@0 388 class=GramE>' .</span> .. '<span style='mso-spacerun:yes'>         </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 389 class=SpellE>'</span> . .. '<span style='mso-spacerun:yes'>           </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 390 style='color:gray'><span style='mso-spacerun:yes'>    </span>'.'<span style='mso-spacerun:yes'>           </span><span
wolffd@0 391 class=GramE>'x-3.2e4y'<span style='mso-spacerun:yes'>      </span>'.'</span><span style='mso-spacerun:yes'>                    </span><span
wolffd@0 392 class=SpellE>'.'</span><span style='mso-spacerun:yes'>                </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 393 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-.1'<span style='mso-spacerun:yes'>     </span><span style='mso-spacerun:yes'>    </span>'z12e12ez'<span style='mso-spacerun:yes'>      </span>'...'<span style='mso-spacerun:yes'>                  </span><span
wolffd@0 394 class=SpellE>'</span>...'<span style='mso-spacerun:yes'>              </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 395 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' <span
wolffd@0 396 class=SpellE>'</span></span><span style='mso-spacerun:yes'>           </span><span
wolffd@0 397 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'.b a.'<span style='mso-spacerun:yes'>                </span>'.b a.'<span style='mso-spacerun:yes'>            </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 398 style='color:gray'><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span><span
wolffd@0 399 class=GramE>' <span class=SpellE>'</span></span><span style='mso-spacerun:yes'>           </span><span
wolffd@0 400 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'a string'<span style='mso-spacerun:yes'>             </span>'a string'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 401 style='color:gray'><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span><span
wolffd@0 402 class=GramE>' <span class=SpellE>'</span></span><span style='mso-spacerun:yes'>           </span><span
wolffd@0 403 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'a. .b'<span style='mso-spacerun:yes'>                </span>'a. .<span
wolffd@0 404 class=GramE>b</span>'<span style='mso-spacerun:yes'>            </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 405 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 406 22.5pt'><span class=comment>% - show results</span></pre><pre style='margin-left:
wolffd@0 407 22.5pt'><span style='mso-tab-count:2'>          </span><span class=GramE>o</span></pre><pre><i><span
wolffd@0 408 style='color:gray'>o = <o:p></o:p></span></i></pre><pre><i><span
wolffd@0 409 style='color:gray'><span style='mso-spacerun:yes'>          </span><span
wolffd@0 410 class=GramE>magic</span>: 'ASORT'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 411 style='color:gray'><span style='mso-spacerun:yes'>      </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 412 class=SpellE><span class=GramE>ver</span></span>: '</span></i><st1:date
wolffd@0 413 Year="2005" Day="30" Month="3"><i><span style='color:gray'>30-Mar-2005</span></i></st1:date><i><span
wolffd@0 414 style='color:gray'> </span></i><st1:time Minute="57" Hour="11"><i><span
wolffd@0 415 style='color:gray'>11:57:07</span></i></st1:time><i><span style='color:gray'>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 416 style='color:gray'><span style='mso-spacerun:yes'>           </span>time: '30-Mar-2005 11:57:17'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 417 style='color:gray'><span style='mso-spacerun:yes'>        </span><span
wolffd@0 418 class=GramE>runtime</span>: 0.047<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 419 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 420 class=SpellE>input_class</span>: 'cell'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 421 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 422 class=SpellE>input_msize</span>: [29 1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 423 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 424 class=SpellE>input_bytes</span>: 2038<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 425 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 426 class=SpellE>strng_class</span>: 'char'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 427 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 428 class=SpellE>strng_msize</span>: [29 8]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 429 style='color:gray'><span style='mso-spacerun:yes'>    </span><span
wolffd@0 430 class=SpellE>strng_bytes</span>: 464<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 431 style='color:gray'><span style='mso-spacerun:yes'>            </span><span
wolffd@0 432 class=SpellE><span class=GramE>anr</span></span>: {16x1 cell}<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 433 style='color:gray'><span style='mso-spacerun:yes'>      </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 434 class=SpellE><span class=GramE>snr</span></span>: {7x1 cell}<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 435 style='color:gray'><span style='mso-spacerun:yes'>      </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 436 class=SpellE><span class=GramE>str</span></span>: {6x1 cell}<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 437 style='color:gray'><span style='mso-spacerun:yes'>              </span><span
wolffd@0 438 class=GramE>c</span>: [29x12 char]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 439 style='color:gray'><span style='mso-spacerun:yes'>              </span><span
wolffd@0 440 class=GramE>t</span>: [29x12 logical]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 441 style='color:gray'><span style='mso-spacerun:yes'>              </span><span
wolffd@0 442 class=GramE>n</span>: [16x12 char]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 443 style='color:gray'><span style='mso-spacerun:yes'>  </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>           </span><span
wolffd@0 444 class=GramE>d</span>: [16x1 double]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 445 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 446 22.5pt'><span style='mso-tab-count:2'>          </span><span class=SpellE>o.anr</span></pre><pre><span
wolffd@0 447 class=SpellE><span class=GramE><i><span style='color:gray'>ans</span></i></span></span><i><span
wolffd@0 448 style='color:gray'> = <o:p></o:p></span></i></pre><pre><i><span
wolffd@0 449 style='color:gray'><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span>'-<span
wolffd@0 450 class=SpellE><span class=GramE>inf</span></span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 451 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 452 class=GramE>x-3.2e4y</span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 453 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 454 class=GramE>f-1.4</span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 455 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-.1'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 456 style='color:gray'><span style='mso-spacerun:yes'>    </span>'+ <span
wolffd@0 457 class=GramE>.1d-2</span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 458 style='color:gray'><span style='mso-spacerun:yes'>    </span>'.1'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 459 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.1'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 460 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f -+1.4'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 461 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.2'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 462 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.3'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 463 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.10'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 464 style='color:gray'><span style='mso-spacerun:yes'>    </span>'f.11'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 465 style='color:gray'> <span style='mso-spacerun:yes'>   </span>'+<span
wolffd@0 466 class=SpellE>inf</span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 467 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' -</span><span
wolffd@0 468 class=SpellE>nan</span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 469 style='color:gray'> <span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>  </span>'+ <span
wolffd@0 470 class=SpellE><span class=GramE>nan</span></span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 471 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 472 class=SpellE><span class=GramE>nan</span></span>'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 473 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 474 22.5pt'><span class=comment>% - run <b style='mso-bidi-font-weight:normal'>ASORT</b> with <b
wolffd@0 475 style='mso-bidi-font-weight:normal'>no-space</b>/<b style='mso-bidi-font-weight:
wolffd@0 476 normal'>template</b> options</span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 477 class=comment>%<span style='mso-spacerun:yes'>   </span><span class=GramE>NOTE</span> the impact of -w/-t order!</span></pre><pre
wolffd@0 478 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>s<span
wolffd@0 479 class=GramE>={</span><span class=string>'ff - 1'</span>,<span class=string>'ff + 1'</span>,<span
wolffd@0 480 class=string>'- 12'</span>};</pre><pre><i><span style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre
wolffd@0 481 style='margin-left:22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span>RAW</span></pre><pre
wolffd@0 482 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>o=<span
wolffd@0 483 class=SpellE>asort</span>(s,<span class=string>'-v'</span>);</pre><pre><i><span
wolffd@0 484 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 485 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>     </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 486 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 487 class=GramE>ff</span> - 1'<span style='mso-spacerun:yes'>    </span>'- 12'<span style='mso-spacerun:yes'>          </span>'--- NUMERICAL'<span style='mso-spacerun:yes'>        </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 488 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 489 class=GramE>ff</span> + 1'<span style='mso-spacerun:yes'>    </span>'ff + 1'<span style='mso-spacerun:yes'>        </span>'ff + 1'<span style='mso-spacerun:yes'>               </span>[<span style='mso-spacerun:yes'>                </span>1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 490 style='color:gray'><span style='mso-spacerun:yes'>    </span>'- 12'<span style='mso-spacerun:yes'>      </span>'ff - 1'<span style='mso-spacerun:yes'>        </span>'ff - 1'<span style='mso-spacerun:yes'>               </span>[<span style='mso-spacerun:yes'>                </span>1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 491 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 492 class=SpellE>'</span></span><span style='mso-spacerun:yes'>         </span><span
wolffd@0 493 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 494 class=SpellE>'</span>- 12'<span style='mso-spacerun:yes'>                 </span>[<span style='mso-spacerun:yes'>               </span>12]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 495 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 496 class=SpellE>'</span></span><span style='mso-spacerun:yes'>         </span><span
wolffd@0 497 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'>   </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 498 class=SpellE>'</span>--- ASCII NUMBERS'<span style='mso-spacerun:yes'>    </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 499 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 500 class=SpellE>'</span></span><span style='mso-spacerun:yes'>         </span><span
wolffd@0 501 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 502 class=SpellE>'</span>--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 503 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 504 22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span><span
wolffd@0 505 class=GramE>remove</span> <span class=SpellE><b style='mso-bidi-font-weight:
wolffd@0 506 normal'>SPACE</b>s</span></span></pre><pre style='margin-left:22.5pt'><span
wolffd@0 507 style='mso-tab-count:2'>          </span>o=<span class=SpellE>asort</span>(s,<span
wolffd@0 508 class=string>'-v'</span>,<span class=string>'-w'</span>);</pre><pre><i><span
wolffd@0 509 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 510 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>    </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 511 style='color:gray'><span style='mso-spacerun:yes'>    </span>'ff-1' <span style='mso-spacerun:yes'>    </span>'-12'<span style='mso-spacerun:yes'>           </span>'--- NUMERICAL'<span style='mso-spacerun:yes'>        </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 512 style='color:gray'><span style='mso-spacerun:yes'>    </span>'<span
wolffd@0 513 class=GramE>ff+</span>1'<span style='mso-spacerun:yes'>     </span><span
wolffd@0 514 class=SpellE>'ff+1'</span><span style='mso-spacerun:yes'>          </span>'-12'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>              </span>-12]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 515 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-12'<span style='mso-spacerun:yes'>      </span>'ff-1'<span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 516 class=SpellE>'ff-1'</span><span style='mso-spacerun:yes'>                 </span>[<span style='mso-spacerun:yes'>               </span>-1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 517 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 518 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 519 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'ff+1'<span style='mso-spacerun:yes'>        </span><span style='mso-spacerun:yes'>         </span>[<span style='mso-spacerun:yes'>                </span>1]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 520 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 521 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 522 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 523 class=SpellE>'</span>--- ASCII NUMBERS'<span style='mso-spacerun:yes'>    </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 524 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 525 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 526 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 527 class=SpellE>'</span>--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 528 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 529 22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span><span
wolffd@0 530 class=GramE>remove</span> <b style='mso-bidi-font-weight:normal'>TEMPLATE</b>(s)</span></pre><pre
wolffd@0 531 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>o=<span
wolffd@0 532 class=SpellE>asort</span>(s,<span class=string>'-v'</span>,<span class=string>'-t'</span><span
wolffd@0 533 class=GramE>,{</span><span class=string>'ff'</span>,<span class=string>'1'</span>});</pre><pre><i><span
wolffd@0 534 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 535 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>    </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 536 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' -</span> ' <span style='mso-spacerun:yes'>     </span><span
wolffd@0 537 class=SpellE>'</span> + '<span style='mso-spacerun:yes'>           </span><span
wolffd@0 538 class=SpellE>'</span>--- NUMERICAL'<span style='mso-spacerun:yes'>        </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 539 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' +</span> ' <span style='mso-spacerun:yes'>     </span><span
wolffd@0 540 class=SpellE>'</span> - '<span style='mso-spacerun:yes'>           </span><span
wolffd@0 541 class=SpellE>'</span>- 2'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>                </span>2]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 542 style='color:gray'><span style='mso-spacerun:yes'>    </span>'- 2'<span style='mso-spacerun:yes'>      </span>'- 2'<span style='mso-spacerun:yes'>           </span>'--- ASCII NUMBERS'<span style='mso-spacerun:yes'>   </span><span style='mso-spacerun:yes'> </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 543 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 544 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 545 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 546 class=SpellE>'</span>--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 547 style='color:gray'> <span style='mso-spacerun:yes'>   </span>' <span
wolffd@0 548 class=SpellE>'</span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 549 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 550 class=SpellE>'</span> + '<span style='mso-spacerun:yes'>                  </span><span
wolffd@0 551 class=SpellE>'</span> + '<span style='mso-spacerun:yes'>              </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 552 style='color:gray'><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span>' <span
wolffd@0 553 class=SpellE>'</span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 554 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 555 class=SpellE>'</span> - '<span style='mso-spacerun:yes'>                  </span><span
wolffd@0 556 class=SpellE>'</span> - '<span style='mso-spacerun:yes'>              </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 557 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 558 22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span><span
wolffd@0 559 class=GramE>remove</span> <b style='mso-bidi-font-weight:normal'>TEMPLATE</b>(s) than <span
wolffd@0 560 class=SpellE><b style='mso-bidi-font-weight:normal'>SPACE</b>s</span></span></pre><pre
wolffd@0 561 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>o=<span
wolffd@0 562 class=SpellE>asort</span>(s,<span class=string>'-v'</span>,<span class=string>'-t'</span>,<span
wolffd@0 563 class=string>'1'</span>,<span class=string>'-w'</span>);</pre><pre><i><span
wolffd@0 564 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 565 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>    </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 566 style='color:gray'><span style='mso-spacerun:yes'>    </span>'ff-'<span style='mso-spacerun:yes'>      </span>'-2'<span style='mso-spacerun:yes'>            </span>'--- NUMERICAL'<span style='mso-spacerun:yes'>        </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 567 style='color:gray'><span style='mso-spacerun:yes'>    </span>'ff+' <span style='mso-spacerun:yes'>     </span><span
wolffd@0 568 class=SpellE>'ff+'</span><span style='mso-spacerun:yes'>           </span>'-2'<span style='mso-spacerun:yes'>                </span><span style='mso-spacerun:yes'>   </span>[<span style='mso-spacerun:yes'>               </span>-2]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 569 style='color:gray'><span style='mso-spacerun:yes'>    </span>'-2'<span style='mso-spacerun:yes'>       </span>'ff-'<span style='mso-spacerun:yes'>           </span>'--- ASCII NUMBERS'<span style='mso-spacerun:yes'>    </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 570 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 571 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 572 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 573 class=SpellE>'</span>--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 574 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 575 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 576 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'ff+'<span style='mso-spacerun:yes'>                  </span><span
wolffd@0 577 class=SpellE>'ff+'</span><span style='mso-spacerun:yes'>              </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 578 style='color:gray'><span style='mso-spacerun:yes'>    </span><span class=GramE>' <span
wolffd@0 579 class=SpellE>'</span></span><span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'>    </span><span
wolffd@0 580 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'ff-'<span style='mso-spacerun:yes'>                  </span><span
wolffd@0 581 class=SpellE>'ff-'</span><span style='mso-spacerun:yes'>              </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 582 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre style='margin-left:
wolffd@0 583 22.5pt'><span class=comment>%<span style='mso-spacerun:yes'>   </span><span
wolffd@0 584 class=GramE>remove</span> <span class=SpellE><b style='mso-bidi-font-weight:
wolffd@0 585 normal'>SPACE</b>s</span> than <b style='mso-bidi-font-weight:normal'>TEMPLATE</b>(s)</span></pre><pre
wolffd@0 586 style='margin-left:22.5pt'><span style='mso-tab-count:2'>          </span>o=<span
wolffd@0 587 class=SpellE>asort</span>(s,<span class=string>'-v'</span>,<span class=string>'-w'</span>,<span
wolffd@0 588 class=string>'-t'</span>,<span class=string>'1'</span>);</pre><pre><i><span
wolffd@0 589 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre><pre><i><span
wolffd@0 590 style='color:gray'><span style='mso-spacerun:yes'>    </span>'INPUT'<span style='mso-spacerun:yes'>    </span>'ASCII SORT'<span style='mso-spacerun:yes'>    </span>'NUM SORT'<span style='mso-spacerun:yes'>             </span>'NUM READ'<span style='mso-spacerun:yes'>         </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 591 style='color:gray'><span style='mso-spacerun:yes'>    </span>'ff- '<span style='mso-spacerun:yes'>     </span><span
wolffd@0 592 class=SpellE>'</span>- 2'<span style='mso-spacerun:yes'>           </span>'--- NUMERICAL'<span style='mso-spacerun:yes'>   </span><span style='mso-spacerun:yes'>     </span>'--- NUMBERS'<span style='mso-spacerun:yes'>      </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 593 style='color:gray'><span style='mso-spacerun:yes'>    </span>'ff+ '<span style='mso-spacerun:yes'>     </span>'ff+ '<span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 594 class=SpellE>'</span>- 2'<span style='mso-spacerun:yes'>                  </span>[<span style='mso-spacerun:yes'>                </span>2]<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 595 style='color:gray'><span style='mso-spacerun:yes'>    </span>'- 2'<span style='mso-spacerun:yes'>      </span>'ff- '<span style='mso-spacerun:yes'>    </span><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>     </span><span
wolffd@0 596 class=SpellE>'</span>--- ASCII NUMBERS'<span style='mso-spacerun:yes'>    </span>'--- ASCII NUMBERS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 597 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 598 class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 599 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span><span
wolffd@0 600 class=SpellE>'</span>--- ASCII STRINGS'<span style='mso-spacerun:yes'>    </span>'--- ASCII STRINGS'<o:p></o:p></span></i></pre><pre><i><span
wolffd@0 601 style='color:gray'> <span style='mso-spacerun:yes'>   </span><span class=GramE>' <span
wolffd@0 602 class=SpellE>'</span></span><span style='mso-spacerun:yes'>  </span><span style='mso-spacerun:yes'>      </span><span
wolffd@0 603 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'ff+ '<span style='mso-spacerun:yes'>                 </span>'ff+ '<span style='mso-spacerun:yes'>             </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 604 style='color:gray'><span style='mso-spacerun:yes'> </span><span style='mso-spacerun:yes'>   </span><span
wolffd@0 605 class=GramE>' <span class=SpellE>'</span></span><span style='mso-spacerun:yes'>        </span><span
wolffd@0 606 class=SpellE>'</span> <span class=SpellE>'</span><span style='mso-spacerun:yes'>             </span>'ff- '<span style='mso-spacerun:yes'>                 </span>'ff- '<span style='mso-spacerun:yes'>             </span><o:p></o:p></span></i></pre><pre><i><span
wolffd@0 607 style='color:gray'><o:p>&nbsp;</o:p></span></i></pre>
wolffd@0 608
wolffd@0 609 <p class=footer style='tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><br>
wolffd@0 610 Published with MATLAB® 7.0.4<o:p></o:p></p>
wolffd@0 611
wolffd@0 612 </div>
wolffd@0 613
wolffd@0 614 <!--
wolffd@0 615 ##### SOURCE BEGIN #####
wolffd@0 616 % ASORT
wolffd@0 617 % a pedestrian NUMERICAL SORTER of ALPHANUMERIC data
wolffd@0 618
wolffd@0 619 % - create some data
wolffd@0 620 d = {
wolffd@0 621 % strings with one valid alphanumeric number
wolffd@0 622 % sorted numerically
wolffd@0 623 '-inf'
wolffd@0 624 'x-3.2e4y'
wolffd@0 625 'f-1.4'
wolffd@0 626 '-.1'
wolffd@0 627 '+ .1d-2'
wolffd@0 628 '.1'
wolffd@0 629 'f.1'
wolffd@0 630 'f -+1.4'
wolffd@0 631 'f.2'
wolffd@0 632 'f.3'
wolffd@0 633 'f.10'
wolffd@0 634 'f.11'
wolffd@0 635 '+inf'
wolffd@0 636 ' -nan'
wolffd@0 637 '+ nan'
wolffd@0 638 'nan'
wolffd@0 639 % strings with many numbers or invalid/ambiguous numbers
wolffd@0 640 % sorted in ascii dictionary order
wolffd@0 641 ' nan nan'
wolffd@0 642 '+ .1e-.2'
wolffd@0 643 '-1 2'
wolffd@0 644 'Z12e12ez'
wolffd@0 645 'inf -inf'
wolffd@0 646 's.3TT.4'
wolffd@0 647 'z12e12ez'
wolffd@0 648 % strings without numbers
wolffd@0 649 % sorted in ascii dictionary order
wolffd@0 650 ' . .. '
wolffd@0 651 '.'
wolffd@0 652 '...'
wolffd@0 653 '.b a.'
wolffd@0 654 'a string'
wolffd@0 655 'a. .b'
wolffd@0 656 };
wolffd@0 657 % ... and scramble it...
wolffd@0 658 rand('seed',10);
wolffd@0 659 d=d(randperm(numel(d)));
wolffd@0 660
wolffd@0 661 % - run ASORT with verbose output
wolffd@0 662 % and keep additional results
wolffd@0 663 o=asort(d,'-v','-d');
wolffd@0 664 % - or
wolffd@0 665 % p=asort(char(d));
wolffd@0 666
wolffd@0 667 % - show results
wolffd@0 668 o
wolffd@0 669 o.anr
wolffd@0 670
wolffd@0 671 % - run ASORT with no-space/template options
wolffd@0 672 % NOTE the impact of -t/-w order!
wolffd@0 673 s={'ff - 1','ff + 1','- 12'};
wolffd@0 674 % RAW
wolffd@0 675 o=asort(s,'-v');
wolffd@0 676 % remove SPACEs
wolffd@0 677 o=asort(s,'-v','-w');
wolffd@0 678 % remove TEMPLATE(s)
wolffd@0 679 o=asort(s,'-v','-t',{'ff','1'});
wolffd@0 680 % remove TEMPLATE(s) than SPACEs
wolffd@0 681 o=asort(s,'-v','-t','1','-w');
wolffd@0 682 % remove SPACEs than TEMPLATE(s)
wolffd@0 683 o=asort(s,'-v','-w','-t','1');
wolffd@0 684
wolffd@0 685
wolffd@0 686 ##### SOURCE END #####
wolffd@0 687 -->
wolffd@0 688 </body>
wolffd@0 689
wolffd@0 690 </html>