Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the use of built-in Mathematica functions, including pure functions.
7
votes
Find peaks, max and min of an interpolation function?
This functionality is included in the FindMaxima, FindMinima & FindExtrema functions in my EcoEvo package (the continuous part is based on this answer by @DanielLichtblau). …
5
votes
Creating a new list from two lists
Thread[{1, 2, 3} -> {a, b, c}]
(* {1 -> a, 2 -> b, 3 -> c} *)
Note that the string "->" is different than -> and multiplying isn't the same as inserting. Also, it is generally recommended to avoid us …
2
votes
0
answers
96
views
Complicated output from simple Eigenvalues problem
I have code that uses Eigenvalues on matrices of various sizes. But the output of what should be a very simple problem, namely finding the eigenvalue of a 1x1 matrix, is overly complicated.
Eigenval …
3
votes
2
answers
126
views
Rescaling RegionFunction in StreamPlot
I often use a version of @Rahul's myStreamPlot (original here) to make nice looking StreamPlots. Briefly, it rescales the axes to achieve a more even distribution of streams.
Options[myStreamPlot] = …
5
votes
Accepted
How do I create a n*n matrix with a Do loop?
Better to use Table:
n = Input["What positive integer would you like to start your matrix with?"];
Table[i + j*n, {j, 0, n - 1}, {i, n}]
0
votes
Implementing delay in NestList?
I prefer the syntax of RecurrenceTable, which is similar to the syntax of NDSolve. Does this seem OK?
k = 4;
K = 0.2;
r = 3.6;
RecurrenceTable[Join[
{x[n + 1] == (1 - K) r x[n] (1 - x[n]) + K x[n …
3
votes
Arrays, Mapping, and Convolutions
Something like this?
pts = {mc, mR1, mR2, mR3, mL1, mL2, mL3, mU, mD};
ThreeDnd[x_, y_, pt_, σ1_, σ2_] :=
PDF[BinormalDistribution[pt, {σ1, σ2}, 1/2], {x, y}];
Plot3D[
Evaluate[Sum[ThreeDnd[x, y …