list-manipulation's questions - English 1answer

4.851 list-manipulation questions.

I would like to know is there is a way to do this: ...

ListPlot[list, Joined -> True, PlotRange -> Full]I would like a simple method to get the positions within the list where the values deviate a lot from ...

This question could sound pretty silly but I can't find a way to apply element -wise tests to a list. For example if I digit ...

Some background. I can use Mathematica to generate text book problems/exercises and corresponding answer in two "pairs/synched" lists $L_{Q}$ and $L_{A}$ (i.e. element 1 in each list is a Q&A pair,...

I don't know how to subtract off background data Data0 from my data sets collected in Datagen. ...

Let's say I have an arraya={{1,2,3}, {4,5,6}, {7,8,9}}I want to have all elements along the diagonal multiplied by 2. ...

This question is related to this. Consider an array array as array = ImageData[RandomImage[10, 10]];And the indices of the ...

Assume that I have a function that generates an $m \times n$ array of numbers and I want to put this array in a specified place in an $(m+n) \times (m+n)$ matrix. How can I do that?

I have a function of 3 argumentsmu[kx_, ky_, lambda_] := -(kx^2 + ky^2) - (kx^2*(kx^2 + 5*ky^2)*lambda)/(kx^2 + ky^2)^4I want to plot ...

I've opened a question here, which was answered. The code works totally fine for a small set of data. However, for a large set and over many iterations, it will take a long time (in order of 24 hours)....

I have the source file file = "test.txt" with these values: ...

Suppose I have the following list: ...

Reading the documentation of Position, I found there's a possible issue:Position looks for matches based on patterns, which may ...

I have 2 lists, that have the following form:List1 = {{0.0, val10}, {0.1, val11}, {0.2, val12},...} List2 = {{0.0, val20}, {0.1, val21}, {0.2, val22},...}I ...

I have data of following form. data = {{1, multi1(z1, z2,..)},{2, multi2(z1, z2,..)},...} I want to add up all the coefficients of corresponding multinomial (and also want to perform different ...

I have two lists as follow. The first isp={{"j","d","x"},{"d","k","z"}}and the second one is: ...

Fairly often I have a need to get the Ordering of an expression but with recognition of duplicates. For example: ...

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

Is there a way to perform Outer operation without evaluating diagonal elements like:Outer[f, {1, 2, 3}, {1, 2, 3}], expecting ...

So, I tried to use Position to get the Position of the 90% Maximum of a Photodiode Signal. The code works when i directly use the solution of the .9*Max[...] solution, but I want to have it with a ...

I would like to know is it possible to find positions of False in t: ...

I need to find the position of elements in list that are present in close. These are both 2D lists. The code is simple but not ...

Suppose I have the following list l={{"x","b","c"},{"y","a","d"},{"x","b","y"},{"x","y","c"}}I want to go through the list l and delete elements whenever ...

I have a large array of triples (x_i,y_i,f(x_i,y_i)) The the values x_i and y_i are equidistant variables and the function values f(x_i,y_i) are results of a Monte Carlo calculation which contain ...

How can I pause play in Manipulate when a condition is met ? Here is an example: ...

Hello I have a large number of data points, from which I want to remove these(between the red lines) that seem to fall onto one plane, what would be the best and easiest approach. Also added the ...

Recently I asked a question here about how to construct a transition probability matrix given the following list: ...

I have the following list: ...

I would like to import images which are frames from a video, they are numbered, so importing them in the correct order should not be a problem... However, when I import them, by writing: ...

If I have a list like that:list = {1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1}how can I filter it in such a way that noisy input (like the 2, here) is replaced by the ...

How can reach the second matrix from the first nested one: ...

This is an extension of this question. I have xyPairsAll, which is a matrix holding sublists. It looks like ...

I wonder if is possible flatten a list at the last level without flattening at the first level, I think that isn't a good explanation so here is my code ...

Part of my code takes in list of lists of around 200 integers and produce a new list of lists. Following the approach in this post and this post, I created the new list using the linked list approach ...

I am wanting to pull multiple pieces of data from a while loop and put it in a list. The example I have added below is a table with inputted data that I found. Im pretty sure the syntax is unrelated ...

Hy my program i running only for one value but i want to run this for several values By addind result of previous one at a same time.... my program is ...

How it is possible to find the length of the longest sequence of zeros in list{1,0,0,1,1,0,0,0,0,1,0,0,0,1,1,0,0,1}which is equal to 4 in the sample list above

I have a given list of some numbers e.g. a = {0, 0.233, 0.65, 1.56};I want to evaluate a function ...

The main goal of this procedure is to first rotate an array of 3D coordinate leaving z untouched,finding the positions of tuples with z larger than some value, and then mapping those positions to the ...

I need to merge two QuantityArray objects of mixed type. My first attempt looks something like: ...

I have the following list, l={{"a", "b"}, {"c", "d"}}I was wondering how can I convert it into: output: {"ab", "cd"}

I want to generate a table that gives the following output:output: {"x1", "x2", "x3", "x4", "x5"}I have tried: ...

Helly everybody, I will try to keep this as simple as possible. I have a function which looks like this:Min[T_, E_, D_] := Module[ ..... List = {...} ];In ...

I'm trying to generate multivariate monomials in variables $p_1, \ldots, p_n$. Each monomial has either $p_i$ as a factor, otherwise $(1-p_i)$. I need to generate all monomials which have exactly $k$ ...

I have to set the first and last rows and columns to zero rows and columns. I tried with the first column: ...

I have the following list: l={{1,2},{3,4},{5,6}}I want to list plot above such that the first element {1,2} can be labeled "a", {3,4} labeled "b" and {5,6} to ...

In my current code, I have formed a list of numbers with two different methods. For the first method, I wrote ...

I am trying to create plots starting from values that I have in an Excel spreadsheet. The values of interest are contained in three rows, which I will call 1, 2, and 3 for the sake of this discourse. ...

I have a very large matrix (tensor) in Mathematica with some zero and non-zero elements. I am interested in replacing the non-zero elements with some symbol or a 1 so that it is easier to view the ...

Let m={{1, 2, 0}, {4, 0, 9}};I want to find the position of every nonzero element of the above matrix. The code ...

Related tags

Hot questions

Language

Popular Tags