All Questions

3
votes
1answer
79 views

Solving simultaneous systems of linear equations

I have several systems of linear equations in matrix form, and I would like to find the $\vec{x}$ that simultaneously solves them: $$A_1\vec{x} = b_1$$ $$\vdots$$ $$A_n\vec{x} = b_n$$ Is there a ...
0
votes
1answer
53 views

FindMinimum runs out of Memory

I have a function (its rather long, but does not matter) which when evaluated (1000s of times) runs fine. However, when I try to find its optimal parameters using ...
-1
votes
1answer
64 views

C# Tree view similar

Is it possible in Mathematica to add a GUI like the Tree GUI element in Visual Studio 2010 C# Windows Forms? I want to have the similar feel
0
votes
1answer
73 views

Modelling the double pendulum using NDSolve

I have put in the two differential equations that govern the motion of the double pendulum into NDSolve, but according to Mathematica, the "input is not an ordinary ...
16
votes
3answers
750 views

Is it possible to draw really thin lines in Mathematica?

I want to have in Mathematica the same result I have in Python: I have this nice effect simply by using very thin lines. But it seems in Mathematica thickness property has some limit and i just got ...
0
votes
0answers
33 views

Trying to rotate a graphic over a field of parallel lines

I have a 10x10 grid of unit squares (picture a partial coordinate grid bounded by (0,0) and (10,10)) given by ...
1
vote
1answer
46 views

How to abort silently?

I want to Abort[] an evaluation without generating this message: $Aborted Is there a way to do this? This messages modifies my notebook, and I don't want this to ...
1
vote
1answer
85 views

How to plot curves in ternary plot (triangular plot) [duplicate]

I need to plot the following curve in a triangular (ternary) plot: $$|x_{BB}-x_{AA}|=(\sigma_c-2x_{AB}+1)^{\gamma}, \qquad (1)$$ subjected to the condition (this condition must satisfy for a ternary ...
0
votes
1answer
62 views

Simplify returns wrong result [duplicate]

For some particular reason, Mathematica makes wrong calculations when using Simplify[]. I need Simplify[] for a fractional decomposition of some fractions of low-order polynomicals. Here is a ...
0
votes
3answers
66 views

Splitting a list of lists

What would be a nice way to split the list list = {1,2,3,{a,b,c},4} into {{1,2,3,a,4},{1,2,3,b,4},{1,2,3,c,4}}
0
votes
0answers
54 views

How to differentiate a function? [on hold]

I have two tables ax={6371.1,6371.59,6372.06...} ay={0,10.9975,21.9958...} with: data=Transpose@{x,y} ListPlot[data] which result in the following graphic: How can I differentiate the ...
0
votes
0answers
34 views

Replace Exp by Sinh and Cosh [on hold]

I am solving a differential equation using DSolve eqn = a v''''[x] - b v[x] == c sol = DSolve[eqn, v[x], x] ...
1
vote
1answer
51 views

working with notebooks ('looping' a notebook and storing the results of each step in another notebook)

A notebook contains a series of numerical calculations (numerical integrations, numerical solution of systems of equations etc). Many parameters are involved. The final result is in the form of a ...
0
votes
0answers
24 views

Can anyone help me deduce a matrix inequality? [on hold]

The following lemma is taken from references firstly. Lemma 1 [1-2] Given matrices $Q=Q^{T} , F, M$ and $N$ of appropriate dimensions, then $$Q+MFN+N^{T}F^{T}M^{T}<0$$ for all $F$ satisfying ...
5
votes
5answers
501 views

How to check if a line segment intersects with a polygon?

The naive method is to bisect the line segment iteratively as asked here, and then check the bisection points using How to check if a 2D point is in a polygon?. Would there be an other way? I'm ...
3
votes
1answer
63 views

Gridbox alignment problem

I write my own stylesheet. I use GridBox and GridBoxOption to edit the environment of EquationNumbered, in which, I set ...
2
votes
1answer
41 views

How can I drop the “belongs to integers” part from Reduce output?

I have this Mathematica line: Reduce[1/(E^0)^x + 1/(E^1)^x + 1/(E^3)^x == 0, x] that gives the output: ...
0
votes
2answers
44 views

File Handling. How to save the progress in a file?

Assuming I already have the file created. I have a programme that,returns an output, in our case number. I want Mathematica to save this number in a file, together with results saved from previous ...
0
votes
0answers
17 views

Different color for plots inside manipulate object [duplicate]

I want to plot two functions in the same plot (meand and approxmean) with a different color. When I place the plot commands outside of the manipulate and grid region they are colored differently but ...
4
votes
1answer
65 views

Mathematica learning resource dealing with bayesian inference

Is there any good resource dealing with both Mathematica and bayesian inference?
1
vote
2answers
53 views

Set Options on a system function has effect on all notebooks

I have a Notebook A with default context: "Unique to this Notebook". In there I set an option: SetOptions[Interpolation, InterpolationOrder -> 1] This has ...
0
votes
1answer
59 views

ReadList can't read “.csv” data with correct line number?

Well, the problem was solved today. Since "testAll.csv" is generated by Java/Eclipse, and I noticed that the LineSeperator is ...
6
votes
0answers
172 views

Minesweeper beta:How to Dynamic a lot of graphics with high-speed

Recently I want to write a game,Minesweeper.Here is my completed code. ...
3
votes
1answer
44 views

Edge Labels with distance between vertices

I am trying to make traveling salesman type graph using the locations of NFL stadiums as the vertices. I need to get the EdgeLabels to appear was the distance between the vertices. I was able to ...
0
votes
1answer
49 views

timing series algorithm [on hold]

If we have a timing series t1,t2,t3.... and every timing point means an event. A time interval T is given. Once T is given, how to calculate the maximum event number happening in T? case A ...
0
votes
1answer
43 views

I want to import a .csv to Mathematica but when I do that the decimal are denoted by “,”. What can I do? I need points [duplicate]

Import["C:\Users\Maria Del Mar\Desktop\LECCIÓN\masa a.csv", "table", FieldSeparators -> ";"] // TableForm
2
votes
1answer
44 views

Finding maximum value with LinearProgramming command

So here is a HW problem I was assigned: *Thriftem Bank is in the process of devising a loan policy that involves a maximum of $12 million. The following table provides the pertinent data about ...
0
votes
0answers
34 views

Export “Print” command to text file

I am trying to create a text file with specific information in exact locations. This is my code: ...
1
vote
0answers
65 views

Where can I learn to use mathematica comprehensively? [duplicate]

I've heard great things about all the wonders and capabilities of mathematica. I've had the software for sometime now, but all I know how to do are simple calculations and stuff shown in the hands on ...
0
votes
0answers
31 views

Specify Frame pixel size in images [on hold]

I was wondering if there is a way to specify the Frame size of an image as opposed to using ImageSize? The issue is that we have several images we would like to ...
0
votes
0answers
37 views
0
votes
1answer
84 views
0
votes
0answers
32 views

NonlinearModelFit indeterminate or not a list of real numbers

I'm trying to fit my data using NonlinearModelFit but keep getting errors that I don't quite understand how to correct ...
3
votes
2answers
127 views

How can I best plot timestamps by frequency-to-date?

I have a site called Sudomemo. I record when I first see a user in the database; and I've exported it in JSON format, located here. http://www.sudomemo.net/statistics/firstSeenDump.php I've done ...
1
vote
1answer
97 views

Why does LyapunovSolve solve non-standard form?

LyapunovSolve[A,Q] solves the equation $A P + P A^T = Q$ for $P$ whereas the standard form (wikipedia,lecture notes, p.25, linear control systems) of the Lyapunov ...
1
vote
0answers
22 views

How edit stylesheet to change automatic numbering of Reference type to numeric, not alphabetic?

I applied the stylesheet JournalArticle to a notebook. When I use the Reference cell style there, it automatically inserts "A.", "B.", etc., to number the cells. What exactly should one do ...
4
votes
3answers
346 views

Camel hump string split

Given System names of 2 or more characters: systemNames = Names["System`*"] // Select[StringLength[#] > 1 &] ; Is ...
5
votes
2answers
93 views

Visualizing subgraphs while specifying the locations of vertexes

I would like to visualize separate connected components of a graph defined by data points lying in the two-dimensional plane by surrounding each connected component subgraph by a bounding curve. I ...
3
votes
1answer
64 views

System of differential equations on a directed graph

I want to use Mathematica to model blood flow through a capillary network. The approach we are using is going to be to create a directed graph, and have a system of differential equations at each ...
1
vote
0answers
24 views

Upvalues and order of interpretation

I'm trying to use UpValues to improve the usability of some code, but I am running into an issue where the order of the UpValues is important, and I am not sure if it is my understanding or a ...
0
votes
0answers
62 views

How to disable multiple document interface (MDI) in Mathematica 10?

I want that there was no window-in-window interface. How to disable it?
0
votes
0answers
38 views

Generalized method of moments (GMM) estimation in Mathematica

As I was trying to get more help on implementing Generalized method of moments (GMM) estimation in Mathematica, I came across: Mark Fisher's Mathematica packages and notebooks If you have any useful ...
0
votes
1answer
42 views

Strange wiggles on the surface of a ParametricPlot3D

I'm trying to plot two cones but when I try to display them, Mathematica (10) makes the edges wiggly. My code is: ...
1
vote
1answer
30 views

Generate Degeneracies in List [duplicate]

I have a list with n entries and I would like to duplicate this list p times. In my case because of the Degeneracy of my Eigenvalues. For example I have {3,2,1} and it is five-fold-degenerate so that ...
1
vote
3answers
110 views
+100

Developing a function of two variables from given data

Cross listed from MSE: http://math.stackexchange.com/questions/1029399/developing-a-function-of-two-variables-from-given-data (I believe Mathematica SE is an appropriate place to ask this, as well.) ...
6
votes
2answers
132 views

How to define a nested function like this?

For example, I want to calculate the limit of $\frac{1}{1+\frac{2}{1+\frac{3}{1+\ldots}}}$. So I want to define: $f(1)=1$ $f(2)=\frac{1}{1+2}$ $f(3)=\frac{1}{1+\frac{2}{1+3}}$ Then I calculate ...
1
vote
1answer
36 views

How to exclude a region from ParametricPlot

Suppose I have functions f[x] and g[x] which are defined in the region 0 ≤ x ≤ 1 and ...
8
votes
5answers
387 views

How to subtract one list from another, treating each elements as distinct?

Suppose that I have a = {"A", "A", "A", "B", "B", "C"} b = {"A", "B"} How can I subtract b from ...
1
vote
1answer
39 views

Table for 3D list plot

I have a function which is defined with an integral and a sum, in other words, its numerical, so i want to make a table (nxm) with the following entries: ...
0
votes
0answers
34 views

Writing a script in Mathematica like .m files of Matlab [on hold]

I'm new to Mathematica, and coming with a Matlab background. It looks for me that the notebook files in Mathematica works like if Im working in thw workspace of matlab. That is, I have to write a line ...

15 30 50 per page