1
vote
1answer
81 views

Nested list element at position specified by a list

I'm trying to avoid constructions like Y[[X[[1]], X[[2]], X[[3]]]]. That is we have a nested list (Y) of depth $n$ and another ...
0
votes
2answers
167 views

Exctrating data information from a file.txt

I really did previous long search in the site and I couldn't find any answer that might help me. So I am asking it. I have the following data set, ...
9
votes
4answers
547 views

How discretize a region placing vertices on a specific non-uniform grid

Given a generic region, for example: Ω = ImplicitRegion[ 2 x^2 + 3 y^2 + 2 x y - 2 <= 0 ∧ x^2 + y^2 > .1, {x, y}]; and a non-uniform grid, for ...
3
votes
1answer
140 views

ConversionRules and style inheritance

Take the LaTeX-Article stylesheet stylesheet = FileNameJoin[{"Article","LaTeX-Article.nb"}]; Compare these outputs ...
7
votes
2answers
241 views

RegionPlot from NDSolve

I am having quite a headache using RegionPlot to see the region of acceptance of certain coupled differential equation. I shall elaborate and try to be as ...
0
votes
0answers
78 views

Exporting graphic to pdf acting funny [duplicate]

I have a plot created in a notebook that I usually would right click on and choose Save as pdf. It worked fine until this morning. Shown below, the first plot is what I used to get. The second plot is ...
3
votes
2answers
195 views

How to cut a thick curve in half lengthwise?

Is there any easy way to cut a thick curve in half lengthwise? Example: suppose I have the cardioid shown in the figure below, is there a way to delete either the inner or the outer portion of the ...
4
votes
2answers
321 views

Solving a discontinuous differential-algebraic equation system for plasticity behaviour

I need to solve a discontinuous equation which is typical in theory of plasticity. For a simple case I get the following equation system (reformulated for numerical implementation): $s(t) = ...
2
votes
1answer
208 views

Can't install Workbench on Surface Pro 3

I've been trying to install Wolfram Workbench 2 for a few days on a Surface Pro 3 i5 256 Mb, Windows 8.1, Mathematica 10.0.1, Java 8, without success, I'm getting a bit desperate. For the Eclipse ...
0
votes
0answers
70 views

How to randomly create disks with randomized radii under given specific cover ratio? [duplicate]

I want to create uniformly distributed disks(dots) in a specific rectangular area. Suppose: the disk radii should be uniformly between $a$ and $b$ ($0<a<b$); there is no interaction between ...
0
votes
1answer
724 views

Plot a table of functions with different color [duplicate]

I have a function with two independent variables: SNR[t_, f_] := 20 Log10[1/(2 Pi f t)] And I have a list for "t" ...
2
votes
1answer
180 views

Complex Integration

There are some sequential functions: ...
0
votes
0answers
41 views

How to show “AxesLabel” when “Frame -> True” [duplicate]

I'm using Mathematica 9.0.1, and using "LogLinearPlot" function. My problem is when I enable the "Frame", and set "AxesLabel", the labels won't be shown. If I disable the "Frame", the labels are ...
1
vote
0answers
110 views

How to make a graph of this function?

I need to plot the following function: ...
4
votes
1answer
200 views

Intelligent vertex placement in large tree graphs

This question about graph layout is fairly general, but can be illustrated in the case of the Collatz Conjecture. Collatz created the following function over integers greater than 1: If the integer ...
13
votes
11answers
1k views

Divide all but the maximal element in a list by 10?

I have a list of numerical data, and I want to write a program that will keep the maximum as it is, but reduce the rest by certain factor (such as 10). For example: ...
7
votes
2answers
334 views

10.0.2 another Dataset type system (inference?) warning

Bug introduced in 10.0.2 The warning below seems unrelated to these issues: Did 10.0.2 break some forms for named slots? and 10.0.2 mapping Association to Dataset warning. First noticed w/ ...
1
vote
1answer
166 views

Trace two DateListPlots?

I currently have two DateListPlots in the same graph, with two different y-axes. I downloaded the package "TwoAxisDateListPlot" to accomplish this with ease. Now I want to be able to trace both of the ...
1
vote
1answer
138 views

Plotting CSV files with UTC Universal Time

So I have many CSV files in format like this: 2014-12-11T16:13:13.038337Z , 3.90092 2014-12-11T16:14:13.456558Z , 3.89734 2014-12-11T16:15:12.444318Z , 3.90092 I imported a CSV file ...
1
vote
2answers
91 views

Localised variable shows up as Global [duplicate]

Why does this local variable show up as Global? ?q Information::notfound: Symbol q not found. >> ...
5
votes
2answers
187 views

SmoothHistogram inside Show doesn't respect plot range clipping?

You can try this for yourself. Run the following code a couple of times: ...
5
votes
1answer
236 views

Listable vs Parallel

Are listability and being parallelized the same? In other words, Does parallelizing a listable function which has already a list as of its argument make the computation faster? In the documentation ...
22
votes
3answers
666 views

Real Numbers in the Wolfram Language

Epilog: Much of the discussion in the answers below revolves around the distinction between Real as a data type and real numbers as a domain or class of numbers (irrespective of the form in which ...
2
votes
1answer
120 views

Finding periodicity of multidimensional data?

I have a data set consisting of measurements of an $n$-dimensional vector $\mathbf{x}(t)$, at $N$ distinct time points $t_i$. The time points $t_i$ are equally spaced. I need to find the dominant ...
3
votes
1answer
155 views

Print array with indices

Is there a single function that prints an array together with the indices? I know how to achieve this with Grid[{Range[n],array},Frame->All], but I vaguely ...
2
votes
2answers
178 views

How to stop a .sh script that calls multiple Mathematica scripts?

When I press Ctrl + C in a linux console running a Mathematica script, it doesn't stop. Instead it brings a console where I am supposed to type either quit, or ...
9
votes
1answer
231 views

Suspected bug in Integrate

Bug introduced in 9.0.1 or earlier and fixed in 10.1.0 In version 10.0: ...
3
votes
1answer
103 views

How to change the vertex shape

(Using V9 on Ubuntu) Consider the following code, to create a graph. ...
1
vote
1answer
79 views

Bspline weights

I change weigts of my points, but nothing has changed. What should i do to solve this problem? ...
5
votes
0answers
61 views

The change of precision doesn't work in ParallelDo. Is it a bug in Parallel?

Cross-post: http://zhidao.baidu.com/question/2075301703219376588.html Input: ...
2
votes
2answers
114 views

Interpretation of CopulaDistribution [closed]

I was just wondering, when I call the CopulaDistribution function in Mathematica, am I calling its cumulative function or its density function? I have looked up ...
2
votes
1answer
295 views

Cluster entities by a combination of values

I can plot the population of zip codes in NY with something like ...
1
vote
1answer
102 views

Is there a LogBeta function like the LogGamma?

In a computation, I need Log[Beta[alpha+j,beta-j+n]] of some kind. Is there a LogBeta function built-in to avoid any under/over ...
3
votes
3answers
649 views

Sum over multiple indices

I would like to be able to enter the following left hand side of an identity. I can write the right hand side (i think) but am not sure about the left. The Left hand side is ...
1
vote
2answers
81 views

Random Variate from a transformed Distribution

I would like to simulate random variates from a transformed distribution of a joint distribution and a constant. i.e. ...
4
votes
1answer
376 views

Trouble understanding NeumannValue and Inactive/Formal PDEs

I read all documentation about the Finite Element Method in Mathematica 10, and I read some questions here, but I'm still unable to properly understand how to use the ...
3
votes
0answers
66 views

Importing sobj sage objects?

I am working with a sage-math object. With some older versions of Mathematica it was possible to send data directly but the function doesn't work with Mathematica 9. What are my options to import a ...
3
votes
1answer
324 views

Centering histogram bars over axis values

I'd like to center the bars in my histograms over the correct values of the x-axis. Here is a simplified example: The most common value in the dataset is zero, but glancing at the histogram this ...
0
votes
0answers
100 views

version 5 & OS X 10.9

Can I use V. 5 mathematica on my MacBook Air with OS X 10.9?I have this old version of Mathematica which I bought when I was using OS X 10.4. I cannot now afford to upgrade to V. 10. I have not ...
9
votes
2answers
244 views

InverseFourierTransform of simple function takes forever

i'm quite new to Mathematica. I'm trying to do something along the lines of: ...
4
votes
1answer
159 views

Coefficients of a polynomial in powers of 10

Can I express a polynomial function in Mathematica in power (ScientificForm) ? I was trying: ...
2
votes
1answer
87 views

Return the incomming expression on false

when I have an expression, that is unknown to mathematica, it is returned exactly the same, as it was called. For example SeeFlyingPigs[1,2] called on the line ...
5
votes
3answers
163 views

Find Unconnected Subregions

If I have a region, how can I identify sub regions that may be disconnected, if any exist? region defines a rectangular region given two diagonally opposed ...
0
votes
0answers
91 views

solving singular matrix [duplicate]

Hello I have a matrix that is singular, and i wanted to use linear solve to solve it but that doesn't work with mathematica. The matrix given as a list looks like this: ...
0
votes
0answers
43 views

parsed matrix not deleting elements in adjusted matrix

I have a matrix that has been parsed to delete certain rows and columns, as well as delete certain elements on the diagonal on the matrix. The problem is that it does this in theory when i take the ...
1
vote
1answer
92 views

How to select a list from a list?

I have a list contains three vertices of a triangle. ...
2
votes
1answer
67 views

Prevent Simplify from using cot

I have the following problem. I got a huge equation to simplify and in there are numerous $\cos(x)$ and $\sin(x)$ terms and now it happens that Simplify changes terms like $(...+\cos(x)*a+...)$ to ...
0
votes
1answer
109 views
0
votes
1answer
175 views

Get rid of Error Function: How to get rid of sequential appearances of error function?

We have a function as e[t_] :=(E^(-t^2)) Cos[0.1 t] and we must evaluate below integration (However I used the variable x ...

15 30 50 per page