2
votes
1answer
218 views

Tensors with mixed symmetry

I want to work with tensors of mixed symmetry, for example with a rank 3 tensor $A_{ijk}$ that is symmetric under the exchange of $i$ and $j$ and antisymmetric with respect to $i$ and $k$. I was ...
1
vote
1answer
123 views

How can I reshape my solutions to make a 3D plot?

I need some help on the following. I need to run Solve for multiple values of a and b. To do so instead of using Do, I use ...
7
votes
1answer
222 views

Applying a texture to part of a sphere

I am trying to texture a sphere with a picture of myself. I don't want it to be stretched across the whole sphere but only to appear on the front. I used ...
7
votes
4answers
1k views

How to fit a surface to 3D data in Mathematica?

I have a set of data coordinates which is mostly compatible with an Ellipsoid: {{x1,y1,z1},{x2,y2,z2}, ... , {xn,yn,zn}} Now I want to find the best 3d volume ...
4
votes
1answer
158 views

How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
2
votes
1answer
69 views

Replace parts of nested lists

I have list of stock data as follows: lis1= {{{1992/10/12, 126.946, AEX}, {1992/10/13, 127.85, AEX}}, {{1992/10/12, 88.487, AFLI},{1992/10/13, 91.825, AFLI}}} ...
-1
votes
1answer
52 views

Use two functions for x and y coordinates for a plot [closed]

I try to make a plot out of two functions. It is a cycloid I want to plot. These are my two functions: ...
19
votes
1answer
583 views

Right Ascension and Declination in astronomical functions

In the process of answering this question, I was forced to confront the various astronomical coordinate systems used by Mathematica. Background In astronomy, positions of celestial objects (stars, ...
2
votes
0answers
88 views

Optimization of custom probability distibutions?

Consider the two tests: Timing[Do[RandomVariate[NormalDistribution[0.5, 0.3]], {200}]] {0.001188, Null} ...
4
votes
0answers
49 views

Strange behaviour of suggestion bar to solve an ODE, potential bug

InputE^(-(1/2) x[t]^2) (Derivative[1][x][t]^2 - (x^\[Prime]\[Prime])[t]) == 0and evaluate, then press the solve ode button on the suggestion bar. It will return ...
7
votes
2answers
331 views

Integrate fails for generic parameters but works for any specific values (v. 10.0.x bug)

Bug introduced in 9.0 and fixed in 10.1 I was trying to get the following integral ...
6
votes
1answer
92 views

Completion in terminal?

I know that it is possible to run Mathematica in Terminal. But I didn't find a way to get completion work in Terminal. I mean completion by ...
1
vote
1answer
78 views

Get Coefficient of polynomial excluding variables

I'd like to write a function that returns the coefficient of a polynomial, but excludes some 'cross-term' coefficients. The function could be called CoefficientExclude, and the first argument would ...
0
votes
1answer
112 views

Root: Simplifying symbolic expression

I'm doing calculations with a lot of symbols, which don't always gives nice expressions. Now I have a solution with a Root-expression, where the coefficients are symbolic, e.g. ...
1
vote
1answer
186 views

PlotLegends in ListPlot does not display different markers

I would like to plot a graph with the legends at its side. However, I have managed to plot the legends, but the markers do not match the one in plot (picture bellow): My code for that plot is: ...
5
votes
1answer
182 views

DynamicModule issues with Refresh, double evaluation, and CDF Player preview

I am in the middle of making a CDF for a calculation of many random variables. I've gone with DynamicModule and have read the documentation plus these posts: 32294 ...
22
votes
3answers
431 views

Can't inject EncryptedObject

Bug present from 10.0 to 10.3.1 and fixed in 10.4.0 !! Here are minimal examples: ...
1
vote
0answers
95 views

FrontEndObject::notavail: error when using math

I am new to mathematica script and thus I don't know whether this generated error is natural or not. When I write a command such as echo "3" | math in the ...
1
vote
0answers
62 views

Find volume of a translated and rotated ellipsoid below xy (horizontal) plane [duplicate]

I am trying to find the volume of the lower part (above horizontal plane) of an ellipsoid that is clipped by the horizontal (or x-y) plane. This ellipsoid is also translated (i.e. origin is not at ...
6
votes
2answers
422 views

How do I plot my country map with weather data stations?

I've tried this code, but I can't plot the coordinates in my country map. ...
0
votes
0answers
40 views

Symbol-handling, force-replace instanced variables within functions! [duplicate]

Currently I am stuck with the issue of renaming an instanced variable like r1$23314 to a global one. This issue arises as I need to use a "localizeAll" Module in ...
0
votes
1answer
61 views

Why won't the Rule work? And how to apply it to a combination of variables?

I want to convert SI to Gaussian units given vectors: ...
4
votes
2answers
142 views

Coarse-graining in numerical integrations

I have been working recently in a coarse-graining problem I found when using NIntegrate: I am trying to evaluate the function $$f(a)=\int_0^{\infty}x\,e^{-(a^2+b^2)x^2}\text{d}x$$ numerically as a ...
1
vote
0answers
85 views

Twilight Zelda Guardian Puzzle : Shortest Path Proof [closed]

I'm playing a video game right now and in it is a puzzle (see here). There are solutions to solving it (see here) on the Internet, but I'd like to know if this path is the shortest path (least amount ...
6
votes
1answer
511 views

Removing gutter shadows from scanned pages

I am new to image processing, and I was hoping someone might set me in the right direction. I am trying to create a simple toolkit for personal use for digitizing scanned book images into a database. ...
0
votes
1answer
83 views
2
votes
2answers
97 views

Dimensions of pdf generated by Export[…]

I'm trying to export a Grid table to pdf. When I display the table in the notebook, it has a very long aspect ratio, which I want to preserve in the pdf. However, ...
6
votes
3answers
238 views

List and patterns

Given some tuple $\{N,M,L\}$ such that $N\geq M\geq L\geq 0$ and $N>0$, how can I generate all tuples $\{n,m,l\}$ such that $n\geq m\geq l\geq 0$ and such that ...
4
votes
1answer
526 views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
1
vote
1answer
81 views

Subtracting Series

When I input the following $$\sum_{n=0}^{m+1}x[n]-\sum_{n=0}^{m}x[n]$$ which in InputForm is: ...
0
votes
1answer
67 views

What is Duration in MonitorLM output?

What is duration specified in MonitorLM output? Is it start hour and minutes or is it total number of hours and minutes used?
1
vote
2answers
51 views

Gather elements in sublist by first element for the purpose of summing [duplicate]

I have data which looks like this: ...
2
votes
1answer
146 views

Barchart recognize time series data?

I can't seem to get Barchart to recognize TimeSeries data. For example, my data is: {{1891, 1}, {1892, 1}, {1897, 1}, {1898, 1}, {1903, 1}, {1904, 1}, {1905, 1}, {1908, 4}, {1909, 6}, {1910, ...
1
vote
2answers
151 views

Express recursion formula by Nest function

I'm fairly new to Mathematica and I have to express a formula by Mathematicas Nest-function. I'd like to find the solution for my formula by my own, thats why I ...
1
vote
3answers
212 views

2D Interpolation of data file

I hae a datafile with 5 columns of the structure: x_i f(x_i,y_1) f(x_i,y_2) f(x_i,y_3) f(x_i,y_3) f(x_i,y_4) with i = 1 to about 100. Thus there are about ...
2
votes
1answer
143 views

Mathematica - Count number of zeros of a function in an interval

Let's say I have a function, F[x_,d_] = Sqrt[(x^2 - 1)^2 + d^2], and I want to count how many roots (no root, or one root, or two roots etc.) it has in an ...
0
votes
1answer
100 views

Sampling Points Between Two Functions and Plotting Sample Points? (I have partial code) [duplicate]

I want to sample random points between $Cos(x)$ and $Sin(x)$ on $0 \le x\le \frac \pi4$ I was able to do graph the function here in Mathematica. I would like to count, and then plot points between ...
0
votes
1answer
128 views

Limit of a sum as number of terms approaches ∞

Is it possible to find the limiting value of function at large N? ...
1
vote
2answers
138 views
3
votes
1answer
248 views

Evaluation of Derivative in a Module

Can someone help me understand the evaluation procedure in the following two pieces of code? ...
3
votes
1answer
191 views

Benchmarking in V10.1.0 not showing the correct verision of Mathematica?

Bug introduced in 10.1 and fixed in 10.3 This was done in V10.1.0, but it's showing that as if it was done in V10.0.0? Computer Specs:(for those who are interested) ...
0
votes
1answer
186 views

Formatting an equation: X^Y to pow(X,Y)

I am trying to solve for the intersection of two circles with arbitrary centers and arbitrary radii. ...
0
votes
1answer
72 views

numerically solving

I am trying to solve for [Lambda] as a function of a (unknown) from this expression ...
8
votes
1answer
363 views

Diverging solution to coupled second order ODEs from NDSolve

For a physics application I am considering the radial Bogoliubov-de Gennes equations in two dimensions. In dimensionless form they read as follows $$ \begin{cases} ...
0
votes
0answers
86 views

How to interface ma output with webpage by php?

Since Raspberry pi has a free version ma, I am wondering how to interface it with php on web. I write some simple code as ...
1
vote
0answers
56 views

Algorithm for converting truth tables to Boolean functions

The function BooleanFunction is able to convert a truth table into a Boolean function. Does anyone know what is the mathematical background and/or algorithm that ...
1
vote
1answer
168 views

How to combine VectorPlot and Plot3D

I have a problem with VectorPlot and Plot3D, and I have a code for both but I dont know how to plot the same figure. Here is the code for Plot3D: ...
17
votes
2answers
374 views

Reconstruction of interrupted paths in images

I want to reconstruct paths in images and have already implemented a working method in Mathematica. On the left side you can see an image with interrupted paths and on the right side the reconstructed ...
3
votes
1answer
67 views

Cannot normally underline slash characters and hyperlinks

Really, if you evaluate Style["/", Underlined] or type / and set the font of the character to be underlined through Format|Font..., you get $/$, not ...
2
votes
0answers
52 views

How to convert a list of polynomials into a list of equations and plug into Contourplot? [duplicate]

Given a list q of polynomials (output of GroebnerBasis) in two variables I want to transform the list into a list of equations and plug it into CountourPlot. For ...

15 30 50 per page