# All Questions

34 views

### Export a 3D array (with time) from matlab to mathematica

I am using again Mathematica and enjoying it. I have a question, is there a way to do a "time" plot of 3D vectors? I try to be more clear, I have 12 vectors (3D vectors). They are changing over ...
98 views

140 views

### Issue with Set function

Tables often come with column headers. Indexing the columns with the header is a natural thing to do. Although a proper dictionary is the usual solution in such a case, I find it often practical and ...
108 views

### Running PowerShell commands in Mathamatica

I'm trying to execute a PowerShell command using Mathematica. Someone has made it before? I tested my command direct in PowerShell, and it worked nice, but no ideia on how can I make Mathematica to ...
76 views

### How to change plot unit or scale the number of axis?

I want to use ms instead of s as the unit of x-axis. But frameticks seems not to work here as it cannot change the value of x-axis. How to replace the number of x-axis 0.0001 with 1 or 0.1? Or just ...
29 views

### Why does ParallelMap throw errors where Map does not?

I am encountering a problem with ParallelMap. I have a call in a large code base, part of which attempts to fit data in parallel using ...
193 views

### Setting OperatorSubstitution to False has issues with PDF and EPS exports. Are these bugs?

In Plot, I would like to use my own font, eg Inconsolata, for operators such as ×, so I set OperatorSubstitution to ...
89 views

### Solving differential equations with Wolfram Mathematica

So i saw this differential equations in my textbook $\frac{{{d^4}\omega }}{{d{x^4}}} + 4{\lambda ^4}\omega = 0$ and i figured why not solve it with majestic Wolfram Mathematica, so i write this ...
56 views

### Selective data append to nested list

I have a list of database id and stock indicies which I use to withdraw the related price data. lis = {{4470, "^AEX"}, {4471, "^AFLI"}, {4472, "^AORD"}} I use ...
79 views

### Dynamic arrays and lists with compile (Append, Linked lists etc.)

I have a code that I need to compile. The code contains a loop in which I need to gather data into a list. The question is how to best gather data so that the code works inside Compile. The following ...
49 views

### Show [In] and [Out] tags after quitting Mathematica

I cannot find a way to show [in] and [out] tags when evaluating cells after I close the application. Is there a way to keep these shown? I disabled the kernel in global options but cannot transfer ...
47 views

### Tutorial for Map, Apply, etc

I have this code: ...
57 views

### Find confidence interval for negative binomial using Mathematica

I would like to find the exact 95% confidence intervals on the mean of a negative binomial random variable using Mathematica. It is possible to approximate the distribution using a gamma/normal, but ...
20 views

### Is there any way to format the results of Wolfram|Alpha

I have noticed that when getting Wolfram|Alpha results via WolframAlpha[], the output is formatted to (what appears to be) Times New Roman and Helvetica for units ...
31 views

### Parallelize: No speed-up when using with FindMaximum

I have developed a program to compute the maximum value of an specific function multiple times, with different parameter values each time. I've been using the ...
23 views

### Returning multiple results from compiled functions in M10 [duplicate]

I have found a similar question from 2012 here. It has been 3 years now and we have version 10. Have there been any attempt to solve this problem either by Wolfram or by the community - how to return ...
42 views

### Tools for factoring large numbers [on hold]

My laptop is Acer aspire one , what do I need for factoring very large numbers,say 1000 digits in reasonable time .What the best thing I can do, Should I buy something ? (Software ?). Is mathematica ...
30 views

### Display of ConfusionMatrixPlot depends on Stylesheet

I´m using Classify and do the testing via ClassifierMeasurements. Now I observed that ConfusionMatrixPlot is not shown correctly when using StyleSheet Report(default). Maybe you can reproduce (example ...
29 views

### Using TransformationFunction

I try to use the result from the function FindGeometricTransform. It returns an error and a TransformationFunction. The TransformationFunction is technically a 4x4 matrix. But how can I use the ...
97 views

### n-fold convolution

I am trying to calculate n-fold convolution of a function as $G^{*n}(x)$ where $G(x)=1-a*exp(-b)+b*ln(b)$. I tried this function, Convolve[G[x], G[x]^{n - 1}, x, x] but it didn't give any answer. ...
2k views

### How to find the Shortest Path, visiting ALL vertices, without coming back to the start (Hamiltonian Path, minimum distance)

A car has to pick up each person and take them to their destination. I am trying to find the shortest tour that will do this. How can I find the shortest path between any s and t.... visiting all ...
44 views

### Precision of starting values in FindMinimum [on hold]

I am currently working on an optimization of chemical kinetic model. Starting points for FindMinimum are defined as: ...
40 views

### How to list plot data where the slope determines if it is plotted from a list of data?

I am trying to listplot data from a list of data where the slope of the curve determines if it is plotted. Example: Lets say the data measured is of the form x^2. I measure this data multiple times ...
38 views

### Import succesful when file manually deleted

apparently Import keeps an imported file i the cache and doesn't complain for some time if a file is deleted manually from the system and then it is imported. If the file is deleted from within ...
12 views

### Dashed/Hatched filling in RectangleChart [duplicate]

I am making a RectangleChart where I want one of the rectangles to be hatched (dashed filling). You would think this would be easy in Mathematica, but I have not been able to find the code for this. ...
42 views

### Create a list of all functions given a set of arguments

I'm trying to examine some patterns on the permutation of elements in finite element functions. I'd like to create a list of all functions (256 of them) on ...
81 views

### Unexpected slowness checking for empty list?

I thought I had a firm understanding of the differences between Equal and SameQ, but this has me puzzled: ...
40 views

### How to see partial results during evaluation [duplicate]

I am computing a long Table[], but the computation of the last few elements is taking too long, and I am afraid I will never converge. I would like to access the ...
169 views

### Random walk with fixed initial and final coordinates and the length

Looking at the problem of a random walk in 2D or 3D, I would like to generate several trajectories that start all in some starting point, say, (0,0) in 2D and (0,0,0) in 3D and end up all in a ...
102 views

### ListDensityPlot and RegionFunction

I have the following ListDensityPlot : ...
37 views

### How to eliminate all terms of a variable with square root in an equation?

I did the following thing: take an equation with square root terms, by moving terms and squaring two sides, finally ending up with a polynomial of the specific variable. My algorithm is like this: ...
38 views

### Change date format in nested lists

I have a list of index symbols and data as follows: ...
69 views

### Can a whole Mathematica program be placed inside my functionMain? [on hold]

Consider this C code #include <stdio.h> int main() { printf("Hello world\n"); return 0; } A Mathematica equivalent could be ...