<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199</link>
    <title>MATLAB Central Newsreader - Plotting 3-d functions (Spherical Harmonics)</title>
    <description>Feed for thread: Plotting 3-d functions (Spherical Harmonics)</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>Thu, 16 Apr 2009 15:00:19 -0400</pubDate>
      <title>Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#643209</link>
      <author>Christopher Hart</author>
      <description>So I've had little experience with Matlab and I'm finding it difficult to plot a 3-d Spherical harmonic wave in polar coordinates.  In Mathmatica this isn't a difficult thing to do but my lack of experience with Matlab is posing as an issue.  My Modern Physics instructor would like us to plot the following Normalized Spherical Harmonic functions.  Any help would be appreciated.  Please give specific details because I still don&amp;#8217;t know many of the commands.  Thanks!  &lt;br&gt;
&lt;br&gt;
Here is the url for the functions.  I simply scanned them in instead of manually typing them out:&lt;br&gt;
&lt;a href=&quot;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&quot;&gt;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Fri, 17 Apr 2009 02:36:01 -0400</pubDate>
      <title>Re: Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#643344</link>
      <author>TideMan</author>
      <description>On Apr 17, 3:00=A0am, &quot;Christopher Hart&quot; &amp;lt;char...@hotmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; So I've had little experience with Matlab and I'm finding it difficult to=&lt;br&gt;
&amp;nbsp;plot a 3-d Spherical harmonic wave in polar coordinates. =A0In Mathmatica =&lt;br&gt;
this isn't a difficult thing to do but my lack of experience with Matlab is=&lt;br&gt;
&amp;nbsp;posing as an issue. =A0My Modern Physics instructor would like us to plot =&lt;br&gt;
the following Normalized Spherical Harmonic functions. =A0Any help would be=&lt;br&gt;
&amp;nbsp;appreciated. =A0Please give specific details because I still don=92t know =&lt;br&gt;
many of the commands. =A0Thanks! =A0&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Here is the url for the functions. =A0I simply scanned them in instead of=&lt;br&gt;
&amp;nbsp;manually typing them out:&lt;a href=&quot;http://farm4.static.flickr.com/3361/3447815798_3c=&quot;&gt;http://farm4.static.flickr.com/3361/3447815798_3c=&lt;/a&gt;&lt;br&gt;
2b8b8067.jpg?v=3D0&lt;br&gt;
&lt;br&gt;
I don't understand.&lt;br&gt;
If it's so easy to do in Mathmatica (sic), then why don't you use that&lt;br&gt;
instead of Matlab?&lt;br&gt;
&lt;br&gt;
Unless, of course, your &quot;Modern Physics instructor&quot; wants you to learn&lt;br&gt;
Matlab, using this as an exercise.  If this is the case, then why are&lt;br&gt;
you asking us?  You should do your own homework.</description>
    </item>
    <item>
      <pubDate>Fri, 17 Apr 2009 03:21:01 -0400</pubDate>
      <title>Re: Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#643353</link>
      <author>Christopher Hart</author>
      <description>You're right my instructor is looking to get us familiarized with Matlab.  I&amp;#8217;m horrible with software like this which is why I was looking here for some help because I can&amp;#8217;t figure it out.  I was hoping for a little bit of help but apparently people want to be jerks about asking a question.  I wasn&amp;#8217;t looking for someone to do my homework for me.  I was looking for someone to direct me in the right direction but apparently that&amp;#8217;s too much to ask.  Apparently Tideman you&amp;#8217;re not one who has ever asked for help.  Instead of posting destructive criticism why not just post nothing at all. Jerk!</description>
    </item>
    <item>
      <pubDate>Fri, 17 Apr 2009 03:39:42 -0400</pubDate>
      <title>Re: Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#643355</link>
      <author>TideMan</author>
      <description>On Apr 17, 3:21=A0pm, &quot;Christopher Hart&quot; &amp;lt;char...@hotmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; You're right my instructor is looking to get us familiarized with Matlab.=&lt;br&gt;
&amp;nbsp;=A0I=92m horrible with software like this which is why I was looking here =&lt;br&gt;
for some help because I can=92t figure it out. =A0I was hoping for a little=&lt;br&gt;
&amp;nbsp;bit of help but apparently people want to be jerks about asking a question=&lt;br&gt;
. =A0I wasn=92t looking for someone to do my homework for me. =A0I was look=&lt;br&gt;
ing for someone to direct me in the right direction but apparently that=92s=&lt;br&gt;
&amp;nbsp;too much to ask. =A0Apparently Tideman you=92re not one who has ever asked=&lt;br&gt;
&amp;nbsp;for help. =A0Instead of posting destructive criticism why not just post no=&lt;br&gt;
thing at all. Jerk!&lt;br&gt;
&lt;br&gt;
Oh, I see.  I'm sorry.  I must have misinterpreted this statement of&lt;br&gt;
yours:&lt;br&gt;
&quot;Please give specific details because I still don=92t know many of the&lt;br&gt;
commands.&quot;&lt;br&gt;
If you are just &quot;looking for someone to direct me in the right&lt;br&gt;
direction&quot;, what did you mean by asking for &quot;specific details&quot;?&lt;br&gt;
&lt;br&gt;
But it's Friday afternoon here and I'm feeling generous, so here is a&lt;br&gt;
hint that will direct you in the right direction, as requested: RTFM</description>
    </item>
    <item>
      <pubDate>Fri, 17 Apr 2009 14:24:01 -0400</pubDate>
      <title>Re: Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#643489</link>
      <author>Ken Garrard</author>
      <description>&quot;Christopher Hart&quot; &amp;lt;chart47@hotmail.com&amp;gt; wrote in message &amp;lt;gs7h63$otc$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; So I've had little experience with Matlab and I'm finding it difficult to plot a 3-d Spherical harmonic wave in polar coordinates.  In Mathmatica this isn't a difficult thing to do but my lack of experience with Matlab is posing as an issue.  My Modern Physics instructor would like us to plot the following Normalized Spherical Harmonic functions.  Any help would be appreciated.  Please give specific details because I still don&amp;#8217;t know many of the commands.  Thanks!  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Here is the url for the functions.  I simply scanned them in instead of manually typing them out:&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&quot;&gt;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
One approach to you homework ...&lt;br&gt;
&lt;br&gt;
1) create a grid of elevation and azimuth angles&lt;br&gt;
help meshgrid&lt;br&gt;
&lt;br&gt;
2) calculate the radius of the desired spherical harmonic points over the grid&lt;br&gt;
help legendre&lt;br&gt;
&lt;br&gt;
3) convert elevation, azimuth and radius to Cartesian&lt;br&gt;
help sph2cart&lt;br&gt;
&lt;br&gt;
4) produce a 3D surface plot&lt;br&gt;
help surf&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Ken</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 15:21:02 -0400</pubDate>
      <title>Re: Plotting 3-d functions (Spherical Harmonics)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249199#644041</link>
      <author>Chris </author>
      <description>Thanks Ken I appreciate the help.  It helped alot....&lt;br&gt;
&lt;br&gt;
&quot;Ken Garrard&quot; &amp;lt;ken_garrardAT@ncsuDOT.edu&amp;gt; wrote in message &amp;lt;gsa3e0$79b$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Christopher Hart&quot; &amp;lt;chart47@hotmail.com&amp;gt; wrote in message &amp;lt;gs7h63$otc$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; So I've had little experience with Matlab and I'm finding it difficult to plot a 3-d Spherical harmonic wave in polar coordinates.  In Mathmatica this isn't a difficult thing to do but my lack of experience with Matlab is posing as an issue.  My Modern Physics instructor would like us to plot the following Normalized Spherical Harmonic functions.  Any help would be appreciated.  Please give specific details because I still don&amp;#8217;t know many of the commands.  Thanks!  &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Here is the url for the functions.  I simply scanned them in instead of manually typing them out:&lt;br&gt;
&amp;gt; &amp;gt; &lt;a href=&quot;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&quot;&gt;http://farm4.static.flickr.com/3361/3447815798_3c2b8b8067.jpg?v=0&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; One approach to you homework ...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1) create a grid of elevation and azimuth angles&lt;br&gt;
&amp;gt; help meshgrid&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 2) calculate the radius of the desired spherical harmonic points over the grid&lt;br&gt;
&amp;gt; help legendre&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 3) convert elevation, azimuth and radius to Cartesian&lt;br&gt;
&amp;gt; help sph2cart&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 4) produce a 3D surface plot&lt;br&gt;
&amp;gt; help surf&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ken</description>
    </item>
  </channel>
</rss>

