# All Questions

44 views

### Solution To Nonlinear System [closed]

I have a solution for the following from Matlab's symbolic engine, but it is extremely long and ugly and will divide by zero if the coordinate system is oriented a certain way. I am hoping that ...
96 views

38 views

### Solving a single equation with multiple parameters

If I wanted to solve equations like Cos[x]^2 = A Cos[Bx + C] + D what function should I use? The Solve function seems to only solve for as many variables as there are equations. Please note that my ...
24 views

### JacobiCN inaccuracy

For my calculations I need JacobiCN[s,k] for s near 0 from the left and k near 1 from the ...
48 views

### Can you help me to use MANIPULATE? [closed]

I don´t like this kind of questions, but... I can´t reach a good solution, so... I say "HELP"... If you close my post... I understand... and I say "Excuse me, I know that this is no pretty" I have ...
75 views

### Showing ListLogPlot and redrawing FrameTicks

I want to combine two ListLogPlot plots. For example ...
38 views

### Connecting to a SQL Server Instance

What is the syntax for connecting to a specific instance of a sql server database? Here's my code: ...
38 views

### How should I use precision in this code?

I am writing a mathematica code where I have 19 parameters (m,EX1,DX1 and so on). To begin with a specific guess value is assigned to each parameter that I am updating within the loop. Now I am ...
33 views

### How do I keep my Animate running at high resolution?

I'm building an Animate where I have a 3D plot with some of its parameters changing: ...
66 views

### MANIpulate. How to put labels and fit 24 vslides in a row? [closed]

How could I fit 24 vertical slides in a row?, in the up and How to add any reference like 0 and 8 ? and how to add 2 options boxes in the right under the vslides (or to the right of vlides??? What ...
34 views

### Fitting data involving units

I want to fit some data to a model. However, if the data involves units in the independent variable, fitting seems not to work. As an example, consider the code ...
28 views

### Generate array of every $n^{th}$ integer between two bounds [closed]

I want to generate the series {1930, 1934, 1938, ..., 2014} with Mathematica. I found that I can use Sum[2014-m*4, {m, 20}] to ...
72 views

### Equivalence under common permutations

I have lists which consists of sublists of equal length. The outer list is regarded as a multiset (that is, permutations of the sublists don't matter, but repetitions do), but the order in the ...
142 views

### Running a shell script within Mathematica

The title pretty much explains it and I have not found something similar already posted. Perhaps I am not searching for the correct title or maybe this is something very basic, but I would appreciate ...
49 views

### Putting a plot legend in the plot [closed]

I use the code below to put plot legends in the plot: ...
56 views

### Extract random points from a 3D manifold [closed]

Could anyone help me with this problem? I have a 3D manifold given by $$1<d<b<c,\;\;b+d<c,\;\;b+2d>c.$$ My goal is to find a lot of points belong to it.
60 views

### Mathematica does not respect tensor order?

I'm trying to verify an identity involving symmetric traceless tensors over the reals. What I tried was: ...
66 views

### Interpolation impossible for ListPlot with Missing?

I have a list of data to plot. I would like to plot them with lines but delete some data before plotting and leave the lines disconnected where data is deleted. For example, ...
91 views

### Name scope confusion

Sorry for the too ambiguous title. First consider a following code snippet. ...
18 views

### NMaximize not satisfying binary constraint

I'm solving an optimization problem in Mathematica with binary integer constraints. It works alright with other constraints. But the only problem is that both NMaximize and NArgMax are not treating ...
40 views

### Country borders and grids with CountryData plot?

I am coloring several countries in the manner of the following: ...
3k views

I'm new to Mathematica, I've been learning by myself, and, being a Java developer for some time, it makes it hard to adapt. I've tried to solve a Reddit challenge, and I came up with this solution: ...
54 views

### marking the points of x-intercept on a plot

OK, I have a nice plot of some oscillating motion. I can read some stuff off the graph, but I thought it would be cool to show a dot where the curve hits the x-axis and a little label showing the ...
38 views

### How to plot stacked curves with sharing the horizontal axis [duplicate]

How to plot the curves in the image.
35 views

### How do assign an interval of values to a variable in order to use them in a function?

From my code (below) I have K1 and K2 set to zero in order to test this numerical method. However, K1 is on an interval from 0 to 32, and K2 is on an interval from 0 to 8. I would like to know if ...
39 views

### Mathematica: Extract the piece that contains x=0 from within a piecewise function

In mathematica, I have a piecewise function similar to: Piecewise[{ {x^2 + 2*x - 4, 0 <= x <= 1/4}, {0, true} }] I don't ...
59 views

### RLink Java(TM) platform has stop working

I am trying to send to R a big function,it has only three variables but output is quite big.So when i "translate" that code from mathematica to look like R code and input it in REvaluate i get the ...
187 views

### Graphics in Notebook Different from Graphics Expression?

Consider the expression TreeForm[a+b^2+c^3+d] which displays as This is a nice Graphics object, as I can prove by typing ...
6 views

### T is an operator on inner space, how to prove T is invertible if and only if T* is invertible? [migrated]

T is an operator on an inner product space, how to prove T is invertible if and only if T* is invertible? Can I change the target to prove T is injective iff T* is injective?
145 views

### Converting truth tables to boolean expressions

I have a truth table for a Boolean expression represented like this ...
124 views

### Symbolic scalar-by-matrix derivative

Let's say I want to calculate the following scalar-by-matrix derivative $$\frac{\partial}{\partial A} \text{tr} \left[(\vec X^T A)^T (\vec X^T A)\right],$$ with $\vec X$ and $A$ being a $n \times 1$ ...
87 views

### A simple expression which Mathematica will not simplify

Sorry for the vague title, but I wasn't sure how to phrase this. I was using Mathematica to solve a fairly simple algebraic equation, but when I tried to substitute the solution into the original ...