0
votes
0answers
17 views

Graphplot doesn't connect vertexes properly

my problem is following: ...
0
votes
1answer
20 views

Substituting a function in the output

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

Check if n! is divisible by an arbitrary number m

If m\<\n, then it is divisible. What happens when m>\n ? Is there an efficient method to perform this check?
1
vote
1answer
33 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 ...
-4
votes
0answers
21 views

How do write this function? [on hold]

help me to writing this function : For[j=1,j<99,j ,Subscript[f,j][Subscript[x,1],Subscript[x,2],...,Subscript[x,99]]:=-1+Subscript[x,j] Subscript[x,j 1]] ...
0
votes
1answer
26 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 ...
-1
votes
0answers
25 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 ...
3
votes
0answers
23 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 ...
10
votes
2answers
170 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 ...
0
votes
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, ...
0
votes
0answers
21 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 ...
0
votes
1answer
33 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 ...
0
votes
0answers
27 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: ...
0
votes
1answer
38 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. ...
5
votes
2answers
127 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. ...
1
vote
1answer
49 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, ...
0
votes
0answers
15 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 ...
6
votes
1answer
122 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: ...
0
votes
1answer
56 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?
0
votes
0answers
38 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 ...
0
votes
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?
3
votes
1answer
39 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 ...
0
votes
1answer
49 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 ...
0
votes
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. ...
1
vote
1answer
56 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$, ..., ...
0
votes
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 ...
0
votes
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 ...
0
votes
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?
1
vote
1answer
59 views

Optimizing evaluation time

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

Visualizing Dynamic Time Warping [duplicate]

I need combine 3 graphics into something like this Any ideas?
2
votes
2answers
94 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 ...
1
vote
0answers
21 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 ...
0
votes
1answer
51 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. ...
0
votes
0answers
23 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
57 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 ...
1
vote
1answer
74 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 ...
0
votes
0answers
43 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: ...
0
votes
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 ...
0
votes
0answers
74 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 ...
1
vote
1answer
112 views

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

I have written the code below: ...
-1
votes
1answer
30 views

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

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

Simplifying trig expressions containing Sqrt or Abs

The following Maple code can simplify abs(sin(x)) into -sin(x) given the condition ...
1
vote
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 ...
0
votes
0answers
58 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 ...
2
votes
1answer
94 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 ...
0
votes
0answers
37 views

Non-Linear Graph [on hold]

I'm trying to fit an Acos^2(theta) graph to the following data: {{295, 1.2}, {255, 1.4}, {235, 1.0}, {195, 0.2}, {155, 0.3}, {135, 0.7}, {95, 1.4}, {75, 1.4}, {45, 0.8}, {15, 0.2}, {15, ...
3
votes
0answers
42 views

Does the VerticalCallout algorithm in PieChart3D work correctly?

In real world usage you often want to use real world labels with long strings (say 15-20 characters) in 3D pie charts. Here is a toy example : ...
2
votes
0answers
33 views

Does the VerticalCallout algorithm in PieChart work correctly?

This manufactured example is typical of many real world cases where we have thin slices of the pie: ...
0
votes
0answers
37 views

Numeric function not fully evaluating

I'm running into an issue where it seems Mathematica is not fully evaluating the output of my function h[t_]. I included the definition of phi[t_] just to demonstrate that it is a numerically defined ...

15 30 50 per page