**4.724 list-manipulation questions.**

TakeDrop is nice because after taking a subarray, it also returns the remaining subarray. But it is limited in that the part specification can only be ranges, and ...

Consider a list like the following onelist = { { a1 , {b1,c1} } , { a2 , {b2,c2} } , { a3 , {b3,c3} } };I would like to select a sub-sequence from this list ...

I am trying to recreate the following table,where you have the question mark.
to do it occupy the following commands, but I would like to help me improve my code to make it more practical especially ...

I have a long list of events consisting of pairs {{e_1,w_1},{e_2,w_2}, ....{e_n,w_n}}I want to bin the energies e_i and then sum the 'weights' w_i of all ...

I have two lists, the first one containing energies the second corresponding weights, which I want to combine into a weighted data set by using WeightedData.
...

I have a set of data g1 and when plot using n1, i got the plot shown in figure below. I need to change the x-axis label from (1,2,3,4,5...) to (1.0,2.0,3.0,4.0,5.0) and y-axis label from (50000,...

Say I have some function F which takes on two arguments F[a,b]. If I have some list {a1,a2,...,an} is there an easy way using @ symbols to produce the result of F[{a1,a2,...,an},b]?
I wanted to do ...

Let's say I have data points (y vs x) << data = https://pastebin.com/FR3xMwk8 >>, and it is shown in here. It is the intensity vs time of two different datasets.
I collect some data sample from ...

How can the intersection of two functions that their values are given by lists. For example:
...

I am trying to reproduce the example of Data Cleaning from here.
I had to make a slight change in input 13 to
...

I want to generate a list after using a function. In this list the original position is important.
...

Say I have a list of letters {A,B,C,D,E,F,G,H}, I want to create an $4\times 8$ array where each row must not contain duplicates and each column must also not contain duplicates.
Naively writing:<...

I have a function that takes in a list as an argument
Each element in the list is in the form {test number,first name,family name,mark} or ...

I have data1 and a target point targetPts, and want to find the closest point from the data. As you can see from below, the 29th ...

Given a list of functionsflist = {f[x, y], g[x, y], h[x, y], ...};I wish to some way apply Solve to flist to obtain
...

Consider a list of functionsM[x_]:={Cos[x], Sin[x], x}Say I want to evaluate the first elementM[1][[1]]What ...

I'm using a data, I need to find the maximum value between the points 15000-20000.
...

I want to write simple code that will list all numbers from $1$ to $n$ that are not multiples of $4$.
And in this case I consider that
...

I need, given "n", create a list {a1,a2,...,an}. For example:
Given n=3, the list that must be created is composed by the symbolic variables {a1,a2,a3}.
Sorry if this question is simple. Does anybody ...

I have a plot as below (the plot is just for illustration purpose. in my real problem, I just have pts1):-
...

I have a list of (x,y) coordinates, and I just want to get the elements in the list where the point x,y falls within a radius r.
...

I have a data1 with 4 columns and would like to remove the duplications by looking at the first 3 columns. Thus I used below code:-
...

I have sorted the data firstly by the 3rd column and then by the 2nd column as below:-a = RandomInteger[20, {30, 3}]
SortBy[a, {#[[3]], #[[2]]} &]As you ...

I'm trying to create a stacked bar chart using raw data coming from a MySQL server. The result coming back from one query is:
...

I have a list of lists of numbers:{{5,2,1},{8,1,3},{6,1,1,1},{8,1,3},{6,1,1,1},{8,1,3}}As you can see, they eventually cycle, but not immediately. I need a ...

My problem is essentially to do with manipulating and storing Sow data in a nested loop structure.
I have a set of differential equations describing time-evolution of a bunch of variables. ...

On a sort of related question here, I noticed something odd about the behaviour of List.
WhenImport["myCombinAnalysis.MX"]...

How to create a list like below by Table #& or others? j1, j2, j3, j4 ... j15...

I would like to eliminate all terms that contain the product of dxy, dwz, and dxz, i.e. the final result should read as dxy +b dwz+ c dxz. Thanks in advance for any hint.
...

I have p = {{a, b, c}, {d, e, f}, {g, h, i}}; and q = p;, is it possible to combine the following 2 lines into 1 line (without <...

Is there any function to directly create a flat list of expressions as a function of multiple index variables, in other words a flat version of Table. What I mean is to have for example
...

I am trying to understand why I am seeing inconsistent results when using ArrayReshape on a SparseArray vs. a normal nested <...

I'm trying to create an list like {1,3,2,5,8,7,9}, or {2,1,5,6,4,7,9}, that the elements in each list is sorted in a rough order,...

Consider a table with n columns and function f[x] depending on n coordinates, $x = x_{1},...,x_{n}$. I want to interpret the table as a set of points in n-dimensional space and calculate the function ...

Assume I have a matrix. (mat = Partition[Range@9, 3]) // MatrixFormmat$=\left(
\begin{array}{ccc}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & ...

I corrected my code but still, I can't plot my data...It was working well but when I added a 4th or 5th files...it doesn't work...I don't understande why.. even if I corrected the last line as follow
...

Let's assume, I have a data set like: data1 = {{{a1, b1, c1}, {d1, e1, f1}}, {{a2, b2, c2}, {d2, e2, f2}}, ...,
{{a20, b20, c20}, {d20, e20, f20}}}....

I have a data list like below:
...

What I want is a little difficult to explain. So I try to it with an example.
I have 2 lists, each of which has $(n-1)^2$ elements. Each element is an integer between 0 and $n-1$, inclusive.
For ...

I have written a piece of Mathematica code, where I have imported 4 data sets of x, y variables into 4 tables under a variable psi. I have plotted 4 different graphs of them on the same frame and ...

I have a list of 3D coordinates. I create an array of disks using their (x,y) coordinates as:
...

I have several lists that I would like to match and operate values among them. For simplicity assume I have these two lists:
...

I have a data set where I often get pairs of spikes that occur randomly but the pair is always separated within $n$ places of each other. I.e. the spacing between the pairs, in index, is always ...

I would like to plot a RegionPlot for $f(x,y) > 0$ where instead of specifying the range of $x$ and $y$ I want to use a list of ...

I have a list of rules: list = {a1 -> 0, a2 -> 3x, a4 -> 0, a5 -> 5x+3...}.
I would like to append to another list the nonzero rules, which are: ...

I have a few expressions $f(\theta,x)$, $g(\theta,x)$, $h(\theta,x)$ in terms of two variables, an angle and a length. The angle goes from $-\pi/2$ to $\pi/2$ and the length from 200 to 1500. This is ...

- matrix
- plotting
- performance-tuning
- functions
- filtering
- table
- pattern-matching
- programming
- replacement
- function-construction
- string-manipulation
- map
- data
- combinatorics
- array
- sorting
- functional-style
- equation-solving
- import
- graphics
- associations
- permutation
- manipulate
- random
- syntax

- What is the relative maximum or minimum and the point of inflection?
- Using profanity
- Can secret GET requests be brute forced?
- How to politely reject a rude advice giver at the gym that won't take it well anyways
- What is the true pinyin pronunciation for this radical?
- Does identifying a magic item reveal to the character if the item requires Attunement?
- Uncertain Meaning of Musical Symbol
- Select sub-sequences in lists?
- Why do I get a severe headache just before landing?
- Why is this smartphone picture better than this dedicated camera picture?
- Good worker, but she turns up late and leaves early, and others are gossiping
- When giving feedback to interviewers, should I be honest?
- Why does the Pumping-lemma for context-free languages use uvwxy, but the one for regular ones uvw?
- Can I shut off my keyboard w/o turning off my computer?
- Should I punish my teenage sister, whom I have full custody of, for lying to me in order to secretly see her boyfriend?
- The amount added to a student's actual score on paper for no reason
- Did Edna already know about Jack-Jack's powers?
- In a cemetery, what evidence could be found that humans were intelligent and had technology?
- Ziggy - Make a square from 8 polyomino pieces
- The Jumping Up Sequence
- Can fields be destroyed by water so that new ones need to be dug up?
- I have a firestarter disk, but it wonâ€™t light. How do i use it?
- What's the big deal about "Corellian" star ships?
- Is it OK to review a paper which builds on my work?