0
votes
0answers
42 views

Wolfram Alpha and LaTeX [closed]

Does WolframAlpha use LaTeX to represent mathematical characters? Is there any way to copy the LaTeX output?
5
votes
1answer
59 views

Determine return type of CompiledFunction expression

Is there a way to extract the types of the arguments and the return type from a CompiledFunction expression? I am writing a package for code generation (basically a wrapper around CCodeGenerate) where ...
1
vote
0answers
336 views

How to find the intersection points of two circles in 3D [migrated]

I have two circles in 3D space generated from their parametric equations. Also, these two circles are on the same plane. How can I find out their intersection points from the parametric equations? ...
4
votes
1answer
106 views

Filling a curve towards toward the top of the plot

I have a curve. If I want to color fill or shade, not towards axis but upward form the curve, what command can I use?
2
votes
1answer
96 views

Continuous 3D Arg Plot

I have a problem with jumping phase plots using the Arg function in mathematica. I have looked at the other questions already asked here (e.g., continuous phase/Arg ...
5
votes
1answer
59 views

Changing PDF version in Mathematica 10

With Export, I am generating pdf files with pdf version 1.5. Is there a way to generate them with pdf version 1.4 instead?
1
vote
0answers
41 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
6
votes
1answer
145 views

Book about using Mathematica in real world engineering projects

So far I've abused Mathematica by only using it as a notebook. That's a big waste since I've bought a student-life time Mathematica 9 / SystemModeler license. My problem is that I'm not inspired to ...
2
votes
0answers
56 views

Numerical Solving Problem, PDE

It is not possibel to solve the given equation numerically or analytically with Mathematica. ...
4
votes
0answers
27 views

Held keys in associations

Jacob Akkerboom commented: Note that PositionIndex does work correctly with held expressions, whereas this is a bit painful to implement using ...
1
vote
1answer
21 views

Setup default temporal directories for CCompilerDriver

Problem: I have cyrylic symbols in my $UserBaseDirectory. As result temporal directory for CreateExecutable...
2
votes
0answers
33 views

distributing definitions in an .m file and memory

I am dealing with a huge table stored in an .m file of size 4 GBs. Somehow when I call the table in .nb file it seems the memory increases not by 4 GBs but more than 10GBs (roughly checking from task ...
1
vote
1answer
32 views

NMaximize not substutiting parameters of objective function [duplicate]

NMaximize is not substituting parameters of its objective function. Is there a way to fix that? I have a three line program that exhibits the problem. ...
4
votes
1answer
67 views

Possible bug / numerical issues with HypergeometricU — any suggestions for a fast workaround?

I've encountered some problematic behaviour with HypergeometricU. I have a probability distribution on the positive integers that takes the following form after ...
3
votes
1answer
58 views

How can I create a set (list) provide a kind of rule/algorithm?

Example: S = {r ∈ Q : r² < 2} Let S be the set of all rational numbers whose squares are less than 2. It follows that 1 ∈ S, 4/3 ∈ S, but 3/2 doesn't ∈ S because 9/4 ≥ 2. Thank you.
3
votes
2answers
126 views

Graph expansion on Mathematica

Is there a way by which Mathematica can be given a graph as an input and be asked to find its expansion? Note: By "expansion" I mean the quantity called "isoperimetric number" or "Cheeger constant", ...
1
vote
1answer
64 views

NSolve for complicated equation involving double cross product

I have the following issue. I am trying to solve a 3-vector equation for the vector slx, sly, and ...
6
votes
0answers
136 views

Greek variables in 10.0.1

10.0.1 under Ubuntu 12.04 x64 .... Does everybody get greek variables emboldened? Is anybody aware of how to revert to previous normal display? The image below shows what I mean.
3
votes
1answer
101 views

Solution to a T+U = E equation

I needed to solve really easy differential equation (in dimensionless units): $$ \mathcal{T} (\dot{\xi}) + \mathcal{U} (\xi) = \text{const.} \equiv \varepsilon ; \quad T(\dot{\xi}) = \dot{\xi}^2 ; ...
6
votes
1answer
49 views

Bug with Initialization in DynamicModule?

In exploring Tracking Initialization, I came across this. The following usually shows a value for x of 300000 to ...
7
votes
3answers
227 views

How to plot a series using different colors depending on the y-value

I have a sequence of numbers ${x_1,x_2,\ldots,x_n}$. I would like to plot the sequence using ListLinePlot but use a different color depending on if the values $x_i$ are within $a_i<x_i<b_i$. ...
9
votes
1answer
113 views

Tracking Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
10
votes
2answers
144 views

Extracting the function from InterpolatingFunction object

I've used Interpolation[] to generate an InterpolatingFunction object from a list of integers. ...
9
votes
3answers
192 views

Find all heads a function is defined on

So say I've got a function g defined as follows: g[x_Integer] := x + 1 g[s_String] := s <> "!!!" How would I write a ...
1
vote
0answers
53 views

How to generate a 3D terrain from a terrain-map image? [closed]

I attempted to generate a 3D terrain from a terrain-map image with the following code. What I got was a NULL terrain. What is wrong with my code? ...
8
votes
3answers
877 views

An inverted pyramid

I want to draw a pyramid approximately like this ...
2
votes
3answers
105 views

How to multiply specific columns in a matrix of data?

So I need to make a plot of some ~2000 data points I have from a spreadsheet. I'm able to import the data just fine, it stores it like so sundat ...
2
votes
0answers
63 views

Solving a system of two nonlinear equations with many symbolic parameters

I have two nonlinear equations with two unknowns, $x$ and $y$, and many symbolic parameters, $a, b, c, d$. They look someting like: $\frac{1}{x}(1+x)^a (1-b)(cx+dy)=0$ ...
2
votes
2answers
85 views

How to SemanticImport Multiple Excel Sheets

I have an Excel workbook with multiple sheets that I'd like to import into a dataset each. With Import I can target individual sheets by their name into a nested ...
8
votes
2answers
135 views

Vertical (mis-)aligning of plotmarkers and legend text in V10 PlotLegends

Consider this example, taken from the docs and modified for a larger font size using Style (V10.0): ...
-3
votes
0answers
62 views

Overflow problem [closed]

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 ...
4
votes
0answers
32 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 ...
6
votes
1answer
36 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 ...
7
votes
1answer
135 views

Extract common subexpressions from expressions [duplicate]

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. ...
6
votes
2answers
152 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}] ...
1
vote
0answers
46 views

Inconsistent linearity of inverse Fourier transform

Bug introduced in 8.0.4 or earlier and fixed in 9.0.1 or earlier I am trying to compute the inverse Fourier transform of this expression ...
0
votes
0answers
26 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 ...
1
vote
0answers
21 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} ...
12
votes
1answer
672 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? ...
3
votes
2answers
164 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 ...
2
votes
0answers
31 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 ...
1
vote
1answer
82 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 ...
6
votes
2answers
158 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: ...
2
votes
2answers
59 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 ...
8
votes
3answers
82 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 ...
3
votes
1answer
55 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: ...
0
votes
0answers
38 views

Using indexed variables to make a vector — Iteration limits exceeded [closed]

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 ...
7
votes
1answer
242 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: ...
1
vote
2answers
55 views

15 30 50 per page