All Questions

17 views

Graphplot doesn't connect vertexes properly

my problem is following: ...
20 views

Substituting a function in the output

I have to calculate the derivatives of the function K defined in the code: ...
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?
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 ...
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]] ...
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 ...
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 ...
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 ...
169 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 ...
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, ...
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 ...
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 ...
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: ...
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. ...
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. ...
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, ...
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 ...
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: ...
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?
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 ...
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?
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 ...
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 ...
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. ...
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$, ..., ...
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 ...
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 ...
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?
59 views

Optimizing evaluation time

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

Visualizing Dynamic Time Warping [duplicate]

I need combine 3 graphics into something like this Any ideas?
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
112 views

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

I have written the code below: ...
30 views

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

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

Simplifying trig expressions containing Sqrt or Abs

The following Maple code can simplify abs(sin(x)) into -sin(x) given the condition ...
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 ...
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 ...
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 ...
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, ...
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 : ...