# All Questions

9 views

### Overflow problem

I am Rajat, working out a fluid flow problem using shooting technique with 4th order Runge Kutta method. The problem wants me to guess 3 initial values simultaneously. for this i used 4 nested FOR ...
11 views

### Interpolation on an unstructured (mostly-structured) grid in 4D+

I frequently need to perform interpolations on an unstructured grid. Mostly, with the purpose of filling grid holes and then later continue with regular grid interpolations. Mathematica V9 and V10 ...
12 views

### How can I disable the “convert to freeform linguistic input” dialog box?

So I'm putting in some function, busy typing away. Then after I've entered some text, I pause for a few seconds. In this time, the notebook pops up the question "Convert to Free-Form Linguistic ...
28 views

### Extract common part from expressions

I am trying to evaluate multiple independent expressions with common parts. I would like Mathematica to somehow give me this common parts. It's probably not so clear, so let me give you an example. ...
21 views

### A question regarding “DiscretizeGraphics”

I want to find the volume of a torus torus = RevolutionPlot3D[{2 + Cos[t], Sin[t]}, {t, 0, 2 Pi}] ...
15 views

### Inconsistent linearity of inverse Fourier transform

I am trying to compute the inverse Fourier transform of this expression fhat[w_] = (Exp[-2*I*w] + Exp[2*I*w]) using ...
13 views

### Word wrapping in Code cells

The style for Code cells has no word wrapping. I don't like this as code lines either have to broken manually (with ugly, poorly indented results) or left largely invisible beyond the right of the ...
13 views

### Meaning output ANOVA post hoc tests

I am carrying out an ANOVA in Mma, and I wanted to apply a post-hoc test, but I do not understand the output that is given. It says e.g. Model-> Duncan, {4, 5} ...
199 views

### Is there a better way to “grow” black tulips?

I used the following clumsy way to obtain a bundle of black tulips. Is there a better way to do so? ...
64 views

### Rounding the coeffcients in a polynomial

I have a very large polynomial with Complex Numbers as coefficients. Due to many calculations, there are rounding off errors. I know however by theoretical considerations, that the coefficients are ...
17 views

### StateSpaceRealization “ControllableCompanion” does not generate ControllableCompanion form from DE

I must be doing something wrong, but do not see it. There is an option in Mathematica control system function StateSpaceModel where one asks it to generate the ...
67 views

### Function returned an unexpected list

I was trying out a question in Wellin's Programming with Mathematica that says the following. Question: Given a set of points in the plane (or 3-space), find the maximum distance between any pair of ...
100 views

### Interpolating an Antiderivative

I'd like to be able to make InterpolatingFunctions for antiderivatives of functions that can't be integrated symbolically. However, the following code returns several error messages: ...
46 views

### Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
32 views

### The case for “Across” generalizing JoinAcross

EDIT: Initially, I called this function "KeyOuter", but "Across" is more appropriate given the connection to JoinAcross. Given: ...
47 views

### Create a closed notebook

When using nb = CreateDocument[], is there an option that prevents the notebook from opening automatically? And is there a command that opens the notebook when ...
45 views

### Remove values from list element, and add to other element

Basically what I need is to make a list of 400 elements, all have value 1. The next step is to create a function, that subtracts value (-1) from an element, and adds that to another element. So: ...
253 views

...
34 views

### Using indexed variables to make a vector — Iteration limits exceeded

I am trying to do an implicit numerical integration scheme for the 1D heat equation. This basically amounts to diagonalizing a matrix equation at every time-step of the simulation. So in order to do ...
152 views

### Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)^0}$

Bug introduced in 7.0.1 or earlier and fixed in 10.0.1 I'm plotting a 3d-function, which makes Mathematica9 (at windows 7) crash all the time. Is it only for me or for somebody else as well: ...
51 views

### Convergence problem when I try to integrate a function of one variable and one symbolic parameter

I have an integral with a parameter a and a > 0 ...
76 views

### Choppy curves with Manipulate [duplicate]

While manipulating the slider in Manipulate[], I experience choppy curves. These do however render correctly after letting go of the slider. The same phenomenon occurs when pressing the + or - button ...
34 views

### Is there a nice way to move numerical values from mathematica to excel file sheet each cells separately? [duplicate]

Is there a nice way to put lots of numerical values separated by comma into an excel file sheet's each cell from Mathematica? For example, when I have the output values like: ...
25 views

### Error when taking derivative or integral [on hold]

For some reason I am faced with this rather strange error while trying to take a derivative or an integral ...
33 views

### MathLink error while calling a custom Mathematica function - MLGet out of sequence

I am trying to call Mathematica 10 from F#. Following the C# sample code found in the Mathematica directory, I have written the following F# code: ...
42 views

### Update variable with incrementing value [on hold]

I would like to have a vector v defined as v1 = A[[1]], v2 = A[[2]], etc. incrementing from 1 - 10 that is then used in a for loop. Currently, my code only computes e for v1 (giving e1), but I would ...
12 views

### Is it possible to plot a List of functions with different colors in Manipulate (or with substitutions)? [duplicate]

I'm trying to use Manipulate[Plot[... to do two things at once: Plot the multiple forms a function can take depending on the chosen value of a root inside the function, and 2. show how the functions' ...
64 views

### Exporting row vector as a column in excel

I want to export a vector in Mathematica to appear as a column in Excel. I am trying A={1, 2, 3}; Export["mfile.xls", {"A" -> A}] But it is showing 1,2,3 in ...
31 views

### Newbie CDF question

I am about to post some code (in various languages) to one of my blogs (WordPress), and was wondering if CDF is the best choice for Mathematica Source? Also, I am a little confused - for which aspects ...
41 views

...
161 views

### Dataset in Mathematica 10.0.1

Wolfram pages "Mathematica Quick Revision History" in Mathematica 10.0.1 release says: "New operators and compositions of operators enabled for associations functions such as Dataset and Query" ...
35 views

### Is there a way to convert the mathematica document into word document in a neat way?

Is there a way to convert the mathematica document into word document in a neat way? I tried by "save as" command and found something like Risk text format "*.rtf" but still many parts look messy.. ...
102 views

### Conceptual understanding of patterns [on hold]

Anyone who uses Mathematica's patterns cannot be left unimpressed by its power. To gain an understanding on how it might be working internally, I thought about the process and came up in fact with ...
54 views

### Find constants in a function? [on hold]

Let's say I have a function f[x] with n constants, e.g. f[x] = c1 * x + c2*x^2 + ... + cn *x^n I also have n conditions to find those constants, e.g ...
87 views

### Display Quantity in full form

Is there a way to display Quantity[] in full form in the output? I know you could use Quantity[valuse, Unit]//InputForm, but ...
18 views

### Why does my Dynamic NonliearModelFit keep running?

I have complex data and which I am fitting to a complex formula. In order to use NonlinearModelFit I split the formula and the data into real and imaginary parts. As usual NonlinearModelFit is ...
71 views

### Double integral changing the limits

This integral does not evaluate: Integrate[ Integrate[1/(E^((a - c)^2 + (b - c)^2) ), {c, 0, 1}], {b, -Infinity, Infinity}] However, reversing the integrals ...
32 views

### Building an arch in SystemModeler

I'm trying to learn SystemModeler and struggling a little... Building on the chain pendulum example from Wolfram, I've happily made a chain with revolute joints with spring/dampeners connecting the ...
26 views

### How to set the width of grid elements in pixels?

That is all: How can I set the width of columns in a Grid in terms of pixels instead of 'ems'? To be more precisely, I want to create a grid that is 330 pixels ...
179 views

### Display variable name instead of value

Is there a way to display the variable name instead of its value? for example, I need something likevarname = 1; function[varname]; and the output is ...
53 views

### Variable number of controls in manipulate

i want to add a variable amount of variables to manipulate, but i got stuck at one point and can't figure out a solution (even after reading here for hours...). I have a function (e.g. here a ...
27 views

### Need Diffrent math Formula [on hold]

public int Level { get { return 1+(int)Math.Floor(Math.Pow(XP, 1/3.0)); } } I do not understand formula and i would like someone to give me ...
182 views

### Conditional ListPlot with text recognition

This is my data ...
100 views

### How to get the series coefficient of a function defined by a differential equation

I need a Taylor series approximation for $x(t)$, which is defined by the following differential equation. $\frac{dx}{dt}=-k_1 x+(1-x)k_2 e^{-k_3 t}$, $x(0)=0$ ...
62 views

### How to overwrite a private symbol value temporarily?

I have a package file mypackage.m with BeginPackage["FooBar"] Begin["Private"] tmp=2; foo=2*tmp; myprogram[foo] ... End[] EndPackage[] The file is VCS ...
134 views

### Plotting a moving ball for projectile motion with animate

Here is my code for plotting an orbit. What I want to do is have the "planet" shown as it orbits in the simulation. Can anyone help with this? ...
45 views

### How can I eliminate “Solve::verif: Potential solution” error message from the Solve function?

I am running a Solve function with some determined variables and some updated functions. The variables with double brackets already have their own values, and the variables with single brackets are ...
183 views

### Finding exponential model from data [duplicate]

I'm trying to find an exponential model from data for a homework problem. There is an accompanying video explaining how to do the bigger problem but it omits any instructions on the step where the ...