Wolfram Mathematica

Welcome! This is the main Mathematica chat room for mathematic...
Oct 24, 2015 01:05
@JacobAkkerboom Thanks a lot Jacob!
Oct 23, 2015 18:44
Sorry to bother you again guys. Is there a way to prevent TreeForm from displaying the last element of every branch?
Oct 23, 2015 17:41
@JacobAkkerboom Trough out the years, I've become a master in providing examples :P
Oct 23, 2015 17:29
@JacobAkkerboom I know. I guess is the classic XY problem. I have the list {a1,{b1,b2,{c1,c2,c3}}} and I'd like to view it as a tree. I've tried TreeForm but it displays all the headers.
Oct 23, 2015 17:25
@JacobAkkerboom Thank you!
Oct 23, 2015 17:10
Hello guys. I have a quick question: if I have a list like {a1,{b1,b2,{c1,c2,c3}}}, how do I convert it to a1[b1,b2[c1,c2,c3]]]?
Mar 6, 2015 17:54
Hello guys. I have a quick question regarding graphicsgrid. Is there a way to put labels to hole rows?, i.e.
                  label 1
     xxxx   xxxx   xxxx   xxxx
                  label 2
     xxxx   xxxx   xxxx   xxxx
Nov 27, 2014 14:51
I've found it. CopyToClipboard does the job. Thanks anyway.
Nov 27, 2014 14:45
Hello guys, I have a quick simple question:

Is there a way to automatically "Copy As -> Plain Text" an output, without the hassle of mouse clicking?
Jun 26, 2014 00:39
@Szabolcs He. I guess I rely on the built in search too much. Thanks for the help :)
Jun 26, 2014 00:37
@Szabolcs I did try to find a question. I guess I wasn't using the right keywords.
Jun 26, 2014 00:23
Hello guys. I have a quick stupid question. Suppose I have an ArrayPlot and I want to show the value of a particular square while hoovering it. I've tried to use Tooltip to no avail.
May 6, 2014 02:04
Thank you!
May 6, 2014 02:04
@Rojo It works great :)
May 6, 2014 01:36
Here's an example:
       data = {{{0, 3.94221, -90.0695}, {1, 6}}, {{0, 12.4063, -97.2276},
           {1, 24}}, {{0, 15.7376, -73.848}, {1, 25}}, {{0, 19.531, -100.596},
           {1,2}}, {{0, 23.252, -86.3221}, {1, 17}}}
May 6, 2014 01:32
Hello guys, I was wondering if someone could help me with a little problem I'm having: I have a set of data in the form
     data = {{{x1,y1,z1},{idx11,idx12}},{{x2,y2,z2},{idx21,idx22}},{{x3,y3,z3},
          {idx31,idx32}}, ... }
And I need to do a `ListPointPlot3D` of the coordinate points {{x1,y1,z1},{x2,y2,z2},...} with a `Tooltip` that displays {idx11,idx12} etc, when I'm over the respective point. To do so I enter
     `ListPointPlot3D[Tooltip@@@data]`
only to find that although `Tooltip` is working as expected, `ListPointPlot3D` is unable to plot the data. Any suggestions?
Apr 23, 2014 19:19
@halirutan I'm not allowed to go outside the data set. Think of it as some sort of irregular latice. The actual problem is this
Apr 23, 2014 19:17
@MichaelHale Thank you very much!
Apr 23, 2014 19:15
@halirutan Indeed
Apr 23, 2014 19:14
@halirutan I don't need to visit all the points in the set :)
Apr 23, 2014 19:12
That's very nice!
Apr 23, 2014 19:12
@MichaelHale I see. Let me see if I folow:
1. First you build the distance function of the data set,
2. Next you build the edges using `UnidirectedEdge`, which as far as I can tell means that no direction is given to the edge.
3. Build the graph with weighted edges using their euclidean distance.
4. Find the shortest path.
Apr 23, 2014 18:54
Classic XY question, ja.
Apr 23, 2014 18:53
@MichaelHale I need to build a path in the data set that connects one point to the other.
Apr 23, 2014 18:51
@MichaelHale You are rigth! I haven't been clear enough. I guess in terms of graphs, one vertex can only be connected to it's nearest neighbor (speaking in euclidean distance terms)
Apr 23, 2014 18:45
@MichaelHale I've been using NestList in combination with Nearest and NearestFunction, but I cant seem to prevent the path from going backwards. I'm a bit confused on how to enforce this condition.
Apr 23, 2014 18:41
@MichaelHale There are around 4600 points. I should calculate all distances then and turn the data into a graph?
Apr 23, 2014 18:28
I've been using Nearest and NearestFunction in a rather tricky way.
Apr 23, 2014 18:27
Hello guys, I have a quick question which might been already asked but I can't seem to find: Is there a quick way to find the shortest path between to points in a data set? I've seen FindShortestPath but I don't know if (and how) it can be used for a data set.
 
Dec 2, 2014 00:28
Hello guys. I have a quick question. Is there a simple way to remove all margin note spacing and giving it to text width in memoir class?
 
Nov 25, 2013 20:37
See you around then. A good book for reference is Churchill and Brown's Fourier Series and Boundary Value Probelms
Nov 25, 2013 20:35
;)
Nov 25, 2013 20:35
No problem. I'll edit my answer for further reference :)
Nov 25, 2013 20:33
yes
Nov 25, 2013 20:31
for each $\mu$, there are infinitely many $C$'s
Nov 25, 2013 20:28
so, the auxiliary equation would be $$C = \frac{Y_{\sqrt{\mu} n }}{R}, \qquad \text{where } Y_{\sqrt{\mu} n} \text{ is a zero of } J_\sqrt{\mu}$$
Nov 25, 2013 20:27
not just one
Nov 25, 2013 20:27
the thing is that you have infinitely many zeros
Nov 25, 2013 20:26
exactly
Nov 25, 2013 20:26
this is done by typing C = \frac{Y_{\sqrt{\mu}}}{R}
Nov 25, 2013 20:26
I'm guessing you are trying to write $$C = \frac{Y_{\sqrt{\mu}}}{R}$$
Nov 25, 2013 20:23
that is the relationship you are looking for
Nov 25, 2013 20:22
so, $f(R) = 0$ means $$C = \frac{\text{zero of } J_\sqrt{\mu}}{R}$$
Nov 25, 2013 20:21
ok?
Nov 25, 2013 20:21
then $$f(r) = c_1 J_\sqrt{\mu} (C r)$$
Nov 25, 2013 20:20
with $|f(0)| < M$ and $f(R) = 0$
Nov 25, 2013 20:20
we know $$r^2 f''(r) + r f'(r) + (C^2 r^2 - \mu)f(r) = 0$$
Nov 25, 2013 20:19
suppose we don't know the bc's for $g$
Nov 25, 2013 20:18
is as if we should started the other way around
Nov 25, 2013 20:18
yes