<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241077</link>
    <title>MATLAB Central Newsreader - Trying to plot a sinc function</title>
    <description>Feed for thread: Trying to plot a sinc function</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>Mon, 15 Dec 2008 19:38:02 -0500</pubDate>
      <title>Trying to plot a sinc function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241077#617220</link>
      <author>Yan Rosh</author>
      <description>I have to following problem:&lt;br&gt;
&lt;br&gt;
I define a variable t, as such: t = (-12:0.001:12);&lt;br&gt;
and then I try to plot this graph:&lt;br&gt;
&lt;br&gt;
y = sinc(t)cos(t);&lt;br&gt;
&lt;br&gt;
but then I get an error message (unfortunately I am not in the schools computer lab so I can't tell you the exact error message), it says basically that I can't multiply those matrices because they are not of the same size.&lt;br&gt;
&lt;br&gt;
What am I doing wrong here?&lt;br&gt;
&lt;br&gt;
Thank you!!!</description>
    </item>
    <item>
      <pubDate>Mon, 15 Dec 2008 19:55:04 -0500</pubDate>
      <title>Re: Trying to plot a sinc function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241077#617227</link>
      <author>Roger Stafford</author>
      <description>&quot;Yan Rosh&quot; &amp;lt;yan_rosh@yahoo.com&amp;gt; wrote in message &amp;lt;gi6bmq$n69$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have to following problem:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I define a variable t, as such: t = (-12:0.001:12);&lt;br&gt;
&amp;gt; and then I try to plot this graph:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; y = sinc(t)cos(t);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; but then I get an error message (unfortunately I am not in the schools computer lab so I can't tell you the exact error message), it says basically that I can't multiply those matrices because they are not of the same size.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What am I doing wrong here?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you!!!&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;I am guessing you need to add the 'dot' along with the multiplication symbol:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;y = sinc(t).*cos(t);&lt;br&gt;
&lt;br&gt;
Roger Staffod</description>
    </item>
    <item>
      <pubDate>Mon, 15 Dec 2008 20:19:02 -0500</pubDate>
      <title>Re: Trying to plot a sinc function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241077#617233</link>
      <author>Yan Rosh</author>
      <description>&quot;Roger Stafford&quot; &amp;lt;ellieandrogerxyzzy@mindspring.com.invalid&amp;gt; wrote in message &amp;lt;gi6cmo$8mk$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Yan Rosh&quot; &amp;lt;yan_rosh@yahoo.com&amp;gt; wrote in message &amp;lt;gi6bmq$n69$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; I have to following problem:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I define a variable t, as such: t = (-12:0.001:12);&lt;br&gt;
&amp;gt; &amp;gt; and then I try to plot this graph:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; y = sinc(t)cos(t);&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; but then I get an error message (unfortunately I am not in the schools computer lab so I can't tell you the exact error message), it says basically that I can't multiply those matrices because they are not of the same size.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; What am I doing wrong here?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thank you!!!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   I am guessing you need to add the 'dot' along with the multiplication symbol:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  y = sinc(t).*cos(t);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Roger Staffod&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks, ill try it and let you know... :)</description>
    </item>
    <item>
      <pubDate>Tue, 16 Dec 2008 05:22:30 -0500</pubDate>
      <title>Re: Trying to plot a sinc function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241077#617282</link>
      <author>chen</author>
      <description>This error is because when you write this program in matlab like y=sinc(t)*cos(t) it's means  array sinc(t) multiply array cos(t).so you should write like &lt;br&gt;
y=sint(t).*cis(t) in matlab program .</description>
    </item>
  </channel>
</rss>

