2
votes
2answers
125 views

Direct way of listplotting each 2 or 3 points?

I have a list of points myList={{x_1,y_1},{x_2,y_2},...,{x_n,y_n}} I want to plot not all the points of this list but to plot every $k$ points. For example, if I ...
2
votes
0answers
56 views

What does Mod^(1,0) mean in mathematica output [on hold]

I am trying to take he derivative of mod(remainder). In:= D[Mod[x, y], x] Out = Mod^(1,0)[x,y] I cannot understand the meaning of Mod^(1,0). What does the ...
0
votes
1answer
36 views

MathLink to C++ member function

The task is to compile, link and install in Mathematica (9.0, Linux 64 bit) some functions defined in C++. These functions are defined within classes. I have access to the header which forward define ...
2
votes
1answer
61 views

Superpositions of colored gratings

I created fork grating on mathematica and it is gray tone image, I need to conver it into Black and Blue image instead. And I use the Image code to do that but it didn't work! is there another way to ...
1
vote
1answer
64 views

What are rules in Mathematica and what are its uses? [on hold]

I'm new to Mathematica. I have been going through the official reference and came across this article on rules to which I was led by a Google search on how to ...
1
vote
0answers
61 views

Image-Processing/IntensityCentroid

To get the center of mass of a grey scale picture I would like to use ComponentMeasurements with IntensityCentroid. However the ...
2
votes
1answer
67 views

Round off in Mathematica Built-in functions

Is there a way to avoid Mathematica to replace Built-in functions to other functions? For instance, the Hypergeometric1F1[a,b,x] function has a exponential form when its firsts parameters are ...
0
votes
0answers
40 views

Rotation of basis system [on hold]

I have a 16x16 matrix HCF hamiltonian with symbolic entries depending on 8 parameters Bxx. Now I add anoter hamiltonian which is a zeeman hamiltonian HZ with a symbolic angle [\theta] entry .But if i ...
5
votes
1answer
74 views

Arrowheads not falling in line

This is not a serious problem, but sometimes quite annoying. Say you are drawing a line with multiple Arrowheads. ...
0
votes
1answer
58 views

Weird Mathematica Crash

One hour ago, my Mathematica 10.4 StudentEdition, completely crashed, stopped to respond, after I typed 2 letters. For example I wanted to type the command ...
0
votes
1answer
40 views

The point movement on the torus knot

I would like to ask about the point movement on the torus knot. ...
5
votes
0answers
52 views

What does the symbol Continuation do?

There is a symbol Continuation (residing in the System` context). There is no usage or documentation for this symbol. ...
0
votes
2answers
94 views

Integral over real valued function becomes complex

I've tried to solve the following integral, but I get a complex solution even tough it should only have a real part. $$f(x)=- \frac{10^{-20} x}{0.99005- e^{10^{-12}x}}$$ Now I want to calculate the ...
2
votes
1answer
47 views

Finding an Integer, Unimodular Matrix that connects two given matrices

I have two symmetric, integer matrices, $K$ and $K_2$ which have the same determinant and the same signature (number of positive - number of negative eigenvalues). I want to find an integer valued ...
0
votes
1answer
43 views

Reduce array to specific amount of averages [on hold]

The main issue which needs to be solved is: Let's say I have an array with 8 numbers, e.g. [2,4,8,3,5,4,9,2] and I use them as values for my x axis in an coordinate system to draw a line. But I can ...
0
votes
0answers
47 views

Modern hardware for symbolic computation [duplicate]

I am going to use it for huge symbolic computations (like Groebner Bases, Hermite Normal Forms, Differential Algebra) in Maple/Mathematica. Could you help me to choose good modern hardware?
0
votes
2answers
84 views

How to define nested recursive sequence? [duplicate]

I have Conway's Challenge sequence at hand i.e. $a_n=a_{a_{n-1}}+a_{n-a_{n-1}}$ for $\ n \geq 3$ and $a_1=a_2=1$. I have basically no idea how to define this in Mathematica.
0
votes
1answer
56 views

Why this function can't be plot [on hold]

Situation I have define a function in Mathematica like this: phi[t_] := Subscript[\[Phi], m] Cos[(2 \[Pi])/T t] Then I specify some parameters in this function ...
8
votes
1answer
88 views

Evaluation leak from Dynamic in Button's action

a = 1; Button["Print", a++] Button["Print", Dynamic[a++]] Button["Print", Dynamic[a++];] Button["Print", {Dynamic[a++]}] Dynamic @ a The second ...
-2
votes
1answer
38 views

2 functions in a package for CDF, 1 is OK 2nd is not working

I am developing a CDF application to teach me how to create CDF files. In this application I am taking numeric and symbolic integral of a function. I create package with two functions; 1-taking the ...
0
votes
1answer
29 views

Forcing evaluation of LinearSolve [on hold]

I have a linear solve function: ls = LinearSolve[MatrixForm[Transpose[basisNScoeffs]]]; Which I then use to generate a table of solutions: ...
2
votes
1answer
117 views

How do i plot a conical spiral on top of a cone?

So i need plot a spiral from the top of a cone, can someone help me with my code i have made a similar thing for a cylinder, but there radius wasnt change and in this case i cant figure out how to ...
0
votes
0answers
29 views

Analogue maple's Digits Environment Variable [duplicate]

I want setup (in Mathematica) once and for all operations number of digits after decimal point, similar how it's done in maxima: ...
0
votes
1answer
51 views

Solution of Coupled second-order ODEs and plot the diagram

We have two second-order Coupled differential equations as the followings: $$\left\{\begin{array}{lr} \displaystyle \frac{{{d^2}{y_1}}}{{d{x^2}}} = \{ \frac{{\sqrt {\frac{{1 - {\varepsilon ...
0
votes
1answer
44 views

Classifier Random Forest Accuracy Not Consistent

I tried running a random forest classifier over different training sample sizes. The results are very strange because I could not replicate my accuracy with the same sample size in the second ...
0
votes
2answers
98 views

Uniting lists of lists

Here's what I'm trying to do. First a simple example: ...
0
votes
0answers
22 views

ConformImages Parameters unclear [on hold]

What is the difference between these two statements? ConformImages[files,10] ConformImages[files]
4
votes
0answers
59 views

Problem with Parallelization when using Packages

I tried to find a solution to my problem in several answers posted in MSE but due to lack of my knowledge on parallelization territory, I couldn't figure out solution to my problem. I have a big code ...
5
votes
2answers
158 views

How to speed up Integration of interpolation function?

I have a list of data, and I interpolate it to a function. Then I need to do an integration with the interpolating function. But I found that the speed is unacceptably slow. My data is here (a little ...
0
votes
0answers
21 views

Defining a differential form in the Exterior Differential Calculus package [on hold]

I want to define the following differential form $\qquad F = H^{01} dx \wedge dt$ However, when I type F = H^01 d[x]⋀d[t] I get the error Recursion depth ...
-1
votes
1answer
102 views

Solve an equation in several variables

I'm new to Mathematica, so my question may be quite trivial, but I need help. Let $F(x,y,a,b,c,d):\mathbb{R}^6\rightarrow \mathbb{R}$ be a function in 6 variables. I need to find conditions for $x$ ...
3
votes
1answer
65 views

Add delay to the final frame of a GIF?

I'd like for there to be a pause during the final frame in my animation, before it loops. Here's some tweekable starter code: ...
2
votes
0answers
50 views

Where does a package have to be loaded?

I'm trying to solve a very tricky bug in my program. It's tricky because it seems to be not working intermittently, and mostly not working when running with large data sets. The code itself is kind of ...
0
votes
0answers
47 views

Want all numeric output to be displayed in a base other than 10 [on hold]

Is it possible to set all calculations to use a base other than 10 by default?
1
vote
0answers
30 views

`QPochhammer` function simplification?

Consider the function which in Mathematica is denoted as QPochhammer[a,q,n], and its infinite product cousine: which in Mathematica reads ...
0
votes
0answers
33 views

Parallelization or other speed-up of the algebraic evaluation of Eigensystem

I am calculating the eigen system of a 16 x 16 matrix HCF[B02, B04 …] of 8 variables in it. The matrix is Hermitian and has many 0 elements and only a few ...
5
votes
2answers
103 views

Threading sublists on list

Suppose I have a list of the form: list = {a, b, {c, d}, f, {g, h}} i.e. an element of the list could be another list. I want to 'thread' each element of the ...
0
votes
0answers
22 views

Savgol Filter Smoothing [closed]

How can I improve my savgol filter? I have it currently set at a window length of 5, and a polynomial order of 2, but I want to increase the smoothing ability. Is there any way that I can do so?
1
vote
0answers
25 views

Why would killing the kernel defreeze/unhang the front end?

My Mathematica front end will freeze occasionally for unreproducible reasons. This seems mostly associated with long (> 1 hour) computations, although not exclusively. If I click on the Mathematica ...
0
votes
1answer
44 views

Manipulation of imported Datafile

Since I am solving a differential equation in a for loop with NDSolve ...
6
votes
3answers
214 views

How to speed up computation of medoids?

I need to compute medoids (based on SquaredEuclideanDistance for large lists of k-vectors (k = 14). My implementations so far are impractically slow. Here is a ...
0
votes
1answer
35 views

Solving a polynomial where variables are constrained to take only some values

I want to find out which combinations of 1's and 0's would make this kind of equation be null: ...
1
vote
0answers
33 views

Prevent infinite product from trying to evaluate?

Consider an expression involving several infinite and non-infinite products, like ...
1
vote
1answer
53 views

How can I access a variable using Position?

I want to define a vector PosVec[a, b] dependent on the variables a and b of a matrix ...
1
vote
1answer
58 views

How to integrate with integer parameter in Mathematica?

I would like to integrate the following expression with N being Integer ...
1
vote
2answers
63 views

Plotting vectors and curves on a 3D surface

I am having trouble plotting curves on surfaces. I have searched for similar examples and I have tried both Plot3D and ParametricPlot3D commands and experimented with Epilog and MeshFunctions (et.c) ...
2
votes
1answer
74 views

Apply function to a part of a list [on hold]

Let's say I have some data: data={{a1,b1},{a2,b2},{a3,b3},{a4,b4},...} and I would like to apply the function: f1[x_]=x*5 to ...
0
votes
0answers
29 views

Performing numerical derivative after numerical integration

First of all, I am sorry to repeat a question which is similar to the closed question, "Numerical Derivative after numerical integration". I could not understand the solution introduced in the link. ...
2
votes
2answers
41 views

ListPlot of a complex data file

Here are some sample data: ...
3
votes
1answer
46 views

How can I plot a “slice” of the mesh for a 3D plot?

I'm using NDSolveValue to solve the Laplacian equation for this geometry: I want to view the mesh that NDSolveValue is using, so I do the following: ...

15 30 50 per page