<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448</link>
    <title>MATLAB Central Newsreader - BOX CAR</title>
    <description>Feed for thread: BOX CAR</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 19 Jul 2009 04:08:01 -0400</pubDate>
      <title>BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#666355</link>
      <author>guj </author>
      <description>can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&lt;br&gt;
and how to plot it with my funtion&lt;br&gt;
&lt;br&gt;
I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&lt;br&gt;
I am new to DSP ..:) still learning the things</description>
    </item>
    <item>
      <pubDate>Sun, 19 Jul 2009 08:57:01 -0400</pubDate>
      <title>Re: BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#666384</link>
      <author>Sprinceana </author>
      <description>&quot;guj &quot; &amp;lt;gulatiakshay@gmail.com&amp;gt; wrote in message &amp;lt;h3u671$n0p$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and how to plot it with my funtion&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am new to DSP ..:) still learning the things&lt;br&gt;
&lt;br&gt;
You store your 296 sample long on your signal in a variable isn't it?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
So you multiply:&lt;br&gt;
&lt;br&gt;
reactwin(64) *name_of_variable (which consist of your 296 point signal).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
You gave little details a little code and message of errors can guide us to help you quicker!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Michael</description>
    </item>
    <item>
      <pubDate>Sun, 19 Jul 2009 14:07:11 -0400</pubDate>
      <title>Re: BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#666420</link>
      <author>ImageAnalyst</author>
      <description>On Jul 19, 4:57&#160;am, &quot;Sprinceana &quot; &amp;lt;mihai...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote in message &amp;lt;h3u671$n0...@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; and how to plot it with my funtion&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I am new to DSP ..:) still learning the things&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; You store your 296 sample long on your signal in a variable isn't it?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So you multiply:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; reactwin(64) *name_of_variable (which consist of your 296 point signal).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; You gave little details a little code and message of errors can guide us to help you quicker!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Michael&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------&lt;br&gt;
Yeah, you think that's going to work???  The only way to do the&lt;br&gt;
multiplication is if the arrays are the same size, Or multiply just&lt;br&gt;
part of the longer one like this:&lt;br&gt;
a=1:64&lt;br&gt;
b=1:296&lt;br&gt;
c=a .* b(1:length(a))&lt;br&gt;
&lt;br&gt;
Or possibly they're thinking about a sliding window sort of thing,&lt;br&gt;
like convolution, conv().&lt;br&gt;
&lt;br&gt;
But you're right in that they really haven't given enough information&lt;br&gt;
to give a decent answer.&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Tue, 21 Jul 2009 18:06:06 -0400</pubDate>
      <title>Re: BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#667059</link>
      <author>guj </author>
      <description>ImageAnalyst &amp;lt;imageanalyst@mailinator.com&amp;gt; wrote in message &amp;lt;c0146ddf-ae3f-4264-946b-2b85e4ff4c43@s31g2000yqs.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Jul 19, 4:57?am, &quot;Sprinceana &quot; &amp;lt;mihai...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote in message &amp;lt;h3u671$n0...@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; and how to plot it with my funtion&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I am new to DSP ..:) still learning the things&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; You store your 296 sample long on your signal in a variable isn't it?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; So you multiply:&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; reactwin(64) *name_of_variable (which consist of your 296 point signal).&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; You gave little details a little code and message of errors can guide us to help you quicker!&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Michael&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ------------------------------------------------------------------&lt;br&gt;
&amp;gt; Yeah, you think that's going to work???  The only way to do the&lt;br&gt;
&amp;gt; multiplication is if the arrays are the same size, Or multiply just&lt;br&gt;
&amp;gt; part of the longer one like this:&lt;br&gt;
&amp;gt; a=1:64&lt;br&gt;
&amp;gt; b=1:296&lt;br&gt;
&amp;gt; c=a .* b(1:length(a))&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Or possibly they're thinking about a sliding window sort of thing,&lt;br&gt;
&amp;gt; like convolution, conv().&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But you're right in that they really haven't given enough information&lt;br&gt;
&amp;gt; to give a decent answer.&lt;br&gt;
&amp;gt; Regards,&lt;br&gt;
&amp;gt; ImageAnalyst&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Lets  see it like that&lt;br&gt;
&lt;br&gt;
I have s which is a spectra signal length a, w another signal spectra of length b when i convolve spectra of both of them i get y=s*w..Now y has length a+b-1.......So for getting s back i need to apply low pass filter...say a rectangular function.....RECTWIN (in matlab)....&lt;br&gt;
&lt;br&gt;
If i apply some thing like&lt;br&gt;
y.*RECTWIN(length(s)) it wont work as they r of not equal size...so how will i apply it..am i clear now ...this question seem to trivial but i dont understand</description>
    </item>
    <item>
      <pubDate>Wed, 22 Jul 2009 03:17:33 -0400</pubDate>
      <title>Re: BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#667195</link>
      <author>ImageAnalyst</author>
      <description>On Jul 21, 2:06&#160;pm, &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; ImageAnalyst &amp;lt;imageanal...@mailinator.com&amp;gt; wrote in message &amp;lt;c0146ddf-ae3f-4264-946b-2b85e4ff4...@s31g2000yqs.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; On Jul 19, 4:57?am, &quot;Sprinceana &quot; &amp;lt;mihai...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote in message &amp;lt;h3u671$n0...@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; and how to plot it with my funtion&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I am new to DSP ..:) still learning the things&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; You store your 296 sample long on your signal in a variable isn't it?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; So you multiply:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; reactwin(64) *name_of_variable (which consist of your 296 point signal).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; You gave little details a little code and message of errors can guide us to help you quicker!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Michael&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; ------------------------------------------------------------------&lt;br&gt;
&amp;gt; &amp;gt; Yeah, you think that's going to work??? &#160;The only way to do the&lt;br&gt;
&amp;gt; &amp;gt; multiplication is if the arrays are the same size, Or multiply just&lt;br&gt;
&amp;gt; &amp;gt; part of the longer one like this:&lt;br&gt;
&amp;gt; &amp;gt; a=1:64&lt;br&gt;
&amp;gt; &amp;gt; b=1:296&lt;br&gt;
&amp;gt; &amp;gt; c=a .* b(1:length(a))&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Or possibly they're thinking about a sliding window sort of thing,&lt;br&gt;
&amp;gt; &amp;gt; like convolution, conv().&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; But you're right in that they really haven't given enough information&lt;br&gt;
&amp;gt; &amp;gt; to give a decent answer.&lt;br&gt;
&amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Lets &#160;see it like that&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have s which is a spectra signal length a, w another signal spectra of length b when i convolve spectra of both of them i get y=s*w..Now y has length a+b-1.......So for getting s back i need to apply low pass filter...say a rectangular function.....RECTWIN (in matlab)....&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If i apply some thing like&lt;br&gt;
&amp;gt; y.*RECTWIN(length(s)) it wont work as they r of not equal size...so how will i apply it..am i clear now ...this question seem to trivial but i dont understand- Hide quoted text -&lt;br&gt;
&amp;gt;&lt;br&gt;
-----------------------------------------------------------------------&lt;br&gt;
Don't use rectwin, and you certainly don't use a low pass filter to&lt;br&gt;
extract a part of a signal (that would just mess up your convolution -&lt;br&gt;
change it's shape).  You just use regular indexing.&lt;br&gt;
For example if you signal is 100 long and your kernel is 11 long, the&lt;br&gt;
convolution will be 111 long.  If you want the central 100 out of it,&lt;br&gt;
just say&lt;br&gt;
sameSizeSignal = convolutionResult(6:105);&lt;br&gt;
Good luck,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Wed, 22 Jul 2009 05:24:04 -0400</pubDate>
      <title>Re: BOX CAR</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/256448#667209</link>
      <author>guj </author>
      <description>ImageAnalyst &amp;lt;imageanalyst@mailinator.com&amp;gt; wrote in message &amp;lt;2121bfee-538d-4585-8c87-6d14651e416c@o36g2000vbl.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Jul 21, 2:06?pm, &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; ImageAnalyst &amp;lt;imageanal...@mailinator.com&amp;gt; wrote in message &amp;lt;c0146ddf-ae3f-4264-946b-2b85e4ff4...@s31g2000yqs.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; On Jul 19, 4:57?am, &quot;Sprinceana &quot; &amp;lt;mihai...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &quot;guj &quot; &amp;lt;gulatiaks...@gmail.com&amp;gt; wrote in message &amp;lt;h3u671$n0...@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; can any one tell me how can i apply window on my signal which is 296 sample long, i want to see only 64 samples..how can i apply rectangular window...&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; and how to plot it with my funtion&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I tired RECTWIN(64) but is giving me straight line, and how can i multiply with 296 point signal.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am new to DSP ..:) still learning the things&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; You store your 296 sample long on your signal in a variable isn't it?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; So you multiply:&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; reactwin(64) *name_of_variable (which consist of your 296 point signal).&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; You gave little details a little code and message of errors can guide us to help you quicker!&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Michael&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; ------------------------------------------------------------------&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Yeah, you think that's going to work??? ?The only way to do the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; multiplication is if the arrays are the same size, Or multiply just&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; part of the longer one like this:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; a=1:64&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; b=1:296&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; c=a .* b(1:length(a))&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Or possibly they're thinking about a sliding window sort of thing,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; like convolution, conv().&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; But you're right in that they really haven't given enough information&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; to give a decent answer.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Regards,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; ImageAnalyst&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Lets ?see it like that&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I have s which is a spectra signal length a, w another signal spectra of length b when i convolve spectra of both of them i get y=s*w..Now y has length a+b-1.......So for getting s back i need to apply low pass filter...say a rectangular function.....RECTWIN (in matlab)....&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; If i apply some thing like&lt;br&gt;
&amp;gt; &amp;gt; y.*RECTWIN(length(s)) it wont work as they r of not equal size...so how will i apply it..am i clear now ...this question seem to trivial but i dont understand- Hide quoted text -&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; -----------------------------------------------------------------------&lt;br&gt;
&amp;gt; Don't use rectwin, and you certainly don't use a low pass filter to&lt;br&gt;
&amp;gt; extract a part of a signal (that would just mess up your convolution -&lt;br&gt;
&amp;gt; change it's shape).  You just use regular indexing.&lt;br&gt;
&amp;gt; For example if you signal is 100 long and your kernel is 11 long, the&lt;br&gt;
&amp;gt; convolution will be 111 long.  If you want the central 100 out of it,&lt;br&gt;
&amp;gt; just say&lt;br&gt;
&amp;gt; sameSizeSignal = convolutionResult(6:105);&lt;br&gt;
&amp;gt; Good luck,&lt;br&gt;
&amp;gt; ImageAnalyst&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
i think convolution will be 110 in length and genrally when we use funtion like box car to reconsruct a signal back in fourier domain (i am not sure though)</description>
    </item>
  </channel>
</rss>

