From help-request at octave dot org Tue Jan 18 18:05:25 2005 Subject: Re: Verilog - x and z values with octave load From: Luke Darnell To: Octave Help Date: Wed, 19 Jan 2005 11:07:41 +1100 >If you are on a Unix/linux system, the easiest way is to filter >your input through sed, for example, replacing any instance of x >or z by NaN. Load will accept that: >system("cat f_name | sed 's/z/NaN/g' | sed 's/x/NaN/g'>fakename"); >f_name=load fakename; > > Yep that worked a charm , thanks. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------