0
votes
0answers
3 views
0
votes
0answers
3 views

Adding Assumptions changes the result of Integrate

When I try to calculate the following integral: ...
0
votes
0answers
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. ...
0
votes
0answers
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 ...
0
votes
0answers
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: ...
0
votes
0answers
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.
0
votes
0answers
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 ...
0
votes
1answer
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 ...
3
votes
4answers
35 views
-4
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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: ...
6
votes
1answer
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 ...
2
votes
2answers
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 ...
0
votes
0answers
27 views

3D plot of concave data set

I have the following data set ...
0
votes
0answers
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 ...
0
votes
2answers
32 views

Ctrl-V doesn't paste, it opens Find and Replace dialog instead

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 ...
6
votes
1answer
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): ...
0
votes
2answers
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 ...
0
votes
1answer
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 ...
12
votes
1answer
206 views

Confused about how Partition works

I have a problem about the padding list about Partition command. For instance, ...
0
votes
1answer
26 views

Show function doesn't plot two graphics [duplicate]

I've got a following code snippet: ...
1
vote
1answer
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: ...
1
vote
2answers
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: ...
0
votes
0answers
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 ...
2
votes
2answers
54 views
4
votes
3answers
102 views

Does RegularExpression support “(?R)”?

Mathematica's RegularExpression is based on Perl's PCRE library, which supports recursive regular expressions using (?R) (or, ...
5
votes
2answers
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 ...
-1
votes
0answers
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)
0
votes
3answers
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?
1
vote
1answer
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? ...
2
votes
2answers
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: ...
0
votes
0answers
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? ...
0
votes
1answer
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 ...
0
votes
3answers
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. ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
4
votes
1answer
39 views

SparseArray output triggers “unsafe dynamic content” warning

The first basic example in the documentation of SparseArray: ...
0
votes
0answers
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?
0
votes
0answers
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" ...
0
votes
0answers
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 ...
0
votes
1answer
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 ...
-1
votes
1answer
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 ...
1
vote
0answers
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. ...
2
votes
4answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
0
votes
0answers
59 views

Problem with FindRoot applied to functions

I am having difficulty with the error "is not a list of numbers with dimensions..." when using FindRoot (and other numerical routines in Mathematica) to solve equations numerically when the argument ...
0
votes
0answers
50 views

Enormous and unclear output when using Solve

After running for about 30 minutes the program yields the below-given unclear output (of course I didn't copy the whole output, only a small part of it). So it explicitely gives 3 possible solutions ...

15 30 50 per page