1
vote
1answer
47 views

Display a triangle that rotates at certain rate when space bar is held down?

This question is a follow up on: Open a pop up window that runs a calculation in loop until it is closed? How can I open a pop up to show a picture of a triangle that rotates by ...
1
vote
1answer
30 views

Histogram and Random Lists [closed]

Suppose I have the following list listrand of random numbers from RandomReal[-30,30] (where the size of the list is 40). Is ...
3
votes
1answer
36 views

Open a pop up window that runs a calculation in loop until it is closed?

How should I construct a code which opens a pop up window, displays a constantly updating image in it and is terminated once the pop up is closed? The constant updating would be an infinite loop of ...
0
votes
1answer
39 views

Determine what a sound snippet contains?

The function SystemDialogInput["RecordSound"] brings up an interface that lets you record a sound object. Let's say we first record a one second long snippet of ...
6
votes
1answer
59 views

Slider Size Problem

Consider this simple code Slider[0.5, ImageSize -> {Automatic, 50}] We get But if we add another option ...
12
votes
1answer
143 views

best practices for saving Datasets and TemporalData to a SQL database

I have been working with a simulation tool that generates large volumes of data, and it's time to start saving this to a proper database. Is there an established mechanism for saving TemporalData ...
2
votes
1answer
69 views

Assiging random values to an array of variables [closed]

I want to create a number of variables and assign random values to them. This is possible in Python using a single line of command. To be more specific say I want to create 10 variables whose value ...
2
votes
1answer
23 views

set “input” as default style for newline entry

I altered the notebook stylesheet ArticleJournal to my needs and I'm using it as a private stylesheet. However, every time a new line is encountered; it assumes as text by default since its a journal ...
5
votes
1answer
119 views

How to calculate the mean of images?

In practice, subtracting the mean image from a dataset significantly improves classification accuracies. I thought there would be a ImageMean[] function but can't ...
3
votes
0answers
47 views

Issues adding properties to multigraph

Today I was working with a large multi-graph with properties on the edges when I discovered that properties aren't assigned as expected. My preferred graph construction method is to specify ...
1
vote
0answers
55 views

Manipulate After upgrading to windows 10 [closed]

After upgrading to windows 10, whenever I run any kind of Manipulate function in Mathematica 10.1, the program freezes. This can be as simple as Manipulate[x,{x,0,5}]. Does anyone else have this ...
0
votes
1answer
34 views

How to implement specific cell grouping behavior?

Here's the situation in my Mathematica notebook: I'd like the bottom cell to be grouped with the cells above it. Here are those same cells toggled into code: ...
2
votes
0answers
50 views

FindMinimum pre-conditioning

I am wondering about what kind of pre-conditioning FindMinimum performs on the user specified function (to be minimized) before the actual minimization starts, and ...
0
votes
2answers
108 views

Plot the solution of an equation

...
5
votes
1answer
44 views

Dynamically highlighting elements sharing common properties

I want to make a table of elements such that when the cursor is over a target element, all other elements of the table sharing some specified common property with the target are highlighted (let's say ...
7
votes
0answers
60 views

How to rasterize a Graphics3D expression into an Image3D?

I'd like to make a 3d image from a 3d graphics. Unfortunately Rasterize@Graphics3D[Sphere[]] gives a 2d image, is there any function like a Rasterize3D that does ...
1
vote
0answers
43 views

Frontend of 10.2 Really Slow / Dropping Input

I just updated from 10.0.1 to 10.2 in the hopes that it would fix an infuriating intermittent crashing issue and the frontend seems top be way slower and sometimes freezes for about a second dropping ...
3
votes
2answers
75 views

Working with CDF Deployment

I've been working with FreeCDFs in Mathematica 10 and it has been going fine as long as I do not pull from a database or access local files. I recently purchased the Mathematica 10.2 Enterprise ...
2
votes
0answers
27 views

Error importing MBOX file

I am trying to import the mbox file generated by gmail. Using the Import command. ...
6
votes
1answer
132 views

Is it possible to speed up the user-defined function CAGDBezierSurface?

For given control net of points $P_{i,j}, \quad i=0,2, \cdots m, \quad j=0,2,\cdots, n$,the Bézier surface is defined by the following equation: ...
3
votes
1answer
82 views

Preventing a Print expression from generating a new cell each time it executed [duplicate]

In reference to the following code: Button["Start", Print[Plot[x^3, {x, -1, 1}]]] When I click on the button the first time, I get a plot of $y = x^3$, perfect. ...
0
votes
2answers
82 views

Converting the units of an equation or expression (how to become 3 times heavier…)

(THIS QUESTION HAD A MAJOR SIMPLIFICATION EDIT) Lets suppose I want to convert the falling body equation, from one set of units to another. I start with: ...
15
votes
2answers
1k views

Scraping High-Res images from the MoMA and the Van Gogh Museum websites

Many art websites allow the user to zoom into an image to see it at high resolution by using image tiles. It is great on the website, but presents problems if one wishes to compile a complete high ...
2
votes
0answers
39 views

How to do text recognition in a language that doesn't use the roman alphabet [closed]

I am trying to reconize a single letter or character from a non-roman character set by edge detection. I want to extract single characters from a text image. When I identify that letter or character I ...
0
votes
0answers
34 views

Assignment problem in Mathematica [duplicate]

Doing work ... v := {v1, v2} := {1, 2} ... I get that v is a vector of length two (and this is enough for me), but unfortunately in v1 and v2 are not assigned 1 and ...
0
votes
1answer
61 views

Working with functionals [closed]

I am trying to work with functionals in Mathematica, this means that I want to define a function of a function. I defined my function of a function as: ...
1
vote
0answers
40 views

Why is BinaryReadList faster than BinaryRead? [closed]

I work on a package for Mathematica which reads some binary data from a file. I use BinaryRead to read data from the file, but it looks like ...
2
votes
1answer
66 views

How to find the local minimum points in the multi-dimensional numerical data?

I am trying to get some local minima of an n-dimensional function (which only has numerical form). For two-dimensional function data, we can find the local minimum points from the contour plot easily. ...
3
votes
0answers
34 views

Front end responds slowly when writing

I have Mathematica 10.1 running on a Windows 7 laptop (i7 processor, 64-bit system with 4 GB Ram). The issue is that when I type in commands the letters build up very slowly on the screen. E.g. when I ...
1
vote
1answer
52 views

Strange behavior: Cannot import data as MP3 format anymore

I am having the strangest problem since a day: Mathematica is no longer (after a reinstall) able to import MP3 files. I think these details should not be relevant, but they are all there are: It ...
-1
votes
1answer
61 views

Running a function with manipulators in a popup window [closed]

I have a function, pasted at the bottom, which I would like to encapsulate into a function that can be called, and the program would then run in a popup window, return the values energy, peaklocation ...
2
votes
1answer
293 views

converting Matlab program to Mathematica code

I have the following Matlab program; ...
2
votes
0answers
46 views

Explicitly find a guaranteed factorization of large expression?

Consider the large expression LE defined in this file (involving only linearly independent functions), or in this file (linear interdependence present but slightly ...
1
vote
1answer
43 views

Update an application on the click of a Button

I am finishing my first program in Wolfram Mathematica 10 and if I have almost completed is essentially thanks to this valuable forum soon where I will try to help too. Basically, now I have this ...
1
vote
1answer
95 views

ODE of an eccentric circle

How can we simplify the solution in: DSolve[ {Sqrt[ 1 - (r[t] - T^2/r[t])^2/(2 a)^2]/(r[t] - T^2/r[t])/(2 a) == r'[t]/ r[t], r[0] == T}, r, t] (r,t) are polar ...
3
votes
2answers
65 views

How to specify different colors for edges going between the same two vertices in Graph?

Here is an example: edge1 = Property[1 -> 2, EdgeStyle -> Red]; edge2 = Property[1 -> 2, EdgeStyle -> Blue]; Graph[{edge1, edge2}] This does not ...
3
votes
2answers
71 views

how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...
1
vote
2answers
62 views

Condition on Inside of Region

How do I handle boundary conditions present in the region. Mathematica complains about the condition v [1 , t ] == u [1,t]. The condition should be given to this ...
4
votes
1answer
58 views

How can I remove I a horizontal line I inserted into my notebook?

Inserted a horizontal line with Right click > Insert > Thin Horizontal Line. Cannot see a way to remove such a line. Help!
7
votes
1answer
125 views

Reading a HDF file im Mathematica

Bug introduced in 8.0 or earlier and persisting though 10.2 On OS X, the problem is present in 9.0 but not in 10.0, 10.1 or 10.2. I am trying to read a HDF file in Mathematica 9 on OS X and get ...
1
vote
3answers
133 views

Inconsistent units? [closed]

I have reviewed this statement until my eyes hurt; can someone tell me why the units output aren't lb/ft^2? ...
0
votes
0answers
63 views

Getting Boston Marathon Data [duplicate]

I am trying to use Mathematica to analyze the data given by the Boston Marathon concerning running time, etc. The website http://registration.baa.org/2015/cf/Public/iframe_ResultsSearch.cfm gives a ...
1
vote
2answers
35 views

Replace function with multiple functions while respecting the inputs

I want to replace a function with either one or two functions and also combine their arguments. Say I have an original expression expr = u[i + 1] r[i] r[i-1] ...
1
vote
3answers
112 views

Scatter plot with smooth lines [closed]

I have two lists of data between which there may be some functional dependence. I want to plot one against the other (hence scattered plot) where the points are connected by smooth lines. In ...
4
votes
2answers
124 views

Postprocessing of CFD results in Mathematica

I was trying to perform computational fluid dynamics (CFD) post-processing in Mathematica after solving primitive variables from Navier-Stokes equation, mainly $(u,v)$, $(Px,Py)$. Since I am not an ...
19
votes
1answer
193 views

Strange behavior with Cases and Position with SetDelayed

I feel like I must be missing something simple and obvious here, but this has me scratching my head. This works as expected: ...
0
votes
1answer
59 views

Plotting data from an interpolation [closed]

I have this program f = Interpolation[arw, InterpolationOrder -> 1]; Do[wx = Random[Real, {0, 1.5695}]; fwx = f[wx]; Print[fwx, " ", wx], {1000}] I want to ...
4
votes
1answer
36 views

Pressing a Button aborts the evaluation [duplicate]

I'm doing a program in Mathematica 10 and I need to use different buttons like Button["Start", Module[{}, 'routine']] It all works wonderfully when the routine ...
1
vote
2answers
47 views

Detect Mathematica operators eg. \[CircleTimes] in strings

I'm trying to detect all Mathematica operators/symbols (eg. [CircleTimes], [Colon], etc.) in strings so I can replace them with something else, how can I achieve that?
1
vote
1answer
59 views

Assign List of Vectors to List

I want to assign a list of vectors (though each only contains one) to a list. For example, create list called "eVectors" and do ...

15 30 50 per page