# All Questions

94 views

### What is the effect of giving ColorFunctionScaling a numerical argument?

(by making a mistake) I realised that ColorFunctionScaling can take a list of numerical arguments rather than just booleans. The following is true for ...
59 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 ...
101 views

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

I have a list plot: ...
25 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: ...
88 views

### Better use of pattern matching in replacing elements of a list

I have a list of reals and I'm replacing those which are contained in a given interval with two different values depending on wheter the selected reals are positive or negative. I came up with this ...
1k views

202 views

### Approximation of definite integral by parabolas

This question is related to Trapezoid approximation to definite integral. As promised, I am now asking about how to draw an approximation of integrals by parabolas. I tried to modify MarcoB's code, ...
163 views

### Bad interaction between Join and ListPlot (or Plot)

When you write this code: tab = {{1, 1}}; tab = Join[tab, {{2,2}}]; you expect to get the following table: {{1, 1}, {2, 2}} ...
182 views

### How to turn a colour entity into a colour directive?

I am not experienced with Wolfram Knowledgebase queries and working with entities. What is the "correct" way to convert a colour entity into a colour directive? Example: ...
84 views

### Need help understanding the output of DSolve

I give Mathematica 10 the following command: DSolve[I D[P[x], {x, 2}] f[x] - (P'[x])^2 f[x] + 2 I P'[x] f'[x] == 0, P, x] and I have the following output: ...
71 views

### Unexpected behaviour of MomentOfInertia

The problem I expected Mathematica to solve rather easily is that of the calculus of a moment of inertia of a "c" section defined by the following Polygon: ...
40 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. ...
37 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 ...
144 views

### Trapezoid approximation to definite integral

This question is related to Graphically approximating the area under a curve as a sum of rectangular regions. I now was trying to adapt the code by MarcoB to get the approximation of the integral by ...
67 views

### Can this expression be calculated symbolically?

I want to do definite integration of the following expression ...
41 views

### How can I compute the difference in Y-axis values between data sets with similar X-values

I am new to Mathematica, so this might be a very basic question; however, I cannot find a solution to this and it is taking me very long. For my research I am probing the photoluminescence response ...
397 views

### Create a polynomial of a given degree

In Mathematica, how can I create a polynomial function in given variables of a given degree with unknown coefficents? That is, I am looking for a function ...
3 views

### Maximum Likelihood Approach for parameter estimation of multi response data, could you provide a tutorial? [migrated]

I was trying to fit the parameters a time dependent system coupled of ODES relate to a kinetic experiment with multi response data. example: A->B+H A+H->C+H A->D dcA(t)/dt=-k1Ca(t)-k2Ca(t)*Ch(t)-k3*Ca(...
1k views

### Graph vs. GraphPlot

What is the difference (in purpose) between Graph and GraphPlot? Which function is bested suited to which tasks? Background: I ...
101 views

### How do I apply assumptions to a module (or any CompoundExpression)?

Edit: I am looking for a way to apply assumptions to all expressions contained in a compound expression. For example, ...
41 views

### Drawing a GraphPlot by preserving the structure of the graph

For eg. GraphPlot[{1 -> 2, 2 -> 1, 3 -> 1, 3 -> 2, 4 -> 1, 4 -> 2, 4 -> 4}, VertexLabeling -> True] Then If I remove the edge (say ...
32 views

### Training Hidden Markov Models using Mathematica

I have created a Hidden Markov Process with an initial probability vector, emission and transmission matrices. ...
117 views

### Delete elements from a list

I have two lists, for example s={{1,3,2},{1,3,2},{2,3,1},{3,1},{2,3,1}}; c={{3},{1,2},{3}}; First element of c means that ...
39 views

### Mapping a List: Functions in Mathematica [on hold]

I have the code: ...
30 views

### Plotting Graph having coloured visuals and coloured lines [on hold]

Somebody please tell me what is "fondo" and "funcero" Plus I'm having a great difficulty in plotting a graph, my graph line doesn't show up. frustrated
536 views

### Reproducing the xkcd “Self-Description” comic

Trying to brush up on my programming, I wanted to see if I can reproduce at least the first two panels of the following comic in Mathematica: I have some code for trying to reproduce the first ...
70 views

### Co-ordinate Points on a 3D Plot

I have a 3D graph: I want to figure out the values of the variable in the horizontal axes for which the graph has the highest value -- seeing the vertical axis, the value of variables where plot ...