<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki-pnb.eri.ucsb.edu/index.php?action=history&amp;feed=atom&amp;title=Excise.m</id>
	<title>Excise.m - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-pnb.eri.ucsb.edu/index.php?action=history&amp;feed=atom&amp;title=Excise.m"/>
	<link rel="alternate" type="text/html" href="https://wiki-pnb.eri.ucsb.edu/index.php?title=Excise.m&amp;action=history"/>
	<updated>2026-05-09T18:50:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://wiki-pnb.eri.ucsb.edu/index.php?title=Excise.m&amp;diff=198&amp;oldid=prev</id>
		<title>128.111.101.185: Created page with '&lt;pre&gt; % EXCISE.M % Mfile to excise any row containing data less than thresholds.  % Used to remove rows of data with TRAPFLAGS in them. % Created: JCS - someTime 1992 (:  functio…'</title>
		<link rel="alternate" type="text/html" href="https://wiki-pnb.eri.ucsb.edu/index.php?title=Excise.m&amp;diff=198&amp;oldid=prev"/>
		<updated>2010-08-05T22:52:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;lt;pre&amp;gt; % EXCISE.M % Mfile to excise any row containing data less than thresholds.  % Used to remove rows of data with TRAPFLAGS in them. % Created: JCS - someTime 1992 (:  functio…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
% EXCISE.M&lt;br /&gt;
% Mfile to excise any row containing data less than thresholds. &lt;br /&gt;
% Used to remove rows of data with TRAPFLAGS in them.&lt;br /&gt;
% Created: JCS - someTime 1992 (:&lt;br /&gt;
&lt;br /&gt;
function x=excise(x, LOWER_THRESHOLD, UPPER_THRESHOLD)&lt;br /&gt;
&lt;br /&gt;
if exist('UPPER_THRESHOLD') ~= 1,&lt;br /&gt;
	UPPER_THRESHOLD = 1e34;&lt;br /&gt;
end&lt;br /&gt;
if exist('LOWER_THRESHOLD') ~= 1,&lt;br /&gt;
	LOWER_THRESHOLD = -800;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[m,n]=size(x);&lt;br /&gt;
trap= (x &amp;lt; LOWER_THRESHOLD | x &amp;gt; UPPER_THRESHOLD | isnan(x) == 1 | isinf(x) == 1);&lt;br /&gt;
if n &amp;gt; 1, &lt;br /&gt;
  x(any(trap'),:)=[];&lt;br /&gt;
else,&lt;br /&gt;
  x(find(trap),:)=[];&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;[[excise]]&amp;lt;big&amp;gt;&lt;/div&gt;</summary>
		<author><name>128.111.101.185</name></author>
		
	</entry>
</feed>