# All Questions

0answers
8 views

### Manipulate curve together with data list

I have a function with two parameters that I want to play with by using "Manipulate[]". And a list of data that i would like to plot together with the function and see them under "Manipulate output ...
0answers
10 views

### How do I count a number of primes(say smaller than N) that does not contain 5?

Title says it all. How do I count a number of primes(say smaller than N) that does not contain 5?
0answers
9 views

### nested series expansion

I have to invert the following matrix in which the functions U[t,x,y,r] and K[t,x,y,r] and all their derivatives are "small"; ...
0answers
23 views

### Kronecker delta notation

Is there an easier way to enter KroneckerDelta[n,m] in Mathematica? When I use the notation $\delta_{n,m}$, it won't work.
0answers
20 views

### Plotting the solutions of a system of differential equations on a simplex

I want to solve and plot the solutions of the following system on the triangle simplex: x'[t] == x[t]*(2*x[t] - 2) y'[t] == y[t]*(2*x[t]) z'[t] == z[t]*(2*x[t]) ...
0answers
43 views

### Graphplot doesn't connect vertices properly

My problem is that the following: ...
1answer
32 views

### Substituting a function in the output

I have to calculate the derivatives of the function K defined in the code: ...
0answers
33 views

### Check if n! is divisible by an arbitrary number m [on hold]

If m\<\n, then it is divisible. What happens when m>\n ? Is there an efficient method to perform this check?
1answer
45 views

### alignment of plots [on hold]

I want to align my plots like I did with Gird[]. But you cracks here are using these short forms all the time. So, is there a way to achive this result in a better ...
1answer
33 views

### Is there a way to use pause in Manipulate?

Is there a way to do any similar to Do[Print["Iteration...", j]; Pause[1], {j, 1, 6}] with Manipulate? (to show the ...
0answers
35 views

### Fastest way to test a large set of large numbers for primality? [on hold]

Say I have a list of a million integers each with a million digits, and I want a crude sieve to see which have a chance at being prime. Mathematica has a PrimeQ function, which appears to be slow ...
0answers
25 views

### Given two samples, how does LocationTest select its AutomaticTest?

How does LocationTest select its "AutomaticTest" when testing two samples? Background: A previous post poses a similar question ...
2answers
365 views

### Detecting patterns of black and white stones on a 2D board

I'm writing a program to play a game of Pente, and I'm struggling with the following question: What's the best way to detect patterns on a two-dimensional board? For example, in Pente a pair of ...
0answers
17 views

### square footage to non linear time [migrated]

I'm a tarp maker and I'm trying to figure out how long it takes me to move the tarp around depending on the square footage of the tarp. For instance, it takes me 2 minutes to handle a 10sqft tarp, ...
0answers
23 views

### Linear functions [on hold]

F(x)=x^2/x+3 The following rational function describes blood concentration of a certain drug taken via IV over time First A). First the horizontal or oblique asymptote, if any B). the vertical ...
1answer
34 views

### ListPlot, PlotMarker -> y value [duplicate]

at first sorry if this question is already answered. I would like to display y value as plot marker in listplot ...
0answers
30 views

### Which doesn't accept a list as the condition [on hold]

Which doesn't evaluate a list. Furthermore, if a list is included as a test condition, that condition and everything after it fails: ...
1answer
42 views

### DSolve will not apply assumption m ∈ Integers

I am trying to solve a linear second order ODE using DSolve which involves an arbitrary integer m. ...
2answers
160 views

### Extracting financial indicator data from trading chart

How can the data of the directional movement index below be extracted from this chart? It seems to be embedded in some kind of dynamic module. ...
1answer
57 views

### How can I find a root of my transcendental equation near a certain point?

What function could I use to solve this equation for x: E^(-x^2) = 1 - Cos[x] I tried Solve, ...
0answers
16 views

### NDSolve within a DO loop and EventLocator [on hold]

I have to solve a PDE for different values of a parameter (h) to find a certain event. I have used different methods, but no success. The last thing I tried was using a Do loop. but there is no ...
1answer
138 views

### StringReplace, ReplaceAll and Rule interact in a bizarre way

I have the following pair of things: ClearAll[foo, labeledFoo]; labeledFoo = {"FooBarBazQuux", foo}; This works like you'd expect: ...
1answer
58 views

### How write this Function with many arguments? [duplicate]

F[x1_,x2_,...,x99_]:=expr How to write this Function in mathematica whithout complete write it?
0answers
39 views

### Graphing a piecewise function with very different time scales? [on hold]

I'm trying to graph a piecewise function, but the issue is that in one part of the plot, for example, there is extremely rapid growth within a tiny fraction of a second. Then, in another part of the ...
0answers
28 views

### Solving a 2 by 3 matrix by S.V.D [on hold]

There is a method to solve a 3 by 2 matrix by U1=(1 upon sigma1)*A*V1. Should I solve this matrix (3*2) by V1=A inverse*U1*sigma1 or any other method?
1answer
47 views

### Create a system of linear equations with an arbitrary number of variables

I am trying to write my game-theoretic model in Wolfram Language. At the moment, I am solving it for any given pair of parameters, where they are given by some integers (e.g. $5$ and $3$). There is ...
1answer
54 views

### How do I upload a graph as an adjacency list and find the betweenness centrality?

I have an undirected simple graph in a .txt file formatted as an adjacency list like this: 100 200 200 300 300 400 500 600 700 800 900 ... Every number is a node ...
1answer
42 views

### Append subscript to variable name [duplicate]

I'm importing equations from Word document and transforming them into input form. But subscripts look ugly. Is is possible to programmatically append subscript to variable name? e.g. ...
1answer
61 views

### Traces of products of Pauli matrices

Given a matrix $M$ of shape $2^L*2^L$, I would like to compute all the traces $\text{Tr}( M.(\sigma^{n_1}\otimes\sigma^{n_2}\otimes\ldots\otimes\sigma^{n_L}))$ for $n_1=1...4$, $n_2=1...4$, ..., ...
0answers
21 views

### Understanding the parameters required for Regression Analysis [on hold]

I have some data I would like to perform some regression analysis on so that I can create a formula to predict y given x. I ...
0answers
23 views

### Series expansion hangs on second evaluation [on hold]

I use this code to get the binomial expansion of $(1+x)^\frac{-1}{2}$ Series[(1 + x)^(-1/2), {x, 0, 30}] For the first time I excute the code it takes 0.036000 ...
2answers
52 views

### How can I insert the current date in a text cell? [on hold]

Ok I must be missing something. I have a section with the "last updated date" in a text cell, I'd like it to autoupdate. Is there a "insert current date" command hidden away in some menu?
1answer
61 views

### Optimizing evaluation time

I have the following code and it takes like foreeeeever to evaulate: ...
0answers
49 views

### Visualizing Dynamic Time Warping [duplicate]

I need combine 3 graphics into something like this Any ideas?
2answers
99 views

### How can i integrate over a set of data

i need to integrate over my data, which is denoted as {q, I},here I is the Intensity i need to obtain the form of the following integration( its not a numeric integration, because it contain x, next ...
0answers
22 views

### Minimizing roots of a transcendental equations [duplicate]

I'm trying to use the solution of FindRoot with parameters for further calculations. Annoyingly enough it always gives me trouble with replacing the parameters. As an example I'm attaching a simple ...
1answer
52 views

### Text with date, how to convert?

I use this script to recognise a date in a textfile and write the result in another file. ...
0answers
24 views

### partitioning up the time series data set in order to remove up the anomaly [on hold]

My problem is to detect anomaly in time series based data, for that i need to partition up the data according to their minima and maxima. For this i need to get the matlab code to find the maxima and ...
1answer
22 views

### Control which frontend session/kernel the Workbench gets attached to

(I am new to Workbench) I have 2 or 3 Mathematica frontend sessions open with a few of them running some long-running codes. When I try to open/edit a code in Workbench, I see that it sometimes it ...
1answer
58 views

### Selection of the position of the variable

I defined a function funloglogplot to make a loglogplot of a function (function1) depending on several variables ...
1answer
82 views

### How to combine more locations (GPS coordinates inside one city) with Google map? [duplicate]

I have a list of GPS coordinates.E.g. GPSList = {{47.680800, 17.626446}, {47.681078, 17.627283}, {47.682759, 17.631810}}; I would like to crate a Google Map ...
0answers
44 views

### Main Kernel in Mathematica

I would like to copy some parameter from the main Kernel of Mathematica to the parallel kernels available. So I'm running now a command like: ...
1answer
48 views

### Define function that goes from one point to another parametrically

I have two points p1 and p2, and I want to get the parametric equation of a linear function that passes through those, but ranging from one point to another. For example, if I have 2 points {0,0} and ...
0answers
76 views

### How can I plot my rather complicated function? [on hold]

I have been trying to plote the complex function $f(x,y)$ below, just $x=h(K)$, $y=h(K)$, where $K$ varies from 0 to 2, but I can't seem to find a way to do. Can someone please help me out with ...
1answer
114 views

### How to set the color of plot legend independent of the plot itself

I have written the code below: ...
1answer
32 views

### How to Show the “TemperatureMap” using Manipulate? [on hold]

How to show the "TemperatureMap" in Manipulate?. ONLY the image, without text "ColorData..." ...
0answers
77 views

### Simplifying trig expressions containing Sqrt or Abs

The following Maple code can simplify abs(sin(x)) into -sin(x) given the condition ...
0answers
29 views

### Is there any simple way to zoom/magnify a selected portion of a plot (like gnuplot or xmgrace)? [duplicate]

Is there any simple way to zoom a particular portion of a plot (similar to what you can do with gnuplot or xmgrace using the magnifier and selecting a region)? Usually I do it by varying the ...
0answers
60 views

### DynamicModule with Plot and EventHandler, take 2

I'm trying to build an animation in Mathematica that shows the evolution of a stochastic process, and when I click on the plot, the trajectory continues with different parameters. I have used ...
1answer
96 views

### Area between Contours in ContourPlot

I feel slightly foolish for asking this because I am so close, but I'm having trouble, so I will anyway. I asked this question two days ago regarding finding the lengths of contours. Now, I'd like to ...

15 30 50 per page