<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Accelerating MATLAB Performance book	</title>
	<atom:link href="https://undocumentedmatlab.com/books/matlab-performance/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 23 Sep 2019 08:54:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: EHSAN		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-492436</link>

		<dc:creator><![CDATA[EHSAN]]></dc:creator>
		<pubDate>Tue, 20 Aug 2019 06:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-492436</guid>

					<description><![CDATA[dear Yair Altman 

I have a problem with the MATLAB user interface, please guide me.  I&#039;ve made a project, In my project I want to call the amount of strings from the editing box and show it on the load bar diagram. The String value can be variable, and I want to automatically display this new value every time the String value changes. 

help me. 

thank you]]></description>
			<content:encoded><![CDATA[<p>dear Yair Altman </p>
<p>I have a problem with the MATLAB user interface, please guide me.  I&#8217;ve made a project, In my project I want to call the amount of strings from the editing box and show it on the load bar diagram. The String value can be variable, and I want to automatically display this new value every time the String value changes. </p>
<p>help me. </p>
<p>thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-403556</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 23 Mar 2017 14:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-403556</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/books/matlab-performance#comment-403452&quot;&gt;Christoph&lt;/a&gt;.

@Christoph - I was just informed by CRC that they fixed the problem with the MZK07 promo code and it should now be active again.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/books/matlab-performance#comment-403452">Christoph</a>.</p>
<p>@Christoph &#8211; I was just informed by CRC that they fixed the problem with the MZK07 promo code and it should now be active again.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-403478</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 22 Mar 2017 08:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-403478</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/books/matlab-performance#comment-403452&quot;&gt;Christoph&lt;/a&gt;.

@Christoph - thanks for letting me know. I&#039;ve asked CRC about it - I will let you know when I hear back from them.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/books/matlab-performance#comment-403452">Christoph</a>.</p>
<p>@Christoph &#8211; thanks for letting me know. I&#8217;ve asked CRC about it &#8211; I will let you know when I hear back from them.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-403452</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Tue, 21 Mar 2017 22:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-403452</guid>

					<description><![CDATA[Dear Yair,
I just tried to order your book via the CRC website. 
However, when I tried to enter the promo code MZK07 for a discount, I got the following message:
&quot;Promo Code MZK07 was not applied. The discount code was not recognized or has already expired.&quot;

Is the promo code still valid? Or is there another promo code I can use?

Thanks 

          Christoph]]></description>
			<content:encoded><![CDATA[<p>Dear Yair,<br />
I just tried to order your book via the CRC website.<br />
However, when I tried to enter the promo code MZK07 for a discount, I got the following message:<br />
&#8220;Promo Code MZK07 was not applied. The discount code was not recognized or has already expired.&#8221;</p>
<p>Is the promo code still valid? Or is there another promo code I can use?</p>
<p>Thanks </p>
<p>          Christoph</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-382327</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 05 Jul 2016 05:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-382327</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/books/matlab-performance#comment-380679&quot;&gt;N/A&lt;/a&gt;.

The data variable used in the code is indeed a Matlab struct which is generated separately. Most of its fields are precomputed constants, and only the phase data is loaded from the AFRL data file. Here is the code snippet that Pavel Emeliyanenko used to generate the data struct for the SAR functions:

&lt;pre lang=&quot;matlab&quot;&gt;
Np = 128;  % columns (azimuth points)
K  = 128;  % rows (frequency samples)

B = 0.591 * 10^9;   % bandwidth (Hz)
fc  = 9.6 * 10^9;   % center frequency (Hz)
data.dr = 0.304700; % range resolution (m)
data.dx = 0.304700; % cross-range resolution (m)
data.maxWr = data.dr*(K-1);  % maximum scene size in range direction (m)
data.maxWx = data.dx*(Np-1); % maximum scene size in cross-range direction (m)

data.deltaF = B / (K-1);
data.Nfft = K*10;

xl=-3; xr=3; yl=-3; yr=3;
nx=500; ny=500;
stepx=(xr-xl)/nx;
stepy=(yr-yl)/ny;
[data.x_mat, data.y_mat] = meshgrid(xl:stepx:xr, yl:stepy:yr);
data.z_mat = zeros(size(data.x_mat));

data.minF = ones([1,Np]) * (fc - B/2);

T = 0 : 1/(Np-1) : 1;
data.AntX = T; %T.^3-3.*T.^2-1;
data.AntY = T; %T.^5-2.*T-1;
data.AntZ = ones(size(data.AntX))/5;
% distance to SAR mo-comp. point
data.R0 = sqrt(data.AntX.^2 + data.AntY.^2 + data.AntZ.^2); 

% Read the complex phase data from the AFRL data file
fp = fopen(&#039;HB05022.002.all&#039;, &#039;r&#039;, &#039;l&#039;);
amp = fread(fp, [K,Np], &#039;float=&gt;float&#039;);  % real data
ph  = fread(fp, [K,Np], &#039;float=&gt;float&#039;);  % imaginary data
fclose(fp);
data.phdata = single(amp) + single(ph) * 1i;
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/books/matlab-performance#comment-380679">N/A</a>.</p>
<p>The data variable used in the code is indeed a Matlab struct which is generated separately. Most of its fields are precomputed constants, and only the phase data is loaded from the AFRL data file. Here is the code snippet that Pavel Emeliyanenko used to generate the data struct for the SAR functions:</p>
<pre lang="matlab">
Np = 128;  % columns (azimuth points)
K  = 128;  % rows (frequency samples)

B = 0.591 * 10^9;   % bandwidth (Hz)
fc  = 9.6 * 10^9;   % center frequency (Hz)
data.dr = 0.304700; % range resolution (m)
data.dx = 0.304700; % cross-range resolution (m)
data.maxWr = data.dr*(K-1);  % maximum scene size in range direction (m)
data.maxWx = data.dx*(Np-1); % maximum scene size in cross-range direction (m)

data.deltaF = B / (K-1);
data.Nfft = K*10;

xl=-3; xr=3; yl=-3; yr=3;
nx=500; ny=500;
stepx=(xr-xl)/nx;
stepy=(yr-yl)/ny;
[data.x_mat, data.y_mat] = meshgrid(xl:stepx:xr, yl:stepy:yr);
data.z_mat = zeros(size(data.x_mat));

data.minF = ones([1,Np]) * (fc - B/2);

T = 0 : 1/(Np-1) : 1;
data.AntX = T; %T.^3-3.*T.^2-1;
data.AntY = T; %T.^5-2.*T-1;
data.AntZ = ones(size(data.AntX))/5;
% distance to SAR mo-comp. point
data.R0 = sqrt(data.AntX.^2 + data.AntY.^2 + data.AntZ.^2); 

% Read the complex phase data from the AFRL data file
fp = fopen('HB05022.002.all', 'r', 'l');
amp = fread(fp, [K,Np], 'float=>float');  % real data
ph  = fread(fp, [K,Np], 'float=>float');  % imaginary data
fclose(fp);
data.phdata = single(amp) + single(ph) * 1i;
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: N/A		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-380679</link>

		<dc:creator><![CDATA[N/A]]></dc:creator>
		<pubDate>Fri, 17 Jun 2016 19:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-380679</guid>

					<description><![CDATA[Section 5.6 (Real-Life Example: SAR Matched Filter)
The function on page 265 for matched filtering does not discuss how to read the data downloaded from the mentioned AFRL Link.
The function describes the data as a structure but when I read any of the files contained within folder SN132 (or using the matlabtools vwchip or vwclut) there is no mention of a variable &quot;phdata&quot;.

I variable imgdata is produced which looks to be complex indicating phase data but is not a structure.
Please provide a proper example file or method to read the files from the AFRL link.

Thank you.]]></description>
			<content:encoded><![CDATA[<p>Section 5.6 (Real-Life Example: SAR Matched Filter)<br />
The function on page 265 for matched filtering does not discuss how to read the data downloaded from the mentioned AFRL Link.<br />
The function describes the data as a structure but when I read any of the files contained within folder SN132 (or using the matlabtools vwchip or vwclut) there is no mention of a variable &#8220;phdata&#8221;.</p>
<p>I variable imgdata is produced which looks to be complex indicating phase data but is not a structure.<br />
Please provide a proper example file or method to read the files from the AFRL link.</p>
<p>Thank you.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-371851</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 13 Mar 2016 22:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-371851</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/books/matlab-performance#comment-371849&quot;&gt;sepideh&lt;/a&gt;.

Thanks for the kind feedback. I would appreciate if you could add a positive comment about the book on Amazon (&lt;a href=&quot;http://amazon.com/Accelerating-MATLAB-Performance-speed-programs/product-reviews/1482211297/ref=cm_cr_dp_see_all_summary&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;direct link&lt;/a&gt;), for the benefit of others.

Thanks in advance!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/books/matlab-performance#comment-371849">sepideh</a>.</p>
<p>Thanks for the kind feedback. I would appreciate if you could add a positive comment about the book on Amazon (<a href="http://amazon.com/Accelerating-MATLAB-Performance-speed-programs/product-reviews/1482211297/ref=cm_cr_dp_see_all_summary" target="_blank" rel="nofollow">direct link</a>), for the benefit of others.</p>
<p>Thanks in advance!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sepideh		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-371849</link>

		<dc:creator><![CDATA[sepideh]]></dc:creator>
		<pubDate>Sun, 13 Mar 2016 21:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-371849</guid>

					<description><![CDATA[Great book to read. It has helped me a lot. Specially chapter 9 which is about memory issues]]></description>
			<content:encoded><![CDATA[<p>Great book to read. It has helped me a lot. Specially chapter 9 which is about memory issues</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-369101</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 03 Feb 2016 12:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-369101</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/books/matlab-performance#comment-369099&quot;&gt;Sergey&lt;/a&gt;.

@Sergey - thanks for the feedback. Your correction is (well) correct :-) I&#039;ve added it to the Errata table above. 

Please be kind enough to provide feedback on the book at Amazon (&lt;a href=&quot;http://amazon.com/Accelerating-MATLAB-Performance-speed-programs/product-reviews/1482211297/ref=cm_cr_dp_see_all_summary&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/books/matlab-performance#comment-369099">Sergey</a>.</p>
<p>@Sergey &#8211; thanks for the feedback. Your correction is (well) correct 🙂 I&#8217;ve added it to the Errata table above. </p>
<p>Please be kind enough to provide feedback on the book at Amazon (<a href="http://amazon.com/Accelerating-MATLAB-Performance-speed-programs/product-reviews/1482211297/ref=cm_cr_dp_see_all_summary" target="_blank" rel="nofollow">link</a>)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sergey		</title>
		<link>https://undocumentedmatlab.com/books/matlab-performance#comment-369099</link>

		<dc:creator><![CDATA[Sergey]]></dc:creator>
		<pubDate>Wed, 03 Feb 2016 12:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=5371#comment-369099</guid>

					<description><![CDATA[Dear Yair, 

I am reading you book and find it very useful. I believe I have found a small bug on page 82, last code snippet. I think it should rather be something like this:

&lt;pre lang=&quot;matlab&quot;&gt;
[sortedData , sortedDataIdx ] = sort(data);
[uniqueVals , sortedStartIdx] = unique(sortedData);
sortedEndIdx = [sortedStartIdx(2:end)&#039;-1,length(data)];
for idx = 1:length(uniqueVals)
    dataIdx = sortedDataIdx( sortedStartIdx(idx) : sortedEndIdx(idx) );
end
&lt;/pre&gt;

Sorry if I misunderstood you code and mistakenly called it a bug. 

Sergey]]></description>
			<content:encoded><![CDATA[<p>Dear Yair, </p>
<p>I am reading you book and find it very useful. I believe I have found a small bug on page 82, last code snippet. I think it should rather be something like this:</p>
<pre lang="matlab">
[sortedData , sortedDataIdx ] = sort(data);
[uniqueVals , sortedStartIdx] = unique(sortedData);
sortedEndIdx = [sortedStartIdx(2:end)'-1,length(data)];
for idx = 1:length(uniqueVals)
    dataIdx = sortedDataIdx( sortedStartIdx(idx) : sortedEndIdx(idx) );
end
</pre>
<p>Sorry if I misunderstood you code and mistakenly called it a bug. </p>
<p>Sergey</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
