All Questions

0answers
7 views

Extract data from NDSolveValue result

Okay this is a very newbie question. I have coded a sample problem that solves the heat diffusion equation on an annulus. Here's what I have: ...
0answers
13 views

Mathieu function periodicity problem

According to the documentation, the Mathieu characteristic function generates parameter a: The characteristic value Subscript[a, r] gives the value of the parameter a in y′′+(a-2q cos(2z))y=0 ...
1answer
14 views

Select a Placeholder in a Notebook?

How might I select the 1st Placeholder in a Notebook? SelectionMove Has no option. ...
0answers
8 views

Placeholder not working in Notebook

The Placeholder option is not working in the following example. ...
0answers
27 views

Solving a system of nonlinear equations: exponential steady-state growth framework with discrete time

I have a system of nonlinear equations in a discrete time setting; variables grow at the same steady-state rate, say, $g$. I use the notations as follows: Variable $X$ at time $t$ is denoted by ...
1answer
35 views

Eliminate 3 Variable from 4 Equations

I am trying to use Mathematica to Eliminate 3 following variable from 4 equations. Any clue or link to similar solved problem is highly appreciated: ...
1answer
32 views

How to find a recurrence relation for a sequence?

I have a sequence given by an explicit formula for n-th term: ...
0answers
18 views

Keyboard Shortcut several Keys

I would like to set up a system (or define a keyboard shortcut) so when you type the following sum I have the following print at the current selection. ...
1answer
55 views

Manipulate Parametric Plot [on hold]

Is it possible to plot the values of x and y in Mathematica? ...
1answer
122 views

Coloring edges of a graph according to their weight?

What's the simplest way to plot a graph with weighted edges, such that the color of the edge corresponds to the weight of the edge?
2answers
153 views

How can I construct and visualize a hypergraph?

A hypergraph is a generalization of a graph, in which an edge can connect more than two vertices. Thus you can think of an edge in an hypergraph as a subset of nodes. Since version 8, Mathematica has ...
2answers
49 views

Behavior of Commonest when there is an even split between the elements of the list it is given

How can I alter Commonest so that, when I give it an input of four zeroes and ones such as $\{0,1,1,0\}$, which has an even split in its elements, it returns the ...
2answers
98 views

interpolating function over dates

I've got a bunch of readings at various dates and times. I'd like to be able to interpolate and then integrate over, say days. I can do this by converting my date/time to ...
3answers
98 views

How to Nest a Function with three Arguments?

I have two functions with three arguments $f_x(a,b,t)$ and $f_y(a,b,t)$. And i need a nesting like this ...
0answers
26 views

1answer
54 views

How to include a parameter in ListPlot

How can I include in my following ListPlot command that I want theta to have the values 0, 22.5, 45, 67.5 and 90? ...
2answers
227 views

FEM: Nicer Element Shape for Spherical Region

I'm trying to generate a mesh for later use in the Finite Element Method of the DSolve command. It is basically a parallelepiped with a spherical indentation. I'm ...
1answer
34 views

Difference in output from R's mvtnorm and Mathematica/Java

Let a=$\mathcal{N}(6.532056,0.06532056)$,b~$\mathcal{N}(8.390961,0.08390961)$ and c~$\mathcal{N}(8.736566,0.08736566)$. We use $\mathcal{N}(\mu,\sigma^2)$ notation unless specified otherwise. We ...
1answer
41 views

Inactive derivative: extract constants

I have a problem with an unevaluated derivative. In the example code below, i need the integration wrt to y be evaluated, while the differentation wrt x needs to stay unevaluated. I see the point that ...
0answers
67 views

Segmentation of sunspots

I recently went for a walk with my camera and snapped a few pictures of the sun. The pictures didn't turn out too well, but this was to be expected without a telescope. I thought it might be a nice ...
1answer
71 views

How to create an irregular pulse train? [on hold]

I was wondering if anybody knows how to create a pulse train which gives audible clicks at irregularly spaced time intervals, i.e., a time rather than a frequency domain model. A friend wrote a Matlab ...
3answers
93 views

Dynamic ListLinePlot

I have a list of lists looking like this: {{{x1, y1}, {x2, y2}}, {x1, y1},...}}. Furthermore I have defined a legend, which is taken from the filenames. Now I want ...
0answers
42 views

What is the status of ::Usage and Templates in Mathematica v10?

In Mathematica 9, a number of issues concerning the ::Usage and templates were raised. In 9.0, there was a bug first reported here and better diagnosed here, where ...
0answers
31 views

Transforming parametric representation of coordinates into cartesian coordinate system

Is it possible in Wolfram Mathematica to transform output of BSplineFunction so it returns results in cartesian coordinates not in parametric representation?
0answers
23 views

kernel stops evaluation, clears variables

I am using the new Mathematica 10 student edition. As I am evaluating a table of integrals and calling NIntegrate repeatedly, the evaluation stops without error and the kernel clears all variables. ...
2answers
261 views

How to get $x$ in terms of $y$ and $w$ from $w = a p x^{p-1} \left(a x^p+b y^p\right)^{\frac{1}{p}-1}$

I'm having trouble to solve the following equation for $x$ both manually and in Mathematica: $\quad \quad w = a p x^{p-1} \left(a x^p+b y^p\right)^{\frac{1}{p}-1}$ In Mathematica notation: ...
5answers
692 views

How to blend two photos in Mathematica?

The following two photographs forest and tiger were blended into one with screen blending mode in Photoshop. How to accomplish the same result in Mathematica? ...
3answers
136 views

Breaking up combined data into several smaller data sets

I have one combined data with first number as the x-value and the remaining as different y-axis values (y1,y2,y3...). How do I break this combined list, data= (x,y1,y2,y3...) into smaller lists, such ...
1answer
103 views

FindClusters giving wrong groupings

I am having trouble getting FindClusters to find the right clustering for this set of data (and many other sets of data similar to it): ...
1answer
53 views

I can't Plot the equation -(π/4) + x - 1/2 Sin[2 x] == 0 [on hold]

I'm starting with Mathematica and I can't solve numerically the equation -(π/4) + x - 1/2 Sin[2*x] == 0 using NSolve as well ...
1answer
143 views

How to find this limit correctly?

How to find the limit Limit[n*Sin[2*Pi*Exp[1]*n!], n -> Infinity] ? Mathematica 10 outputs ...
0answers
56 views

Solving system of 9 differential equations with Im & Re parts

I tried to solve a system of nine differential equations. Actually, I tried to do it in two ways, and both of them give me the same error: NDSolve::pdord: Some of the functions have zero ...
1answer
45 views

What's the difference between this differentiation? [on hold]

I've tried to evaluate a sum and get a result in terms of Zeta function. And I have results in two forms: ...
1answer
42 views

Implementing local variables of a recursive function with either Module or Block

First, some quick background: I have been eagerly learning Wolfram and Mathematica for two months now, and along the way have written about 250 pages of teaching material that has ballooned into a ...
1answer
50 views

Parallelizing sparse array construction

I have a very large sparse array, and the computation of individual matrix elements is fairly expensive. The Matrix is Hermitian and traceless, so I would like to construct only the sub-diagonal ...
1answer
129 views

Driven simple harmonic oscillator — amplitude of steady state motion

I am (partly as an exercise to understand Mathematica) trying to model the response of a damped simple harmonic oscillator to a sinusoidal driving force. I can solve the differential equation with ...
1answer
41 views

NonlinearStateSpaceModel: Trying to parse the documentation

I am trying to follow the documentation on NonlinearStateSpaceModel here, and the first basic example throws me for a loop. It says it's defining the nonlinear ...
0answers
47 views

Symbolically solving a system of nonlinear equations

I am trying to solve the following system of equations and did the following ...
0answers
60 views

In my code: ...
1answer
74 views

Find the solution of A^2+AB+B^2 = f(a,b,c) [on hold]

I wanted to ask the following question: I need to find the solutions (a particular one is enough!) A and B of the equation $A^2 + AB + B^2 = (a^2+ab+b^2)(c^2+cd+c^2)$ How can I do it? Thank ...
0answers
36 views

Suggested Settings for Mathematica over X11/SSH Tunnel

I am happy to discover that I can run a Mathematica session tunneled over SSH. However, as expected for X11 applications over the network, Mathematica's GUI does not have the responsiveness that I ...
1answer
64 views

Add to the last digit a number

I have data from a Multimeter that has a precision of 0.6%rdg+4dgt. So i want to take the last digit of, say, 12.007 and add 4 to the last digit like ...
2answers
187 views

Is there a bug in the Part function of Mathematica 10?

I am using Mathematica 10 now. I typed code below {{1, 2}, {2, 4}, {3, 6}, {4, 8}}[[;; , 1]][[1]] and this gives result 1 ...
2answers
177 views

Order of eigenvectors [duplicate]

I have a matrix A = {{5, 4, 2}, {4, 5, 2}, {2, 2, 2}} The eigenvalues are 1, 1, 10 and I need to find the eigenvectors. ...
1answer
106 views

Understanding Paste and how to get a string from the Clipboard to use with ImportString

Trying to work on this question I got distracted by my first naive attempt of copying the data and then typing dat = ImportString[Paste[], "Table"] ...
3answers
114 views

Importing High Precision (22 digits) data from a file

I want to import list from a file and I am using ReadList but my data is in format like this 8.2457409790900004e+08 but it i being imported like $8.24574*10^8$. Is ...

15 30 50 per page