<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: Data unit conversion from sensor</title>
		<link>http://www.k-wave.org/forum/topic/data-unit-conversion-from-sensor</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:20:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/data-unit-conversion-from-sensor" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Data unit conversion from sensor"</title>
			<link>http://www.k-wave.org/forum/topic/data-unit-conversion-from-sensor#post-1059</link>
			<pubDate>Fri, 23 Nov 2012 01:33:36 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1059@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi toxie87,&#60;/p&#62;
&#60;p&#62;Sorry, I should have mentioned, the value for &#60;code&#62;p_output&#60;/code&#62; should be the RMS (root mean squared) value of your output signal (in steady state if you are using a continuous wave input). This will be a single positive number.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>toxie87 on "Data unit conversion from sensor"</title>
			<link>http://www.k-wave.org/forum/topic/data-unit-conversion-from-sensor#post-1056</link>
			<pubDate>Fri, 23 Nov 2012 00:09:41 +0000</pubDate>
			<dc:creator>toxie87</dc:creator>
			<guid isPermaLink="false">1056@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks for the reply Brad. I`m already using the formula u gave me, but due to the negative values, as a result i have complex numbers. Also the readings are pretty strange to me. 0.2246 is the maximum at the sensor and after the formula, the max is -Inf, the second largest is 186.72dB ?!?? It should be 81dB by my calculations. Am i wrong ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Data unit conversion from sensor"</title>
			<link>http://www.k-wave.org/forum/topic/data-unit-conversion-from-sensor#post-1055</link>
			<pubDate>Thu, 22 Nov 2012 23:48:07 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1055@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi toxie87,&#60;/p&#62;
&#60;p&#62;Assuming you are doing linear simulations, the magnitude of your output scales linearly with the magnitude of your input (so in your case, if your input amplitude was 2 instead of 1, your output values would range from -0.4 to 0.4). &#60;/p&#62;
&#60;p&#62;If you know the actual pressure of your source in Pascals, you can use this to calculate the magnitude of your output in Pascals. You can then convert Pascals to a sound pressure level in dB using the formula &#60;code&#62;20*log10(p_output/p_ref)&#60;/code&#62;, where &#60;code&#62;p_ref = 20e-6;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If you want a relative drop in dB, you can calculate this directly using by setting p_ref equal to your input magnitude (the scaling of the input and output doesn't matter, as long as they are the same).&#60;/p&#62;
&#60;p&#62;Hope that helps!&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>toxie87 on "Data unit conversion from sensor"</title>
			<link>http://www.k-wave.org/forum/topic/data-unit-conversion-from-sensor#post-1053</link>
			<pubDate>Thu, 22 Nov 2012 23:28:50 +0000</pubDate>
			<dc:creator>toxie87</dc:creator>
			<guid isPermaLink="false">1053@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I`m doing some simulations using this toolbox and i must say i love it.&#60;br /&#62;
Also i have a question. I`m generating some signals in simulink (Amplitude=1). Have 2 sources and 1 sensor. Currently only 'p' is recorded. The resulting value at the sensor_data.p is from -0.2 to 0.2 . How do i convert those into dB ? I need to get simulation results, and then compare it with microphone recordings, to see if they &#34;match&#34; .
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
