All Questions

68 views

ParametricRegion question - a bug report

It is just to report that the request: ?ParametricRegion does not return the expected definition. Instead I see this: ...
166 views

Changing axes in ContourPlot

I'm new using mathematica. I'm plotting a funcion that depends on two variables (r and C) let's say z= r^2+c^2 When I use ContourPlot, level curves are shown in a r-C plane. I'm trying to obtain the ...
106 views

How to restore the font size and other options to default Globally

I have messed up the font size globally. I was playing with SetOptions and I think I have accidentally changed the font setting of the FronEnd setting globally as can be seen here. I tried to ...
262 views

Is there a bug in AssociatePairs?

Bug introduced in 10.0 and fixed in 10.1.0 In Version 10, the GeneralUtilities package contain some useful functions. ...
67 views

Save a notebook with “input” and “output” on the left of all cells

How to make Mathematica save a notebook with "input 1" and "output 1" on the left of cells? If I open a saved notebook, those tags are gone.
287 views

Mma10 mystery: Failure of pure function substitution with Interpretation?

Bug introduced in 10.0.0 and fixed in 10.0.1 I had code to display with subscripts from Displaying index as subscript on output: e.g. C[i] -> C_i with Notation[...] or Interpretation[..]? which ...
136 views

Issue with PieChart3D in Version10. Is it Mac specific?

I was testing version 10 to see if the ImagePadding bug described here had been fixed and came across a significant issue. The chart (code from linked question) ...
56 views

I use the command ClearAll["Global`*"] so much that I thought it would be nice to have a function that called it. Since by default ClearAll requires an ...
103 views

GraphicsGrid Format Problem with SpanFromAbove

I believe this is a bug in GraphicsGrid. ...
64 views

I am writing some C++ code that I want to call both through LibraryLink and independently from Mathematica. Thus it must be compatible with LibraryLink but not depend on it. When calling it from ...
168 views

Simplify system functions

Consider the code defining two constants: a=Cos[t] b=Sin[t] Suppose that we have another value in terms of Cos[t] and ...
156 views

Error when attempting to save Notebook. Cause and solution?

I am experiencing an error attempting to save a modified Notebook in Mathematica 10 under Windows. The error I get is: ...
82 views

Having variables appear aqua in user defined function [duplicate]

In many of the inbuilt mathematica function, variables appear aqua like in: However, when creating your own function, variables no longer have that green coloring and are instead colored like an ...
129 views

Why DSolve giving Inconsistent or redundant transcendental equation on this problem

Kamke's differential equation #574 has a solution, but Mathematica generates an error message as it tries to solve it. It still gives the solution. My question is: What could have caused Mathematica ...
83 views

How do I delete items at the same position from every sub-list within a list? [duplicate]

We have data in a list called megadata where megadata[[1]] for instance are the temperatures of each data point, ...
190 views

Infinite expression encountered when simplifying ArcTan sums although the result is finite

If I attempt to simplify the sum ArcTan[1/x] + ArcTan[x] with ArcTan[ Simplify[ TrigExpand[ Tan[ ArcTan[1/x] + ArcTan[x]]]]] ...
170 views

Combining key pivoting and lookup operators in Dataset

This question is related to this one re pivoting on keys. Because of the nesting, using Leonid's method as starting point - single key: ...
274 views

Logarithmic curve fit in data

I have the following data which are the theoretical: ...
51 views

PiecewiseExpand doesn't take all kind of assumptions

Running PiecewiseExpand[expr, assum] does not work with all kind of assumptions. For example, the following line will not split the expression with absolute values in the chambers, considering m1=m2. ...
59 views

Precision of sliders in WebMathemtica

I have been developing a manipulate plot to put on the web. One of my parameters varies over a small interval, {{D32, 2.38*10^-3, "D32"}, 0.001227, 0.0049108}. This ...
116 views

Simulated Annealing for NMinimize[] always returning the same solution

I have a function defined as follows: ...
91 views

FullSimplify with assumptions

Is there a way to write a FullSimplify at the end of the line with some assumptions? That is, if I write a^2+b^2+2 a b //FullSimplify[...] is there any way to ...
97 views

Using Map in a function definition

I want to calculate the hessian of a matrix. So each element gets replaced by a 2 by 2 matrix. ...
516 views

Controlling quality of discretized region meshes

EDIT: Impact of this problem has been considerably lessened in v10.2. Although new version is still not performing analytical discretization at sharp corners (there are jaggies), evenness of sampling ...
313 views

Clustering data sets with multiple variables

I am learning how to cluster large datasets and this maybe a newbie question, but I haven’t found a suitable answer in the Documentation or on this board. My question is best illustrated by an ...
1k views

What information is sent to Wolfram Research when loading or working with Mathematica?

Recently I am told that information unknown to the user is sent to Wolfram Servers. Is there any truth behind it ? I was told that more than just an IP address of the user is sent to them and that ...
196 views

Check remaining Wolfram|Alpha calls

As Wolfram|Alpha calls are limited, and on the other side increasingly frequent, I'd like to be able to check how many calls am I able to make at a given time. Is there a function or system variable ...
80 views

Preforming Operations on Input Fields

I'm setting up a CDF document (in mathematica 9) that takes a cone and plots a point on it. The input required from the user is the radius of the cone at the base, the height of the cone, and two of ...
89 views

Mathematica on a cluster

I try to run mathematica on a grid. Since this is my first time working on a cluster, I have no plan what to do. I have to run a job (pbs-file). ...
210 views

How does epilog position work in logplots?

I'm trying to use Epilog in my plots but the position of the Epilog isn't making much sense. As a minimal example consider, ...
146 views

Elegant way for map a function over the columns of an array

I have an array data = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; And I want map Standardize over the column of the array. I use ...
174 views

How do I subtract two contours?

Suppose I have this contour described by the equation the root $z$ of this equation $$\frac{1}{x^2 + y^2} + \frac{1}{xz} = 2y$$ Now suppose the equation is tweaked slightly, with an addition of ...
52 views

Is it possible to calculate with declarations only?

simple Example: maximize $u(x), x$ solution would show constraints: $\frac{\partial u(x)}{\partial x} = 0$ $\frac{\partial^2 u(x)}{\partial x} < 0$ etc... or do I always have to explicitly ...
385 views

How to simultaneously change the color and thickness in ContourStyle?

When plotting contours with ContourPlot, one can use the option ContourStyle to change the contours of the plot. With the ...
42 views

Addition of all elements of two sets with each other [duplicate]

Let $S_1=\{a_1,a_2,\ldots,a_m\}$ and $S_2=\{b_1,b_2,\ldots,b_n\}$ be two sets. I want to list all $a_i+b_j$ for each $1\leq i\leq m$ and $1\leq j\leq n$ in a set. Is there a commend in mathematica for ...
884 views

Solve symbolically a transcendental trigonometric equation and plot its solutions

I currently have the equation below for a beam with a hinge at various locations, the variable a can vary between 0 and 0.5.  Tan\left( {a\sqrt \alpha } \right) + Tan\left\{ {\left( {1 - a} ...
109 views

Why won't mathematica plot the 3D Contour of this function?

I want to find the 3D contour of the equation1: ...
137 views

Get part of lousy data

I want to get part of large data. some part of this data is as follows: ...
158 views

Legend in a Show

I am trying to put some legends on a graph but I am not able to do that. This is my code: ...
121 views

How can I speed up this code？

There are 4 variables in this multiple sum, and only 2 are used. This question has the similar scenario as the previous one How can I speed up this code with multiple sum？, but the calculation ...
162 views

Format-Size-Larger/Smaller shortcut disabled in M10?

It seems that the keyboard shortcuts for enlarging/reducing the font size (ALT+= / ALT+-) don't work anymore in M10 as it did in M9. If I select the text (or code) inside a cell they work. But if I ...
459 views

Does FindFit support complex numbers or doesn't it?

Inspired by this previous question: Findfit doesn't give the good fit; Changing the starting values will not change the results. Consider the following complex-valued dataset. ...
281 views

Command to insert item into list

Is there a command to insert an item into a list such that they form pairs? In other words to take InsertObject[{a,b,c},d] which will output ...
61 views

How to make a discretized NMinimize more precise

I am using Mathematica for physics research and I want to minimize a Hamiltonian equation with respect to two variables (I have also discretized the problem). I have a single constraint. When I plot ...
191 views

158 views

Expand 2f[x] to f[x]+f[x] (Simplify sums of ArcTan)

I'm trying to simplify an expression with sums of ArcTan, for which I've written a transformation rule that works for simple sums, so that ...
919 views

Why is the new PositionIndex horribly slow?

This issue has largely been mitigated in 10.0.1. New timings for the final test below are: ...
151 views

VoronoiMesh for 3D points

I believe that this is a doc error in V10 (this was programmed to be but not implemented). The new VoronoiMesh should work for 3D set of points. The ...