CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 01:52:16 GMT
content-type: text/html; charset=utf-8
cf-ray: 963fc6f65bd12ffb-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=24b17fb7-73cf-4c6c-b393-6def7646e7ec; expires=Fri, 24 Jul 2026 01:52:16 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 026b8a11-375b-4d6b-85c0-750c7258e12e
x-worker-origin-response-time: 432000000
x-dns-prefetch-control: off
set-cookie: prov=24b17fb7-73cf-4c6c-b393-6def7646e7ec; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=FLv1L4Q751Fh4V9SWe7IPGnojPzWEM4DXbP4IfXvd9w-1753321936-1.0.1.1-juqS5TtqDCgy7_OiXtGlVdQqP543mfw3m7nUOUsmwcAZpLdWL.oO9U8YWR_HdJV5doYfRCC2Jq1Rz2VqspBGUoh3kW04uDODXPzhjrVXu84; path=/; expires=Thu, 24-Jul-25 02:22:16 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=Apmxqw.2gJqcAz4un2Xz7jVjgUb0bhZ9q08IuA81lQU-1753321936816-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'list-manipulation' Questions - Mathematica Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [list-manipulation]
Questions on the manipulation of List objects in Mathematica, and the functions used for these manipulations.
9,762 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
1
answer
219
views
How to make peaks with thick lines pointy?
Consider the following data:
...
4
votes
6
answers
356
views
How to 'scale' a square list?
I would like to conver the square list { {a,b}, {c,d} } into { {a,a,b,b}, {c,c,d,d} }, and, more generally, into ...
2
votes
3
answers
97
views
How can I generate a list of $n \times n$ permutation matrices containing exactly one matrix from each conjugacy class?
A permutation matrix is a $0-1$ matrix with exactly one $1$ in each row and in each column. Each $n \times n$ permutation matrix corresponds to exactly one permutation of $[n]$.
Each integer ...
0
votes
0
answers
40
views
Generate a complete list of all the possibilities from RandomChoice[list,n] [closed]
For example
clist={1,2,3};
RandomChoice[clist,5]
can produce any of the following as output
...
6
votes
6
answers
603
views
How to swap two columns in a specific row of a matrix?
What I've tried is the following:
...
2
votes
1
answer
92
views
ListLinePlot and Missing Values: whats wrong here?
I have two lists that I want to plot with ListLinePlot:
...
0
votes
1
answer
92
views
How shall I extract/plot the first element in each row of a table which is a matrix for a variable? [closed]
I have a table out of a matrix for a variable, e.g., for the first value of a variable 0.1 it shows as
...
1
vote
2
answers
112
views
How to display only the keys of a nested association?
Main question:
Given some nested association assoc with an unknown structure (where the values are potentially rather large expressions and we do not want to ...
1
vote
1
answer
67
views
Force NDSolve to numerically evaluate a function that returns a list
I want to solve a system of ODEs that has a variable number of equations. The following is a MWE that works:
...
1
vote
1
answer
75
views
How to join many tables one under the other? [closed]
Suppose I have three tables with index 1, 2, 3
...
0
votes
1
answer
110
views
Generalizing a function to ignore Missing
When the arguments contains Missing[] at the start of the data I find myself doing /.Missing->Nothing to the arguments and <...
3
votes
1
answer
136
views
Nearest without element itself
Is there a smart way to get nearest (given number num to given element elem) elements of list,
except element itself?
This works ...
0
votes
0
answers
54
views
Issue with filling the domain when plotting for the given data
Consider the following data (data.txt).
I am importing it
table = Import[FileNameJoin[{NotebookDirectory[], "data.txt"}],
"Table"];
and ...
5
votes
2
answers
155
views
Quickly checking Missing[] is only at the start of a list
I am working with Tabular data and I want to check if Missing[] is only the first contiguous part of list. e.g.:
...
0
votes
1
answer
80
views
Looping over Programmatic Variables
I have a function which I would like to output arrays of different size depending on the input parameter, say $n$, and looping over all the possible values of $n$. For example, let's say I wanted to ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
plotting × 854
matrix × 791
performance-tuning × 569
functions × 463
filtering × 438
replacement × 295
pattern-matching × 293
function-construction × 282
string-manipulation × 238
programming × 214
data × 204
equation-solving × 202
map × 188
sorting × 171
formatting × 169
graphics × 165
combinatorics × 149
import × 146
associations × 128
functional-style × 125
export × 121
differential-equations × 120
conditional × 112
syntax × 112
manipulate × 107
more related tags
Hot Network Questions
- What was the source of the image of pelican in Catholic churches?
- Axioms of quantum mechanics - intuitive explanation
- How should a typical reward curve look like while training a RL model
- What is that "T" in the pattern string of the date-command?
- STM32 F411RE not responding on custom board layout
- A complex polynomial inequality
- Expected Value of a Dice Product Game
- Console-based Casino Game in C++
- Why is the Schrödinger wave equation totally different from the classical wave equation?
- Dystopian 80s sci-fi movie about the USA choosing mediocrity
- Story about a room on Mars that contains God
- Define command valid only for a specific environment in expl3
- Pourquoi "better to use ne alone" dans ce cas, "with savoir followed by an indirect question"?
- Why were two 2x6 boards installed on top of a window rough sill?
- Descriptive nouns omitting の?
- Is there a smooth function approximating the minimum of a constant and a variable?
- How can I delete a stubborn file on Windows Server?
- Processing All Files [0-9]*tex
- tac-command is it a bug or a misinterpretation of the manual?
- Huge Difference in Interaction P-values Between Linear vs. Ordinal Regression (0.991 vs. 0.001)
- In QGIS installed via OSGeo4W on Windows 11, what is the path to the command history file for the Python console?
- Is a chemistry-first technological paradigm as plausible as one focused on physics or biology?
- How to get most recent common ancestor of a set of tips using ape package in R?
- How to make peaks with thick lines pointy?