help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Verilog - x and z values with octave load


From: Luke Darnell
Subject: Re: Verilog - x and z values with octave load
Date: Wed, 19 Jan 2005 11:07:41 +1100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)


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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]