0
votes
1answer
61 views

Constructing a grid of individual plots for data imported from a list of files [closed]

I have to plot 6 data plots (ListPlot) in a GraphicsGrid from 6 different files (each data file has four columns of which the ...
1
vote
1answer
77 views

How to assert that a list of variables is real in a nice and clean way

You can use the function Element to say e.g. $x,y,z\in\mathbb{R}$ via Element[x | y | z, Reals]. Now if I have a list of ...
3
votes
2answers
87 views

Creating a tube with custom caps

I need a tube with only one end capped. I can do this relatively easily with: ...
0
votes
0answers
80 views

how can I plot the Normalized histogram [closed]

I have a table of r and w. I want to chose a random w in the interval [0-1.6] and with interpolation find r relative to this w. For 1000 {W[r],r} I should plot the Histogram with Normalized factor ...
-2
votes
0answers
25 views

“Extract” certain elements of a list of “rules”? [duplicate]

I have the following list: {u1[0] -> 3773.62, u2[0] -> 3773.62, u3[0] -> 48.7871} I need to extract the elements on the right hand side of each rule ...
0
votes
1answer
60 views

DSolve Error 3D Navier Stokes (z,r,t)

I am essentially wanting to solve Navier Stokes in the [z,r,t] dimensions (2D+Unsteady Flow) for pressure driven flow. However, I keep getting an error I am unable to resolve in my Dsolve such as: ...
4
votes
1answer
160 views

How can I draw this polyhedron?

I'm high school student, and I am doing research about buildings using Mathematica. I want to plot the polyhedron shown below: I have tried using Table, but it ...
1
vote
0answers
54 views

Jagged appearance of lines in 3D plot

I wanted to know if there's a simple way to plot some field lines of a 3D vector field, something like an extension of StreamPlot. I've searched for a while, but ...
3
votes
1answer
64 views

Table generation with SetDelayed function [closed]

I would like to understand why the following two outputs differ: Let us define the following data set: ...
4
votes
1answer
41 views

How to auto-run user-interface in Player Pro

I am about to start constructing a UI that will be run with Player Pro. I have created the following notebook and marked it cells as initialization cells. ...
1
vote
2answers
142 views

Trying to solve a system of equation

I am trying to solve 3 equations 3 unknown system on Mathematica in order to get numerical results for my three variables x,y,z but the software is always on the ...
1
vote
0answers
34 views

Using precision in Mathematica code [duplicate]

I would like to use a specific precision for several different calculations in Mathematica code. I know that using SetPrecision can give you the required precision ...
1
vote
0answers
32 views

Linear Programming Using Dual Simplex method

I want to solve an optimization problem using the Dual Simplex Method. Although Mathematica gives the result directly when I use the command Minimize but I want to ...
1
vote
0answers
35 views

Solving a Nonlinear Optimization using Primal-Dual Interior point method [closed]

I want to solve an optimization problem using the Primal-Dual Interior Point Method. Although Mathematica gives the result directly when I use the command ...
0
votes
0answers
19 views

Creating points that are remoted from one another beyond a certain threshold. Quasirandom sequance? [duplicate]

I am looking for an approach to create a set of pseudorandom pairs of numbers subjected to one condition. They must be not closer to one another than a certain limiting parameter. One approach might ...
9
votes
2answers
94 views

Why does this LibraryLink example of LinkObject based passing not work? Bug or user error?

There's an example of LinkObject-based passing in the LibraryLink documentation. Unfortunately the cell in the documentation notebook is corrupted, but to skip ...
0
votes
1answer
82 views

Singular integral mathematica

A = Integrate[Sin[2 x] / (A1 - B1 Sin[2 x] + C1 Cos[x] - D1 Sin[x]), {x, 0, 2 Pi}] The calculation is taking too much time; not returning any results. Any help?
3
votes
1answer
104 views

How can I fix a defect in the 3D graphics rendering of a coiled tube? [closed]

I use the following code to obtain a tube version of a spring: ...
3
votes
1answer
232 views

Simulating an optimization problem

I have an optimization problem like below: $\text{minimize } - \sum_k w_k \log r_k$ $ a \leq r_k \leq b_k, k = 1, \cdots, 10$ Here, $w $ and $b$ is a set of constant: $w = [w_1, \cdots, w_{10}]$ ...
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
28 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
54 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
33 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
107 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
29 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 ...

15 30 50 per page