0
votes
0answers
8 views

How can I write the coding in mathematica based on time?

Hi, I need some help for my problems. May anyone help me in coding I want to make For loop based on time for this matrix. I want to change to look the changes of alpha3 when increasing of time with ...
1
vote
0answers
7 views

How do I prevent Root and RootSum from expanding over quadratic roots?

For quadratics, RootSum[a #^2 + b # + c &, Cos[#] &] Immediately turns into and also, ...
0
votes
0answers
19 views

How to replace Real part o f a complex number

I want to replace the real part of a list of complex numbers by zero. I try these two solutions but it does not works ...
0
votes
0answers
23 views

Image Filtering in the frequency domain

Here is a good starting to fiter image in the frequency domain lena = ColorSeparate[ImageResize[ExampleData[{"TestImage", "Lena"}],{121,121}]][[1]]; (Create a ...
0
votes
1answer
22 views

Contour plot with a condition

I have a simple contour plot and wanted to find solutions only when both x and y are integers. The following code doesn't seem to work. ...
0
votes
0answers
12 views

Get asymptotic expression of Legendre function

How to get this asymptotic expression of the first element of the list by Mathematica with small x and very large n? ...
0
votes
0answers
14 views

Time series decomposition using wavelet transform

I have a monthly time series data. I want to perform a non-decimated discrete wavelet transform to decompose the time series into its different time scale components (level 6). Is there a way of doing ...
0
votes
0answers
15 views

build absolute value equations know solution [migrated]

We have absolute value equations with unknown coefficients: |x + a| = b and we know solutions: x = 11 and x = 5 We need ...
0
votes
0answers
19 views

A function that takes in an array and returns an array (or lists)

So I have function f[x_] := c.x - Total[Log[b - A.x]] where the variables have dimension c is 1x100, b is 500x1, A is 500x100, and x is 100x1. My goal is to get the ...
0
votes
0answers
14 views

Graph coloring - edges - algorithm tweak

I was kind of heedless and read wrong assignment task. I wrote an algorithm that finds the minimum numbers of colors in graph for vertices. And when I finished it, not i read the assignment task ...
1
vote
1answer
13 views

Preventing LocatorPane locator from moving when plot range changes

I have a LocatorPane within a Manipulate such that the range of the plot behind the locator can vary. When it does, this ...
0
votes
0answers
20 views

Getting Random Integers from the set {-1,1} quickly [on hold]

I was wondering if in Mathematica there is a quick way to get a random integer from the set {-1,1} with equal probability (i.e. getting -1 or 1 with equal probability). Usually I deal with Normal ...
2
votes
1answer
21 views

How to Operate on a Dynamic Dataset?

I cannot operate on the Dataset I am dynamically filtering. Minimal example follows. ...
0
votes
1answer
26 views

Struggling to Apply “Differences” [duplicate]

It looks like the following code should work, and allow it spits out error messages saying I have too many arguments, the code spit out after the error message looks like exactly what I want to ...
3
votes
1answer
30 views

Changing style of label boxes in TimelinePlot

When I export the below TimelinePlot to an .eps figure (to include in a document), the boundaries of the rounded boxes surrounding the label text do not appear. ...
0
votes
2answers
38 views

Issue while trying to compute the integral for the coefficients of a triangular wave

I was trying to compute these integrals in order to check if I was correct: or in code ...
2
votes
0answers
52 views

A unexpected behaviour of RelationGraph

$Version "10.4.1 for Microsoft Windows (64-bit) (April 11, 2016)" I want to match the based point of VoronoiMesh(...
-4
votes
2answers
54 views

Develop a loop with two counters

Description: I am trying to develop a function that would take two arguments n and m and would run another function multiple ...
1
vote
1answer
53 views

GridLines for a coordinate system with a particular basis

Suppose that I use the vectors (2,1) and (-1,1) as a basis for $R^2$. ...
1
vote
1answer
46 views

Differential equation involving history integral

I have not found a solution by using google so I hope I can ask this here. I have an issue with a problem I am trying to solve and I was wondering whether what I am doing is not possible with ...
2
votes
2answers
86 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 ...
1
vote
0answers
52 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
30 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
56 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
55 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
49 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 ...
1
vote
0answers
43 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
32 views

Rotation of basis system

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
60 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
43 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
33 views

The point movement on the torus knot

I would like to ask about the point movement on the torus knot. ...
5
votes
0answers
48 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
73 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 ...
1
vote
1answer
32 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 ...
-1
votes
1answer
34 views

Reduce array to specific amount of averages

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
74 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
52 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 ...
6
votes
0answers
37 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 ...
0
votes
0answers
15 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
25 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
112 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
28 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
41 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
41 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
80 views

Uniting lists of lists

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

ConformImages Parameters unclear [on hold]

What is the difference between these two statements? ConformImages[files,10] ConformImages[files]
4
votes
0answers
56 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
132 views

How to speed up Integration of interpolation function?

I have a list of data and interpolate it to a function. Then I need to done something integration with the interpolation function. But I found the speed is unacceptable slow. My data is here (a ...
0
votes
0answers
11 views

Defining a differential form in the 'Exterior Differential Calculus' package

I want to define the following differential form $$ F = H^{01} dx \wedge dt $$ However when I type F = H^01 d[x]\[Wedge]d[t] I get the error 'Recursion depth ...

15 30 50 per page