0
votes
0answers
25 views

Visualization of 3D data by Raster3D and Import

I would like to visualize data stored in an external .txt file. The data is a 3D array of real numbers. I would like to visualize the data by using Raster3D function, but I am not sure what is the ...
0
votes
0answers
40 views

How to use a symbol with subscript as a variable? [on hold]

I want to use as a whole variable. E means "Ekman",and y means "y direction", both are in literal meaning, not variables, not functions. So that I can write a equation which are calculable and ...
1
vote
1answer
40 views

How to plot graphs with vertices positioned as spread as possible? [on hold]

The following code, outputs the graph below: graphList = {{1, 2}, {1, 3}, {1, 4}, {2, 5}, {3, 6}, {4, 7}} Graph[UndirectedEdge @@@ graphList] Is there some way ...
1
vote
2answers
388 views

Colorful and eyecandy text by Mathematica

I want to present my work somewhere and thus I made a Powerpoint presentation. I am wondering if it is possible to make a colorful and stylish text by MMA. For example at the end of my presentation I ...
0
votes
0answers
44 views

BarChart3D Graph: why there are color and some lines in the xy yz planes? [on hold]

How to remove these odd lines and color in the background? thanks!
3
votes
0answers
51 views

Monitor progress of ZIP file extraction

Importing a ZIP file containing potentially many individual files in a (custom) format using Import[filename, {{"*"}, "Gaussian"}] takes quite a while. How can I ...
1
vote
1answer
58 views

Transforming a nested list for textual output

Hello I have a data structure based on lists, with items, subitems and subsubitems, and I want to display a textual output with a description. ...
8
votes
2answers
129 views

Add reference letters to multipanel figures

I want to create a multipanel figure like that and so I would like to add a letter "A", "B", etc to each of the panel I've created. I usually first create each panel with the letter and then ...
10
votes
2answers
96 views

Listable functions thread over Associations; is this documented?

Thanks to a somewhat misapplied use of MapThread I learned of this behavior: ...
2
votes
0answers
17 views

Need a recommendation for managing a database link

I want to make a package which needs to have a external database link. But it is hard for me to have an idea about how to manage the database link. I want the link to be connected as long as I use the ...
5
votes
3answers
100 views

How does MapThread work with Associations

According to the documentation, MapThread works on Association objects. But it doesn't seem to evaluate the passed function. For ...
0
votes
0answers
28 views

Tensor product of matrices [on hold]

I want to find an expression 〖 ∑_ij▒〖〖(σ〗_i⊗σ_i)M〗(σ〗_i⊗σ_i) sigma i's are pauli matrices and M is 4x4 matrix.To find this expression is there any program in mathematica?
1
vote
0answers
57 views

Numerical solution to two non-linear coupled differential equations [on hold]

I am trying to solve two differential equations representing the position of an object in space. I have specified arbitrary initial conditions. ...
5
votes
0answers
127 views

Integrate wrong for absolute value of trig function

I was trying to get $\int_0^1 \lvert \cos(2 \pi k x) \rvert \,\mathrm{d}x$ for $k \in \mathbb{Z}$, and was surprised by the result (using Mathematica 10.0.1.0): ...
1
vote
1answer
39 views

Simplify a series expansion including product and multiplication

I have a following expression $$ f=\Pi_{i=1}^n \left[ 1 + \frac{1}{t} +\frac{ (m+i)}{t^2} +\frac{ (m+i)^2}{t^3} + \cdots \right] $$ here $m,n,t$ are positive integers. I want to obtain a series ...
2
votes
1answer
81 views

Getting errors when I try to evaluate code taken from Trott's Mathematica Guidebook for Graphics

I would like to learn how to make high quality images in Mathematica. In my pursuit, I have come across Michael Trott's Mathematica Guidebook for Graphics. I have been trying some of the examples, ...
0
votes
2answers
34 views

How do I generate a list of delayed rules? [duplicate]

I want a list like this: {x :> Print[1], x :> Print[2], x :> Print[3], x :> Print[4], x :> Print[5]} I tried: ...
2
votes
2answers
65 views

Providing wrong answer on integral $\int_{-\frac{2}{3}}^{\frac{2}{3}} \left(\text{Ln}\left(\cos ^4(x)\right)+1\right) \, dx$ [on hold]

I tried to evaluate the following in mathematica $\int_{-\frac{2}{3}}^{\frac{2}{3}}{1+\ln \left( \cos ^{4}\left( x \right) \right)}dx$ and got the answer as $0.91905 - 3.94746*10^{-16} I$. However, ...
0
votes
0answers
37 views

Transforming recursion formulas into a functional form [on hold]

I'm trying to learn what commands Mathematica makes available that allow us to rewrite some formulas that may be in recursive paradigm, and change them to functional paradigm. A reference to a guide, ...
9
votes
2answers
119 views

How to align rotated BarChart labels?

I'd like to use long text labels for a simple BarChart, but when I apply a rotation to label strings with different lengths the end of the text is no longer aligned ...
8
votes
1answer
166 views

Compose many Geometric Transformations for 3D Graphics

I'm struggling to understand what would be a good way to compose several geometrical transformations to create a single TransformationFunction to be applied to a ...
2
votes
3answers
84 views

Can you Plot over some range but apply the “Filling” option over a smaller range? [duplicate]

I would like to shade the area between a function, and a line, but only over a specific range. This range is smaller than the range of the entire plot. The example code and plot below make my goal ...
12
votes
5answers
426 views

How can I evaluate only a single step of a recursive function?

Let's say have a simple recursive function for the Fibonacci sequence f[0] := 1 f[1] := 1 f[n_] := f[n - 1] + f[n - 2] but I want to see how it will expand in a ...
0
votes
0answers
14 views

How does this integration make sense? [migrated]

I simply don't understand how integration can lead from: $ds^2 = a^2(t) \frac{dr^2}{1 - kr^2}$ to $s(r) = \frac{\sin^{-1}(\sqrt{k}r)}{\sqrt{k}}$ I appologize, I've never been quite capable of ...
-2
votes
0answers
46 views

How to achieve this transformation using rules

Here it is: ...
4
votes
1answer
72 views

Using NDSolve to solve a system of coupled PDEs

I am trying to solve the Gross-Neveu model in one dimension for a specific soliton initial condition. I am trying ...
4
votes
2answers
109 views

Display full path of current notebook on title bar?

Is there a setting in Mathematica notebook interface to get the title bar to display the full path to the current notebook?
2
votes
2answers
102 views

How to combine ListPlot and ListPlot3D

Suppose I have a plane drawn by ListPlot3D and I have one intersection of that 3D image drawn by ListPlot. How can I combine ...
7
votes
1answer
69 views

Connecting to Microsoft SQL with version 10

After upgrading to version 10, functions relying on a connection to a Microsoft SQL database no longer work. When I attempt to open a connection with something like: ...
4
votes
2answers
68 views

Upload a file using a WolframCloud WebForm

I tried to create a Webform in WolframCloud that asks/browses for a file and then uploads it to a specific folder. The following are the directions I investigated but it does not work: ...
1
vote
1answer
54 views

Equivalent command to the Maple indets command

This carries on the discussion here and here. I had mistaken Variable[] to give you ALL variables in an expression, but apparently, it is not meant for that. ...
1
vote
0answers
34 views

Creating a matrix from a list of simultaneous equations

I have a list of n simultaneous equations of the form, w A[n] = (K[n,n+1]+K[n-1,n])A[n] - K[n,n+1]A[n+1] - K[n-1,n]A[n-1] ...
3
votes
4answers
64 views

Pattern for finding matches that are different [duplicate]

I am trying to solve the following problem. I have tuples of size 3 {{a, b, c}, {a, b, c}, {a, b, c}} I would like to find cases where all the elements in a ...
2
votes
0answers
43 views

Automating constructor definitions (OptionValue eval time)? [duplicate]

I'm settling in on a programming pattern for "constructors." I can illustrate the pattern with the following example, which defines a constructor newBar for ...
4
votes
2answers
83 views

2D smoothing spline interpolation

Does Mathematica have 2D smoothing spline interpolation built in? I requires an interpolation method with smooth first derivatives and cubic bivariate splines fulfill this nicely. In python I would ...
5
votes
2answers
150 views

Simplifying general solutions of differential equations (driven harmonic oscillator)

Solving general differential equations in Mathematica usually leads to somewhat unsightly results. As an example, consider the solution of the driven, damped harmonic oscillator: ...
3
votes
1answer
87 views

How can I connect the local minimum-value points between a series of curves by dotted lines?

I have a set of data obtained by NDSolve. After I plot it, I want to indicate some feature of the curves. For example, I want to link the local minimum-value points between these curves by dotted line ...
1
vote
2answers
64 views

Using expressions in Text

I want to use Text to add some labels to a graph and was wondering if it is possible to use expressions inside Text? Here is a MWE of what I am trying. ...
0
votes
1answer
32 views

Subsitute symbolic function

I have a have two functions, two recurrance function $x(k+1) = A x(k) + B \tilde{u}(k)$ and $\tilde{u}(k) = (I - \Gamma)\tilde{u}(k-1) + \Gamma u(k)$ Which I have defined as the ...
15
votes
1answer
150 views

Total much slower in version 10

Compilation nowadays may give very fast functions. Here is an example for finding the sum of a list of machine numbers, just as the built-in function Total: ...
3
votes
1answer
106 views

How to remove recursion, and write it functional and efficient way?

I wish to implement the following recursion efficiently. ...
2
votes
3answers
59 views

Conditional replace of a column

Im trying to replace the value in the Nth column of a list if a condition is true, returning the modified list. I've tried modifying the answer from 61219 and been through most of related questions ...
1
vote
2answers
110 views

Difference between double quotes

I have a notebook and I enter something like PlotLabel->"my label with dynamic number "<>ToString[strange] and I get errors like However, the double ...
0
votes
1answer
70 views

Find extreme values in a polynomial expression

I have been hunting down and could not find an answer to my question. As I've now been struggling for quite a while and believe it is a simple trick that's preventing me from getting over this ...
0
votes
1answer
51 views

What does this Append expression do? [closed]

I have to understand some code. A part of it is written below. Can someone explain to me what it does: ...
6
votes
3answers
160 views

Help recreating a gif

For my math class I am trying to recreate a mathematical gif. Here is the gif I wish to make, http://www.wired.com/wp-content/uploads/2014/09/hexwave.gif. At this point I think I have a 3D function ...
1
vote
1answer
51 views

Cluster a time series by labels

I have a time series, tab delimited dataset with the following format ...
9
votes
2answers
313 views

How to calculate position from 3 dimensional acceleration data?

I discussed this problem yesterday with Pickett here. We concluded that the best solution may be just Interpolate and then ...
0
votes
0answers
35 views

RSolve: simple 2-variable recurrence

I have a simple recurrence: RSolve[{b[n, k] == b[n - 1, k - 1] + b[n - 1, k]}, b[n, k], {n, k}] But Mathematica cannot handle it, why? When I try to give initial ...

15 30 50 per page