# All Questions

3 views

### Series expand root of quartic polynomial containing many real parameters and simplify return Indeterminate

Using Mathematica I can get the Eigenvalues of the following matrix: ...
3 views

### Adding Assumptions changes the result of Integrate

When I try to calculate the following integral: ...
14 views

### Very slow solve and problem when solving in a nested for loop

I am using a nested for loop to solve a system of equation for {a, ga} for 2 varying parameters: here it's rm and sig. ...
9 views

### AspectRatio on ListLinePlot only considering ticks and not values

I want to plot some data in a ListLinePlot where the x- and y-values differ by at least 2 orders of magnitude. In this plot the x- and y- axis should not be scaled differently. This is the result that ...
16 views

### Solve and NSolve Parsing Error

I've been using Mathematica to do simple line intersection solutions, particularly using NSolve. However, I've been running into the following bug recently. When trying to solve for the following: ...
26 views

### DeleteMissing issues

Has anyone had problems with the DeleteMissing[] function in Mathematica 10.0.2? I find that it rarely works. Most of the time it returns a list which still contains all of the missing elements.
9 views

### Subscript und Superscript in FrameLabel and Export

I'm creating plots that I want to export as png. Which works, but when I add sub- or superscript into the FrameLables or get 10^x in LogPlots the sub- or superscript letters in the exported png will ...
22 views

### How to prevent factorial from being evalauted?

Suppose I have: Do[Print[i/i!], {i, 1, 10}] I would like the output to be like: 1/1!, 2/2!, 3/3! , ...,10/10! However, when I use the code above the ...
35 views

### Deleting or replacing inner elements depending on higher level elements

Consider a data structure like: ...
34 views

### How to write the following subroutine in Mathematica and then how to call it? [on hold]

This is the routine wriiten in fortran i want to apply in mathematica as a subroutine and then want to call it where needed. I tried this one ...
30 views

### Plotting RandomVariates

I have simulated 10000 random variates from a copula distribution. I would like to plot them on a graph. How would I do this for a) If the random vector is 2 dimensional (so one on x-axis and one on ...
17 views

### BarChart with relative abundances as chart labels

I want to make the following bar chart, but with relative abundances on top of the chart labels. I get the absolute numbers, but not the relative abundances: ...
122 views

### I define a variable as local to a module BUT then the module uses its global value! Why?

I have a question about modules and local variables. Here's my example: h = 5; Module[{a, h}, a[h_]= h^2; a[4]] (*Out[2] = 25*) I expected the module to ...
37 views

### List of parameters to manipulate from an external list

I am trying to achieve the functionality of the following command: Manipulate[ z, {z, 0, 1}] but with passing the list of parameters into ...
27 views

### 3D plot of concave data set

I have the following data set ...
37 views

### What's the name of the default font used in Mathematica 10?

I really like the default font in Mathematica 10. So I would like to use it for my other applications. I tried to search for the name of the font, only found that a lot of people is talking on how to ...
32 views

I just installed Mathematica 10 on Windows 7 today. Everything works fine, except the shortcut Ctrl-V doesn't paste, it opens the "Find and Replace" dialog. I tried ...
58 views

### Assigning new value in association

I experienced a problem in changing values in an association and broke down the problem to the following: Given a list of association (here with one element): ...
23 views

### NIntegrate and Integrate of a Spherical Bessel function

I am trying to integrate over a spherical bessel function. I have used both the Integrate and NIntegrate functions in Mathematica but the values given by each do not match. Any reason why this ...
36 views

### Showing Legend in Wolfram Mathematica

The code below displays a histogram of the data and superimposes plots of five Weibull distributions for comparison. I have assigned colors to each Weibull curve in the distribution plots. How can I ...
206 views

26 views

### Show function doesn't plot two graphics [duplicate]

I've got a following code snippet: ...
29 views

### Piecewise function and integral function

Given a piecewise function f[t_]:=Piecewise[{{Exp[-1/t^2],t>0},{0,x<=0}}], I can define another function like this: ...
55 views

### How do I remove the quotation marks from each element of a list containing dates that I have import from excel?

I've been stuck in this problem for 1 week. I just want to make a graph (Log-Return vs time (in year, month, day)). The code is: ...
32 views

### Copula—Correlation Matrix [on hold]

I need some help with copula. I am using the copula with either the multinormal or the Student t kernel. I thought before that when I input in my correlation matrix, if I simulate enough random ...
54 views

### How to avoid NDSolve::ndsz problem (singularity problem)

I have the next model ...
102 views

### Does RegularExpression support “(?R)”?

Mathematica's RegularExpression is based on Perl's PCRE library, which supports recursive regular expressions using (?R) (or, ...
60 views

### Limit characters/digits entered into InputField

When using InputField, whether setting the input type as a Number or String, is there a way ...
27 views

### Can a polynomial have -1 as a power? [on hold]

Based on the definition of a polynomial. Can a polynomial for example be something like this and have a negative one as one of its powers? 3x + 3 + 3x^(-1)
39 views

### Assigning a value to specific product [on hold]

I was wondering if there is a way to assign a value to a specific problem. For example if I wanted $a\cdot a$ to equal $-1$. How would I go about doing that?
69 views

### How to prevent tiny complex errors in Integrate?

Integrate is adding a tiny imaginary error to an easy result. Why? And how can I stop it? ...
32 views

### FunctionInterpolation with vector output and scalar input

Apparently it is possible to build and InterpolatingFunction that accepts a vector input and returns a vector output: ...
29 views

### Print result inside the Do [on hold]

How can I print each root for each iteration Do without waiting the end of the cycle? ...
47 views

### What to use instead of ReplaceAll to replace a parameter with a number before the evaluation of an integral?

This is probably very simple but I don't see the solution now. Let us say I have a variable e defined as e=n ReplaceAll can subsitute n with value 3 using ...
55 views

### Is there a global setting for number form

Im creating strings which represent equations in C to use with library link. The problem i have is that numbers in scientific form, when converted to strings, are no longer useful. e.g. ...
28 views

### Unable to start the front-end

I just updated to Mathematica 10.0.2, and was hoping that it would fix a problem that I had been having where I go to run Mathematica and nothing comes up. If I open task manager, I can see that ...
24 views

### ColorFunction in GeoRegionValuePlot

I don't understand ColorFunctions so any general pointers will be greatly appreciated. My specific question is the following. I want to animate a GeoRegionValuePlot. In the toy case below I have two ...
44 views

### How can you set the scale ticks in a Gauge?

I can't seem to access a FrameTicks type option for setting the values of frame ticks on the axes of a Gauge. Below is an ...
39 views

### SparseArray output triggers “unsafe dynamic content” warning

The first basic example in the documentation of SparseArray: ...
38 views

### Nash equilibrium in game theory?

Are there examples of the solution of Nash non-cooperative games with mixed or pure strategies? How could be implemented in Mathematica 10?
33 views

### Plotting a function with multiple colors, without modifying ColorFunction

I have a function $f$ and a set $U$, and I would like to plot $f$ with a different color on and off $U$. At the moment, I am using a ColorFunction with an "if" ...
47 views

### Background of PlotMarkers

I use the StandardReport style sheet in my notebooks, but I would like to export plots without any backgrounds. Apparently, there isn't a global option to change the background on a plot, so I change ...
31 views

### why RegionPlot has cut in ring when changing plot range?

I am not sure I understand this one, thought to check with the experts. Please compare ...
57 views

### My code of plotting a two-variable function is too slow [on hold]

I have a code in which my complicated function to be plotted is F(x,p). I would like to graph it for 5 values of p equal to 10^7, 10^8, 10^9, 10^10 and 10^11 for x values between 0.01 and 0.99. All ...
47 views

### Roadmap for Workbench? [on hold]

Workbench 2.0 was an extremely useful tool for Mathematica Developers. I received an early release of Workbench 3.0 to work through debugging issues encountered with Mathematica 10 and Workbench 2.0. ...
177 views

### What is primary, function computation or function application?

What is the order of computations here? g[x_]:=x^2; f[x_]:=Sqrt[g[x]]; Map[f, Range[100]] Does this code first get $f(x)=x$ and then gives its values or for ...
32 views

### How to Compute 2D Convolution [on hold]

Given two matrix A and B, how to convolve them using Mathematica? I know that ImageConvolve can achieve 2D convolution for an image and a 3x3 matrix, but what if A and B are both large matrix? Is ...
28 views

### Dynamic check box with import!

Here what i am trying to do: I have a list of the names of excel files, for example s={"red carpet.csv","red box.csv","black carpet.csv","black box.csv"}; i am ...