Linked Questions

31 votes
10 answers
6k views

Apply multiple functions to same list

I'd like to get the Min, Max, Median, Mean, etc. for the same list. For now I'm doing the following: ...
• 3,736
67 votes
4 answers
6k views

How do I evaluate only one step of an expression?

I am looking for a simple, robust way to evaluate an expression only one step, and return the result in a held form. The definition of a single step is ambiguous, and this itself is probably worthy ...
• 272k
49 votes
3 answers
28k views

How to change plot style or other options after it was created

For example: p = Plot[Sin[x], {x, 0, 1}] Is it possible to write options in Show to change the curve's color for example into ...
• 17.3k
16 votes
9 answers
980 views

Nest list with two functions

Is it possible to use the NestList command with two functions, one at every even step and apply the other at every odd step. If this is possible could someone share an example ?
• 15k
8 votes
10 answers
519 views

...
• 5,672
12 votes
4 answers
3k views

Plot the minimum of a list of functions

This is my first question on any stack-exchange site and I'm also very new to using Mathematica software so please excuse/correct me if I mess up. I would like to take a list of functions of a single ...
• 173
10 votes
5 answers
595 views

Replace heads to match a pattern

Is it possible to replace the heads to match a pattern? eg f[f[f[]]] -> a[b[c[]]] or ...
• 8,798
7 votes
6 answers
779 views

How to replace an element in a list with an element in another list with matching indices?

I have a list like this l = {1 + 2*s, 2 + 3*s, 4 + 1*s}, and I have calculated s = {1, 2, 3}. I need to replace ...
• 2,046
3 votes
3 answers
3k views

Plotting multiple parametric functions with different intervals

I want to make a parametric plot like this: ParametricPlot[{{2 t, -10 t^2}, {t, 2 t}}, {t, 0, 2}] I have tried the following but it doesn't work: ...
2 votes
3 answers
258 views

How can I find the points of B Spline functions for a specific range?

Based on this question: I have a list of bspline functions (nearly 1000) provided by applying BSplineFunction to a list of points. I want to get the points each of ...
• 449
1 vote
2 answers
648 views

How to generate patterns by a list of integers

I have a list of integers {3,4,2,2}. This list will give patterns {x_,_,y_,y_,_,_,z_,z_,w_,w_,x_} and ...
• 153
1 vote
0 answers
104 views

Computing derivatives (at a point) efficiently

I need to compute all derivatives for a multi-variable expression upto a certain number of derivatives dmax evaluated at a point. So I need say the n-th x and m-th ...
• 4,591