Mathematica

Mathematica

  • All Sites
  • All Meta Sites

3 answers

Neural Networks package in Wolfram Mathematica is not Parallel?

I just created a VERY large neural net, albeit on very powerful hardware, and imagine my shock and disappointment, when I realized that NeuralFit[] from NeuralNetworks` package only seems to use one ...

0 answers

Time series estimation in R vs. Mathematica

I'm fitting an IMA(1,1) [or ARIMA(0,1,1)] model to a time series. I tried using the arima function in R, and the EstimatedProcess function in Mathematica (ver. 10), and I got very different results. ...

1 answer

Assist “Solve[]” by Providing Variable Ranges

I am trying to solve a system of equations (5 unknown variables, 5 equations) but the Solve[] function just hangs and I have to abort the evaluation. I can understand as some of the equations are ...

1 answers | yesterday by john on Stack Overflow stackoverflow.com
2 answers

Defining function through its properties

I'm interested in defining an abstract function f[x,y] in Mathematica through its properties only. For instance, I would like Mathematica to know and simplify using f[a+b,c] = f[a,c] + f[b,c], etc. ...

2 answers | 2 days ago by Prahar on Stack Overflow stackoverflow.com
1 answer

Nested if conditional in Mathematica

Do you know if and how I can rewrite the code below in a better form for different values of m, k, and l? It is a nested if conditional construct that I want to check b for all m, k, and l, but the ...

0 answers

Derivative with respect to a tensor in Mathematica

I am trying to differentiate a tensor with respect to another one in Mathematica but I cannot do it. Could anyone please help? The following is the code: $Assumptions = A \[Element] Arrays[{3, 3}, ...

0 answers

Assign a symbolic tensor with determinant greater than zero in Mathematica

I can create a symbolic tensor in Mathematica: $Assumptions = F \[Element] Arrays[{3, 3}, Reals] Is there anyway that I can tell Mathematica, that the determinant of this F tensor is greater than ...

0 answers

How to programmatically extract mathematical formulas from Word with VBA?

I have a bunch of(1000+) Microsoft Word document in .Docx format. How can I programmatically extract the two-dimensional mathematical formulas from MS Word using VBA? This is what example looks like ...

1 answer

FindRoot with an Interpolation involving units

Using Mathematica 10 I've defined two linear interpolating functions involving units: the first was written by my own and the second is the built in one. What I need to do is using a simple FindRoot ...

0 answers

Solving over-identified model in Mathematica

I am having trouble with using the "Solve" function for an over identified model in Mathematica. For a just identified model, where I have as many equations as I do unknowns the "Solve" function ...

1 answer

CheckAbort inside MathLink functions?

I just found that such MathLink functions as LinkWrite and LinkRead have something like its own internal CheckAbort that absorbs any aborts, and does not propagate them further. This can be easily ...

0 answers

Find the maximum hyperrectangle contained in a set of points

I have a question similar to this one ( Find the largest rectangular block satisfying some condition without iterating explicitly). but in my case I have a multidimensional (up to 6 dimensions) binary ...

1 answer

Scaling axis on Mathematica's plots

I'm trying to get the plot below only I want the ratio y:x to be 1:1 instead of 2:1. I want the ellipse to look tall and slim instead of short and fat. Here's the code line if you want to copy and ...

0 answers

How to convert image into text using any API in your website?

I want to add a service in my website in which an option is present where anyone can convert image into text (word document file)?

1 answer

ColorFunction with InterpolationFunction in RegionPlot3D

I am writing to ask a question regarding the implementation of a field-dependent color in a 3d region plot in Mathematica. Specifically, I have created the following plot, where f[x,y,z] is an ...

4 answers

Automatically saving notebook (or other type files in mathematica) files

I have been facing this problem for sometimes now, a laziness caused in part by the fact that Microsoft Office automatically save files you are working on with versions and automatic recovery. Many ...

0 answers

Basic Example in Documentation does not work. Error: is not a non-empty list of valid variables

I tried to evaluate the following lines of code (Example is taken from the documentation: https://reference.wolfram.com/language/ref/Div.html) f[x_, y_, z_] := x g[x_, y_, z_] := y h[x_, y_, z_] := z ...

1 answer

Translate WolframAlpha query to Mathemtaica code

There is a way to convert question from wolframalpha to mathematica code?For example, I asked the question "notable people born in France" on [wolframalpha:http://www.wolframalpha.com/], and I want to ...

2 answers

Partition Equivalent in Julia

What is an equivalent for Mathematica's Partition function in Julia? Mathematica's Partition[list,n] takes an array and partitions it into non-overlapping sub-list of length n. On the other hand, the ...

1 answer

How do I plot normal distribution

If I know the range (1-24) and know the area (X), how can I plot a normal distribution so that the curve has area X?

1 answer

vector constraint mathematica

I'm doing an optimization and I'm having trouble specifying vector constraints: FindMinimum[{PortfolioVariance, {Total[WeightsVector] == 1}}, WeightsVector]; But when I add a constraint to the ...

1 answer

What algorithm is used to implement HermiteH function (mathematica)

I need to port a numerical simulation written in Wolfram Mathematica to another language. The part that is giving me trouble is that the code is calling the HermiteH function with a non-integral order ...

0 answers

Mathematica: how to convert from symbolic to numeric?

I have a question regarding my mathematica notebook: f[x_] := e^x - x - 2 Nt[x_] := x - f[x]/f'[x] x0 = 2.5; n = 10; L = NestList[Nt, x0, n] Mathematica displays me the symbolic solution. My ...

0 answers

Mathematica Nested Manipulates Lag

Ok! I'm working towards building a nested manipulate command that will solve n number of damped oscillating masses in series (with fixed endpoints). I have everything pretty much working but I have ...

1 answer

How to combine two tables

This must be super easy, though I can't figure it out. I have these two tables: examplea = Table[{a, i, attrib1, attrib2, RandomInteger[10000]}, {i, 1, 3}] // TableForm a 1 attrib1 attrib2 ...

1 answers | Nov 14 at 11:01 by user4252007 on Stack Overflow stackoverflow.com
5 answers

How to create a function directly from the output of Solve

If I evaluate Solve[f[x,y]==0,x], I get a bunch of solutions like: {{x -> something g[y]}, {x -> something else}}, etc. Now I want to convert each of those x->somethings into a function. ...

5 answers | Nov 14 at 10:05 by user564376 on Stack Overflow stackoverflow.com
1 answer

Generating a data set that approximates another given random variable

One of the question my friend was asked in technical interview : The probability density function for a normal random variable with μ = 0.6 and σ = 0.7:​ Below is the code to generate the ...

4 answers

How can I find all possible values for an option in Mathematica?

If I have an option, for example AxesStyle, how can I find possible values for it? I know that one of the possible values is Arrowheads, but can I find others? I was looking for lists or something ...

4 answers | Nov 12 at 22:49 by balboa on Stack Overflow stackoverflow.com
3 answers

Why do BarChart graphics exported from Mathematica have pixelated text? Is there a workaround?

I've been showing off my fancy new graph formats to colleagues, but we have discovered that graphics based on BarChart have jagged text when exported as EMF, WMF, PDF etc. Line graphs based on ...

3 answers | Nov 12 at 22:11 by Verbeia on Stack Overflow stackoverflow.com
1 answer

Expected number of passengers for the flight

One of the interview questions that I was asked was : The small commuter plane has 30 seats. The probability that any particular passenger will not show up for a flight is 0.1, independent of ...

15 30 50 per page
1 2 3