# All Questions

0answers
77 views

### Shortest Common Superstring for all k-length strings on an alphabet

Given all strings of length $k$ of an alphabet of size $n$. This gives $n^{k}$ strings. Now I want to create one superstring that contains all these strings as substrings. They hopefully strongly ...
0answers
18 views

### Value jump in Manipulate when opening input field [duplicate]

In working with some Manipulate functions, I have noticed an oddity when opening the "Show Animation Controls" icon. Here's a simple example that plots a sine wave, ...
0answers
280 views

### Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: http:/...
1answer
69 views

### Why I got -Graphics- when i use “Plot”? [closed]

Recently, when i use "Plot" in mathematica 9.0, the result is -Graphics- not a picture. How can i solve this problem?
4answers
604 views

### How to color the same contour line with different colors according y value

Here is an example: ContourPlot[Sin[y - x^2] == 0, {x, -1, 1}, {y, -10, 10}] Because all these separate lines come from the same contour line ...
1answer
80 views

### Calculation Performance (slow Plotting)

I have a functions, which is an Integral. It is exaclty this function Zf[x_] := 2*I*NIntegrate[Exp[-y^2.0 + 2.0*I*y*x], {y, 0, Infinity}]; Later I need to plot a ...
3answers
103 views

### Combining $n$ lists [closed]

From this question, I know how to combine two lists. In fact, if $X_1,X_2, X_3$ are lists with the same length, then the command Transpose[X_1,X_2,X_3] will work in ...
1answer
107 views

### Formal Differentiation

I'm trying to formally differentiate an expression. (I am aware of how to differentiate formally?, but am unable to generalize the idea) For example: ...
1answer
87 views

### How to visualize such PopularCurve entities?

The following command EntityValue["PopularCurve", "Entities"] returns a long list of PopularCurves: {dragon curve, ...
2answers
254 views

### Create a moving plot along a parametric plot using Manipulate?

I have been looking through Manipulate examples and haven't been able to create a working plot yet. I have a parametric plot defined: ...
2answers
75 views

### Setting constants in a function containing If

I'd like to set the constants in a function that uses If, after it's been defined, but my definitions doesn't seem to stick. Simple example: ...
2answers
117 views

### Permanently Changing Default Color

I can't find this answer elsewhere, but is there a way to permanently change the default plot color? In 10 the default plots are orangish and in 9 they were a purple-bluish color. Is there a way to ...
2answers
133 views

### Solve[ ] doesn't work with transcendental equations

How to solve x^5-sinx=0 in mathematica? I try in this way: Solve[x^5 - Sin[x] == 0, x],but t doesn't work.
1answer
115 views

### P-Values are inconsistent when using DistributionFitTest repeatedly

I am attempting to become more familiar with the DistributionFitTest, specifically the distributions it yields and their fittedness. What I have found is that when I generate random data, fit it, and ...
1answer
71 views

### Solving differential equation (Analytical or Numerical)

I want to solve the following differential equation for $0 < x < 1$ ...
1answer
71 views

### NDSolve Problems with Cardiovascular Modeling [duplicate]

I am trying to use 27 simultaneous differential equations to model the cardiovascular system. I have the following code, however, the output isn't giving interpolating functions, but rather another ...
1answer
127 views

### SetDirectory[NotebookDirectory[]] in one notebook causes Directory[] to change in a different notebook

This is causing me lots of problems. I found that issuing SetDirectory[NotebookDirectory[]]; in notebook A.nb causes subsequent ...
1answer
72 views

### Why are these methods giving me different results? (Trying to test SplineFit)

I am creating a polymer(where each monomer is of equal length) using this method: ...
3answers
142 views

### Evaluate a expression split in a list

I have a list with this format {integer, sign, integer, sign, integer}, sign being one of these: Plus, Subtract, Times, Divide. For example, let's say: ...
0answers
127 views

### Why is Thread[{ a, b }] the same as Transpose[{ a, b }]? [closed]

I understand the idea of both Thread and Transpose, but do not understand whatever nuance it is that makes Thread[{ a, b }] == Transpose[{ a, b }] Where ...
2answers
382 views

### AJAX-style HTTP calls triggered by a variable change

I'm trying to create a dynamic InputField that would autocomplete the address as I type it into the field, by calling Google Maps' GeoCoding API on every change of ...
1answer
70 views

### Stopping sliders in Manipulate going to dynamic unfeasible regions

I am trying to use Manipulate to create a function which allows a user to play with a probability density. The following generates a static density over the range 2000 - 4000, then allows the user to ...
1answer
81 views

1answer
44 views

### Expression evaluation [closed]

I have got the following solution to an equation: ...
1answer
132 views

### Solve an eigensystem faster and eliminate Root[…] from the solution

I have a symbolic, 2-parameter, 8x8 matrix to solve, but Mathematica takes something like 20 minutes to solve it and returns a very large output containing expressions of the form ...
1answer
70 views

### ListLogLinearPlot with customize Mesh mix up the markers in multiple curve

I have to plot several curves in logarithmic scale. I used ListLogLinearPlot and customized the Mesh option. Then the markers mixed up. ...
1answer
187 views

### Memory usage optimization for a large Association/SparseArray

Reformulating my question in simpler terms. Take two lists list1 = RandomInteger[{1, 100000000}, 25000000]; list2 = RandomReal[{1, 10}, 25000000]; Make an ...
0answers
16 views

### How to plot y=y[x] from f[x_,y_]=f0 [duplicate]

Given a two-variable function f[x_,y_]:=(*complicated stuff in terms of x and y *) what I want is to do is Plot ...
2answers
131 views

### How to simplify and evaluate Integral with lots of DiracDelta dists

I have a question about an Integrals which I can do by hand but I want to implement this Integral in Mathematica. Actually it is the definition of a 2 Particle Phase Space. The Expression is the ...
1answer
230 views

### Confirming conservation laws for complex valued functions

Consider the nonlinear Schrödinger equation (I would like to do this for a more complicated set of equations, but to gain understanding I'll consider this simplified case) $$A_t+iA_{xx}+i|A|^2A =0,$$ ...
1answer
148 views

### MeshFunction at azimuthal angles for RegionPlot3D

Edit: I said "polar angle"... It should be "Azimuthal angle". Sorry. I want to plot a mesh line at a certain azimuthal angle in RegionPlot3D. My goal is to show ...
1answer
47 views

### Integrate and NIntegrate combined, giving MaxPrecision error

I am trying to integrate the following : ...
1answer
125 views

### Can I Adjust Thickness of Spheres and Cylinders to Make Objects Printable in 3D?

I have a design of a crystal structure using Sphere and Cylinder in Mathematica. I then exported the result as an STL file and tried to print it. I was told that the objects were "too thin," that ...
0answers
38 views

### Why is there a different eigenvector for the same matrix? [duplicate]

I have a matrix that depends on two variables x and y. Matrix[x,y] When I make x=-.25*(1 - 1/3) + .25*(1/3) + .25 y=0 I ...

15 30 50 per page