3
votes
3answers
238 views

How would I plot the volume element in cylindrical coordinates?

I have this graph: But it doesn't have a function so I can't just plugin in a function into wolfram or mathematica to plot it. I have these coordinates to make it however: ...
3
votes
1answer
105 views

Nested NDSolve with WhenEvent: setting up new equations and discarding old ones

I am checking a complex situation where a function x1[t1] only exit in a finite time span, and after this a new function x2[t2] ...
7
votes
2answers
194 views

Union of plotted regions as sum of colors

I wish to plot 2 functions $f$ and $g$ so that the region bounded by $f$ has color $c_f$, the region bounded by $g$ has color $c_g$, and the region bounded by both has color $c_f+c_g$. E.g. $c_f$ is ...
1
vote
1answer
66 views

Use boundaries of one plot for another

I am writing some code in which I combine a ParametricPlot[] with a RegionPlot[]. Mathematica is very good at figuring out ...
10
votes
3answers
158 views

Creating a custom context with a Hold construct

I'm trying to create a function "InContext" to execute a piece of code inside a certain context (and to return the result of evaluating that piece of code). One approach is to place the code inside a ...
4
votes
1answer
134 views

Volume within parameter space

Imagine a parameter space with variable 0<p<1, 0<e1<1/2 and 0<e2<1/2. ...
0
votes
1answer
101 views

arthmetic progression problem series upto 40 terms? [closed]

Find the sum of series 5+7+9+10+13+13+17+16+....., upto 40 terms? Please help i am facing problem while solving this question.i have tried my best to solve this but unable to find the common ...
3
votes
1answer
99 views

Check that a relational expression is true for all complex numbers

How can I use Mathematica to check if a statement like $$\left| \frac{\sqrt{1+2z}-2}{2z-3} \right| \le 1$$ is true for all complex numbers $z$? Also, how can I use Mathematica to check such a ...
4
votes
2answers
167 views

How to insert / merge a list into another list?

Background: I am working on a 2D geometry algorithm where I need to insert a list of 2D points into another list of 2D points. Somewhat to my surprise I found no Mathematica function capable of doing ...
11
votes
3answers
311 views

How can I remove the singleton dimensions of an array? [duplicate]

If I have an array A, for which Dimensions[A] is {9, 9, 1, 1, 3, 4}, how can I convert ...
0
votes
1answer
70 views

Mathematica Error Message using CylindricalPlot3D

I have a full version of Mathematica Home Edition 9 installed on a high end desktop. I'm trying to learn how to use it and keep coming up with an error message that I cannot figure out. I want to ...
5
votes
1answer
188 views

Integration of Two Manipulatable Cylinders

Introduction I created the following code to simulate the many possible interactions between a cylindrical protein crystal and a x-ray beam during serial femtosecond crystallography. ...
0
votes
0answers
45 views

Error plotting delayed expressions [duplicate]

I have defined: Qq[T_] := Exp[-w/(2 T)]/(1 - Exp[-w/T]) Uq[T_] := T^2 D[Log[Qq[T]], T] Can someone explain why this expression work: ...
3
votes
2answers
275 views

Filtering and Replacing outliers

I have a set of data that measurements of temperature vs time (date). It is easy to realize when the sensor went wrong as one might see a blip on the data. How to teach to Mathematica to: 1) Detect ...
6
votes
1answer
176 views

How to reconstruct a missing data point

In the output of a large computer simulation(thousands of cpus for 3 days), I found that one data point is missing in the result. Is it possible to reconstruct the missing value using the remaining ...
4
votes
4answers
101 views

How can I close a stream without knowing its name?

If I initialise a stream as follows OpenWrite["~/example"] How do I close this stream? Close seems to expect a name, but I ...
14
votes
0answers
915 views

Is Mathematica v10 on the Raspberry Pi licensed for classroom use? [closed]

Now that I have v10 running on my Raspberry Pi, I'm interested in what "personal and educational use" means. As a Home user, I fully understand "personal"... but does "educational" mean that I'm free ...
2
votes
0answers
74 views

How do I use Greek characters in the WindowTitle option of CreateWindow?

I am trying to write some exercises in Greek using CreateWindow. My problem is with using Greek characters in the option ...
0
votes
1answer
101 views

Explicit, closed formula for recursive integral as a function of the recursive parameter

This is a follow-up of this question/answer. I'm working on a recursive integral more complicated than the one on the linked question, but this one can be used as an example. I would like to obtain ...
4
votes
1answer
135 views

How can multiple null terminated strings be handled in a DLL-function result?

I am trying to connect a classic System Dynamics tool (Vensim DSS) with Mathematica using a DLL that is included in Vensim DSS. Reading though the instructions on how to define DLL functions on how to ...
6
votes
2answers
113 views

Integrate perfomance

I have a notebook in Mathematica 4. I'm trying to convert it to use in Mathematica 9. One of the problem is the long computation of definite integral in the new version of Mathematica. Here's the ...
5
votes
2answers
148 views

Remove versus ClearAll

What is the difference between Remove and ClearAll? I thought that "not being recognized by Mathematica", which is the effect ...
3
votes
2answers
286 views

How can we multiply nested matrices?

If we have nested matrices, such as: $$ \begin{bmatrix} \begin{bmatrix} a_{1,1} & a_{1,2}\\ a_{2,1} & a_{2,2}\\ \end{bmatrix} \begin{bmatrix} ...
2
votes
2answers
116 views

Interpolating a list with exclusion [closed]

I have a list, data, where the elements data[[i]] range over i from ...
0
votes
1answer
138 views

Plotting continuous functions on integers [closed]

How can one plot a continuous function of the variable $x$, say $f(x)$, but only for integer values of $x=n$ with $n\in\mathbb{N}$ - i.e., as it was a List?
2
votes
1answer
100 views

Plotting the solution of a 2nd order equation

I have got to solve a second order equation, where the coefficient depend on the parameter $k$: $$(A_k - \omega) (D_k- \omega) - B_kC_k = 0$$ so that also the solution $\omega=\omega(k)$ will depend ...
1
vote
0answers
130 views

Plotting basin boundary

How to plot the basin boundary in Mathematica? I have been trying to do this using the system ...
7
votes
1answer
173 views

What is the principle behind Dispatch?

I want to know what Dispatch actually does to rule the list. Why is it so fast? The documentation says Dispatch generates a dispatch table which uses hash ...
0
votes
1answer
110 views

Start animation after choosing of initial values without Animate

I want to simply set some parameters with sliders and click a button to start animation. I know that I can manage this with Animate and Manipulate, but my animation is written like in this post, ...
0
votes
2answers
160 views

Best method to do a List Plot of two series with the same x-Axes [duplicate]

I want to plot two data series with the same $x$-Axes. I can use Show for this purpose, but I don't know if it is the best way, because I've to set all options two ...
1
vote
5answers
169 views

How do I find the maximum value from the given set of data?

I have a set of data like {{x1, y1},{x2, y2}, ...,{xn, yn}}. From this data can I find the value of x for which ...
0
votes
1answer
81 views

Use a pre-computed list instead of RandomInteger

I would like to replace RandomInteger[{1, 10}, {10, 10}] in the following code: ...
2
votes
1answer
78 views

Integrate and ConditionalExpression Output

I am integrating some difficult functions and using the conditional output to place bounds on parameters to ensure integrability, but it seems that not all of the conditions are being returned. The ...
4
votes
3answers
186 views

Multiple output cells

Is it possible to have multiple outputs from a single function? For example: In[1]:= x+1 x+2 Out[1]= 1+x Out[2]= 2+x has multiple outputs, how can I ...
0
votes
1answer
120 views

How to use NyquistPlot without having a transfer function model?

Could anyone tell me how to use NyquistPlot with a first argument that is not a transfer function model? The expression I'd like to pass to ...
3
votes
1answer
201 views

Combine a dynamic module with a manipulation

I would like to combine a dynamic module with a manipulation, whilst maintaining the functionality of both. I have tried things like Show and ...
0
votes
2answers
131 views

How to insert trigonometric functions into matrices' vector components? [closed]

Is it possible to insert a trigonometric function into a matrix which will be able to be used dynamically, as an element of one of the vectors of the matrix? I'm trying to perform an operation like ...
7
votes
5answers
240 views

String replacement question

If you have a string string="<ALK>ene" and I have a list alk={"meth", "eth", "prop", "but", "pent"}, what function ...
6
votes
2answers
144 views

Additive SparseArray Assembly

The goal is to assemble a SparseArray in an additive fashion. Let us assume we have a large List of indices (some will be ...
2
votes
1answer
248 views

How to insert a plot into another overlay plot

I want to insert a plot into another overlay plot. Here is my code: ...
0
votes
2answers
129 views

Conditional Table

I have following : SeedRandom[2] Table[Table[RandomInteger[100, {100, 10}][[r, s]] == x[r + s], {r, 1, 10}], {s,1,10}] How can I set condition inside Tables?Such ...
3
votes
1answer
75 views
44
votes
3answers
2k views

Is Mathematica an Implementation of the Wolfram Language?

I am trying to figure out what the announcement of the Wolfram Language means for Mathematica. Is Mathematica an implementation of the Wolfram Language, or is it something else?
1
vote
1answer
115 views

Partitioning a numerical integral: need to integrate spectra

I am trying to integrate a spectrum I obtained from a fourier transform infrared spectroscopy experiment, in order to determine the global warming potential of green house gases. In order to do this, ...
0
votes
1answer
71 views

A few specific questions on a number of plots in a do loop

I have created the picture displayed below, with the following line of code: ...
-4
votes
1answer
110 views

Programming Multipolar Expansions in Spherical Tensors

We have that a density matrix can be written in a basis of spherical tensors: $\rho =\sum _{K=0}^S\sum_{q=-K}^K \rho _{\text{Kq}}^{(S)} T_{\text{Kq}}^{(S)}$ for example for a 3x3 matrix, $S=1$, ...
1
vote
1answer
113 views

importing large data files with a constraint

As I have learned in this community, one way to import a hefty data files (e.g. millions of rows of {x1, y1} data) if you don't care about the individual elements (maybe just want to obtain some ...
0
votes
0answers
49 views

Symbolic representation of bessel series derivative

I want to get symbolic expression for BesselJ derivative, where BesselJ is represented as series: ...
2
votes
1answer
112 views

How can I plot a picture with this kind of legend?

Can "plotlegend" do that? I cannot find a proper function.
4
votes
1answer
196 views

Computing a series in terms of exponential function

Is there any way to compute the following series in terms of exponential function ? $$\sum_{k=0}^\infty Y_1(k)\;x^k$$ where $$Y_1(k) = \frac{(k - 1)!}{k!}Y_3(k - 1)$$ $$Y_2(k) = \frac{(k - ...

15 30 50 per page