# All Questions

8 views

### Asymptotic solution

I have an ODE V''[z] + ( (I z0^2 w)/(3 (z - z0)^2) + ( 2 - (4 I z0 w)/9)/(z - z0)) V'[ z] + (-(12/41) I z0 w + (23 z0^2 w^2)/ 369)/(z - z0)^2 V[z] == 0; ...
9 views

### Improve speed of Nested Matrix exponential

I have a short Code example and I want to know whether it is possible to improve the speed. The L matrix in my code is a SparseMatrix, but for this question I just use something similiar. ...
10 views

### Changing coordinates or rotating finished 3d Graphics

I have created a 3d graphics consisting of three parts and I would now like to take the entire result and rotate it. Here is the code so far: ...
13 views

### averaging over large number of random realizations

I want to run following for few hundreds of a random variable set. This calculates: generate normal random variable find gain with squaring calculate performance metric find ...
21 views

### why the result not contain imaginary, I?

Good day, First of all, sorry if my coding in this forum has mistake. I already learned it and this is the best try from me. May anyone help me troubleshoot my problem below. ...
25 views

### Why does the replacement /. {1 -> x} make sense?

Why does the replacement expr /. {1 -> x} in which the number 1 is replaced by the symbol ...
28 views

### 2D Plot for PDE

I made scheme for diffusion equation And I know how to make Plot3D But how to make Plot2D with different time? ...
34 views

### A question about structure of if-else

I have coded this program in Mathematica but I am not sure to make correct structure of if-else. Is anyone able to present guidelines in a way that error of program was not met? ...
45 views

### Partitioned Matrix in Display Form in a Notebook

Consider: $$A=\left[\begin{array}{rrr|rr} 2 & -3 & 1 & 0 & -4\\ 1 & 5 & -2 & 3 & -1\\ \hline 0 & -4 & -2 & 7 & -1 \end{array}\right]$$ Let's say I am ...
24 views

### How to do feature extraction

I have some images and I'd like to find generate features to compute a similarity metric. What is the Mathematica way to do this?
65 views

I want to add arrows to the start and the end of the Tangent curve. My first try was successful, ...
103 views

### Table with condition

I have 2 lists of numbers A = Range[16, 65] and B = Range[10, 16]. I want to form all possible combinations $(a,b)$ of the ...
32 views

### Sorting Ordered List of Words by First Letter

I am trying to sort an ordered list of the most common Arabic words. I want to create sublists of words according to their first letter while maintaining the order of the original list. Here's an ...
10 views

### Multiple plot for 2 variables function [duplicate]

I have a 2 variables function as below: m[n_] := 1.5 n^2 V[n_, r_] := (m[n]*m[n])/((r)^3) On the range of r from 1 to 20 I want to make 30 plot (30 different ...
26 views

### 3D listplot, for a given table

I have a table of 4 data, my first problem is how can I choose one region in which just one of these variables is constant and the listplot3D the other 3 variables? I need to do this for at several ...
102 views

### How to label ticks in ListLogLogPlot in scientific form in MMA 10.4?

This is a question regarding ListLogLogPlot in MMA 10.4. I have tried the solutions suggested in 5369, and they do not appear to work in MMA 10.4, so I would be grateful if this could be considered a ...
15 views

### I have a communications link failure with JDBC MySQL(Connector/J)

I am unable to connect to my local mysql server using Mathematica. ...
18 views

### Vector in 3D Spherical Coordinates [duplicate]

How do I plot a list of spherical co-ordinates in (of course) 3D Spherical Co-ordinates. As arrow headed vectors, preferably. The list is: ...
60 views

### Problem using ArcTan inside NDSolve

I'm messing around a bit with using "thrust segments" on a point-mass in NDSolve and have run into a strange problem to do with using ...
46 views

### How to implement multiple EventHandlers?

n00b Mathematica user here. I wrote this code: ...
42 views

### Using TemporalDataDropTimes

I'm not able to figure out how the undocumented command TemporalDataDropTimes described here works. For example, I have ...
30 views

### Automatic legend does not include all datasets in case of short list of colors

The following code gives legend only for elements with unique color ...
21 views

### Get rid of infinty in matrix elements (by seperately defination of diagonal and off-diagonal elements)

I want to generate a matrix in which the elements have the below rule to be generated: ...
47 views

### Using Dataset with TimeObjects in EventSeries

I'm new to Mathematica, and while this is potentially quite easy, I'm having difficulty using TimeObjects in the EventSeries ...
47 views

### Do-Command around entire Notebook (by iterating it from another notebook?)

I have a large simulation (1500 lines of code in different sections) and I would like to run the file using different combinations of input parameters without manually changing the parameters. Say my ...
46 views

### Dynamic and TabView mayhem

What I'm trying to do is damn simple but it seems like Mathematica is extremely ill-designed for this ... Here is a very simplified form of my code to show the basic idea. I have a variable number of ...
51 views

### How to create a window which will close in a certain amount of time?

I'm currently making an interface in Mathematica and I'll need to bump a window out and then let it close itself in a certain amount of time. Here's an short example to illustrate the effect: ...
20 views

### NDSolve: Improperly assigned stepsize

This is not a question which I estimate is aided in answering by providing complete code, which is excessively long. I ran an NDSolve[] at ...
81 views

29 views

### Do you know the options of RandomSeed in ClusteringComponents? [on hold]

ClusteringComponents[data, 4, 1, Method -> "KMeans", DistanceFunction-> EuclideanDistance, "RandomSeed" -> 10] As above, 4 means cluster number, ...
73 views

### Substutution of Ansatz of an ODE [duplicate]

I am only beginning to learn to use Mathematica, and got stuck while trying to implement what is apparently a simple substitution rule. So I have a second order ODE in f, and I want to put in the ...
43 views

### Error message when using Method -> “Spline” in Interpolation [on hold]

I'm using LTNOspline = Interpolation[DiscreateLT, Method -> "Hermite"] where ...
91 views

### How to find Eigenvalues of Sturm-Liouville problem? Getting wrong Imaginary Eigenvalues

I want to find Eigenvalues of following Sturm-Liouville problem D[(2 - MA/κ[s]) q'[s], s] + W Ω^2 q[s] == 0, Where Ω^2 is the ...
38 views

### TimeSeriesAggregate—reformatting the date

Compute Aggregated Statistics for a Time Series The article linked to above provides a sample of aggregating time series data. ...
98 views

### How can I add a plot legend with variable value and text?

I have a list plot: ...
33 views

### Read timeseries data from CSV

I am new to Mathematica and have v10. I would like to you use the new TimeSeriesAggregate[tsdata, "Quarter", Total] feature to return aggregated descriptive stats. I import a number of columns of ...