4
votes
1answer
136 views

Factoring a differential equation into an operator product

Following the fundamental theorem of algebra, I can (as stated here in Sec. 1.1.4) factor an $n$th-order linear ordinary differential equation $$ a_n \frac{d^n x}{dt^n} + a_{n-1} \frac{d^{n-1} ...
3
votes
2answers
190 views

Harmonious graph labeling

Is it possible to harmoniously label a graph in Mathematica? I would like a function, that when given a graph, would return a harmonious labeling. If not, is there other software that can do it? A ...
13
votes
3answers
373 views

Graphics3D: Opacity limitations

Trying to make a better-looking globe model, I start off with something like this To enhance the 3D effect, I want the lines further from the eye to be "grayer" than the lines closer to the eye, as ...
6
votes
1answer
93 views

How to return a string from LibraryLink?

I need to return a string from a LibraryLink function. The documentation states: When a string is returned as a result, the Wolfram Language accesses the memory to convert it to its own internal ...
2
votes
3answers
172 views

How to display the indices/element positions of a ragged array?

I have a three-level ragged array like so: ...
1
vote
1answer
84 views

How to refuse close de Dialog when press Enter Key

As you can see in the documentation of CreateDialog In dialogs created with CreateDialog, pressing Return is effectively equivalent to clicking the ...
1
vote
1answer
75 views

How to use a self-defined function in the Manipulate function

This is what I want Manipulate[ Plot[ Which[h < a, 1 - 1.5 h/a + 0.5 (h/a)^3, h >= a, 0], {h, 0, 8}], {a, 5, 10}] Is it possible to rewrite it ...
1
vote
0answers
263 views

Speeding up NDSolve for system of differential equations

I am wondering if there is a way to speed up this function that solves a system of ordinary differential equations with NDSolve? Thus far I've tried specifying a few different methods such as LSODA, ...
0
votes
0answers
67 views

No real number fitting double exponential in Mathematica

I am trying to fit a double exponential curve to my data, but I got the error saying there are non real number. Also I tried with starting values for my 4 parameters, but this does not work either. ...
7
votes
1answer
135 views

Possible bug: SparseArray Part assignment loses default value?

fixed in 10.0.2 This sure looks like a bug to me (Mathematica 10.0.0, MacOS): ...
3
votes
3answers
257 views

Plot least squares curve on Linear Log Plot

I have the following Data: ...
13
votes
1answer
317 views

BarLegend changes in Version 10

Apparently, BarLegend in version 10 displays tick legends in scientific notation when they are smaller in magnitude than 0.01. For instance, ...
0
votes
0answers
57 views

Shared variable impacting speed? [duplicate]

I am using a shared variable as a progress indicator ( via SetSharedVariable[counter] and then Dynamic[counter]), to keep track ...
5
votes
1answer
284 views

How to create a real-time dashboard in Mathematica?

I am trying to figure out how to use Mathematica as a real-time interface. I've used Excel/ODBC connection to a SQL database to use the graphing functions within to get my real-time dashboard. I ...
4
votes
1answer
111 views

Set number of columns in text-based interface

Is it possible to set the number of columns in Mathematica's text-based interface? Or disable word wrapping in the text-based interface ? Specifically, my concern is output from ...
2
votes
0answers
74 views

Why do EstimatedDistribution and DistributionFitTest work this way

I am fitting some time-series data to both a stable distribution and a normal distribution in order to assess the goodness of fit of each. Along the way I encountered the following confusing result. ...
7
votes
1answer
126 views

How to get the list of notebooks that are automatically opened when Mathematica starts?

How to get the list of notebooks that are automatically opened when Mathematica starts programmatically? I know a tedious approach is opening option inspector and finding and copying the list out.
2
votes
2answers
859 views

How do I plot points on a sphere using spherical coordinates?

Currently, I have a matrix containing a list of spherical coordinates. Column 1 is r; r=1 for all points. Column 2 is theta and column 3 is phi. Each row is an ordered triple (r,theta,phi). Is there a ...
5
votes
3answers
499 views

Detect each polygons in an image

Considering this image: Is there a way to colorize each tiles independently? My problem is that img = Import["http://i.imgur.com/Y87duSz.jpg"]; Colorize@img ...
6
votes
1answer
135 views

Changing mouse appearance at notebook level

Ideally, I'd like to change the mouse pointer appearance(s) at notebook level, from a styleseet. However, I'd be satisfied only by changing its color. This is the main issue keepeing me away from ...
0
votes
2answers
82 views

Control Manipulate variables inside Manipulate

I have the data for graph nodes as: ...
12
votes
2answers
550 views

Syntax highlighter shows error for Manipulate when it's inside a Block or a Module

I'm putting my new copy of Mathematica 10 through its paces and I noticed a weird change in the colouring scheme that I find very annoying, and I'd like to get some insight into why it's happening. ...
2
votes
2answers
225 views

Defining a sequence slot programmatically

This question is related to: Composition of functions using slots `Slot` (#) interfering with evaluation Consider a toy example: ...
6
votes
3answers
190 views

Strange behavior of MemberQ, Position

After importing an array of latitudes and longitudes and trying to find the position of some latitudes I was encountered with an unexpected problem since certain values could not be found for some ...
5
votes
3answers
422 views

What is the right way to write a function that includes other functions?

I want to include multiple sub functions: $b(x) = 10x$ $w(x) = s + b(x)$ $c(x) = x^2$ into two main functions: $ua(x) = w(x)-c(x)$ $ub(x) = w(x)-c(x)^2$ As a reaction to this answer, I wrote ...
7
votes
1answer
268 views

Dataset and string conversion, using Internal`StringToDouble

i'm trying to get familiar with the new Dataset-stuff in Mathematica 10. As it will (hopefully) provide some benefit for me, I have started to convert my app to move from list and list of rules to ...
4
votes
1answer
268 views

Mathematica package for supergravity and superstring theory

I am looking for a Mathematica package that can manipulate tensors for supergravity, string theory or M-theory. I am particularly looking for a package that can do spinor and Clifford algebra ...
10
votes
1answer
222 views

Why is SparseArray and InterpolationFunction always grayed out?

In the front end of Mathematica version 10, a new feature was implemented which dims output cells that no longer correspond to its input cells. So when you type ...
4
votes
1answer
171 views

What kind of object results from RegionIntersection function?

I'm trying to use RegionIntersection in a couple of Polygons. The polygons are the following: ...
5
votes
1answer
82 views

WSTP Callbacks into CDF

Essentially, what I am trying to find out is the limitation of the WSTP/LINK protocols in Enterprise-licensed CDF. Specifically, are any callbacks to the kernel from those protocols allowed in CDF , ...
9
votes
1answer
459 views

Mathematica 10 doesn't support path containing Chinese characters

Bug introduced in 10.0 and fixed in 10.0.2 I tried to import file in Mathematica 10 ( windows 7 system), the path contains some chinese characters. After holding ctrl+shift, and drag the file into ...
3
votes
0answers
105 views

Software for effectively modeling gears

Are then any applications for effectively modeling gears in mathematica?
21
votes
1answer
2k views

Mathematica 10 funny bug / Easter egg?

I have no idea what is happening here. I'm using Mathematica 10. I mistyped "FriendNetwork" as "FriendsNetwork" and got a weird result: The option "FriendsNetwork" is not even listed in the help ...
1
vote
1answer
295 views

Ploting legends in contourplot

In Mathematica 8. Given this: ...
0
votes
0answers
58 views

Balanced n-ary Base Representation

This may be a repeat question, but I was wondering how one would implement the expression/calculation of a representation of a given number h in base balanced n-ary, where n>1 is odd. (For example, ...
6
votes
3answers
187 views

How to make Missing[] invariant for some functions without redefining them

Missing[...] "is a symbolic object, with no default evaluation rules defined." Missing data can be tagged and enables use of filters like DeleteMissing. So it's worthwhile to normalize various types ...
31
votes
2answers
2k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.1.0 or later I've upgraded my home installation of Mathematica from version 9 to 10 today on a Windows 8.1 machine, and I'm getting a weird font ...
7
votes
1answer
66 views

Issuing user-defined messages takes a long time (Message is slow)

Issuing messages takes a very long time in version 9 and version 10. Can others reproduce this? Is there a fix? Update: This is slow only when using the front end, but not when running the kernel ...
5
votes
1answer
309 views

BoxWhiskerChart - 10-90th percentile instead of min - max

I am trying to draw a custom BoxWhiskerChart with alternative values determining fences. I have data that has a lot of outliers and I have to compare it to another chart that has 10-90th percentile ...
2
votes
2answers
88 views

Adding a tree to a list of trees within a loop [duplicate]

I'm trying to write a function which for a list of trees checks if a given tree is isomorphic with any of the listed, and if not - adds it to the list. I tried to use both ...
2
votes
0answers
99 views

Apply IC and BCs on Second - Order Linear PDE

I am now trying to solve second - order linear partial differential equation in that interested eq. has been separated into variables to simplify the procedure for Mathematica. Here is my equation; ...
9
votes
3answers
166 views

Implement settable properties

I am looking for advice on implementing the following. (It is possible that the answer is that it is simply not a good idea to do this.) I would like to have an object similar to ...
1
vote
1answer
28 views

Backward compatibility for plugins

Are plugins normally backward comatible? I would like to buy a plugin ready for Mathematica 7 and use it on Mathematica 8.
4
votes
1answer
124 views

Poor (network) performance of Interpreter[“Time”]

I was surprised to see that Interpreter requires external WR resources as this is not documented, at least not here. On a 3Ghz iMac, took ~half a minute to ...
0
votes
2answers
135 views

How can I name and manipulate several Input Fields? [duplicate]

I am completely new to mathematica--and have a very basic knowledge of programming. I would really, very much appreciate it if someone could explain to me how to refer to values entered into specific ...
1
vote
0answers
138 views

TimeSeriesForecast Forecasts

I am trying to make sure I understand how TimeSeriesForecast works. I apologize in advance for the basic nature of this question. I am using Mathematica 10. I ...
1
vote
1answer
246 views

ListPlot[] code for CSV file not working

I have a CSV file with $9$ columns. I want to plot them in the following way. Column $1$ will be along the $X$-axis. Any point $(x_i, y_i)$ of $i$-th curve in the plot will have the $x$ value from the ...
5
votes
1answer
249 views

Using cursors with result sets to reduce memory usage

I have a database table with 900,000 rows and 80 columns per row which I'd like to work with in mathematica. My computations are isolated to each row, so I'd like to stream only a single row (or small ...
0
votes
1answer
86 views

how to define (independent) the scale of x-axis and y-axis?

I want to compare 2 plots, and view that 4 lines are exactly the same tangent. So I would like to view 2 images with the same scale in the y-axis and the same scale in the x-axis How can I do this. ...
1
vote
1answer
140 views

how to find intersection between a parametric trajectoy and a point

I'have a 2d-system of differential equations, analitycally solved, depending on a parameter. I know that, by continuity, there exist a minimum value of the parameter such that trajectory passes ...

15 30 50 per page