list-manipulation's questions - English 1answer

4.672 list-manipulation questions.

I am trying to visualize some electronic flux data for a quantum mechanical system. I have a file containing electronic flux values and coordinates for different timesteps in a quantum mechanical ...

I am doing a research and found that the time efficiency of Nested Table in MMA isn't quite well but if you can break it into two single ...

I have a large matrix and I want to extract different sub-matrices that actually have elements on different positions. Using Extract and mention the position of ...

I had a set of data a5 that had imaginary values but when plotted, that data doesn't shows on the graph. ...

I have a list:lis = {{a},{1,2},{b},{3},{c,z},{d,e,f},{4}}I would like to join adjacent members of this list when both are not integers (or lists of integers), ...

I'm trying to get specific sections from a webpage using Mathematica. I've started by importing the webpage, and getting the section "headers" that I want: ...

I want to compare elements in a list that looks like this ...

Is there a function in Mathematica that compares two lists and take from first the element with the position of largest value at second: ...

I have a list of elements replaced with values:list = {A-> A1, B-> B1, C-> C1,...} saved as an external file using Save...

I have three parallel lists (i.e. the elements in position i of each list are related). I want to sort the first list using the function Sort and make the same ...

How can I revert the order of digits of an integer? If x1 = 59097585 then I want to receive x2 = 58579095.

I have a list (list) in the form of {x,y} as ...

The challenge is following: There are two lists data1 and data2 of following type: ...

One thing I could never wrap my head around is how Flatten works when provided with a matrix as the second argument, and the Mathematica help isn't particularly ...

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

I need to put legend " real part" for plot n5 and " imaginary part" for plot t5 such a way that, legends colors match up with ...

I have a list, say {10,9,8,7,2,3,5,4,3,2,1}What I want to achieve is to delete the elements that are not in decreasing order recursively. Namely, the output ...

In the meantime I'm accustomed to write special character orgies like D[%,#]&/@L (to quickly fish out the coefficients of the last input with respect to ...

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,...

have this nested list ...

I have a list that consists of events occurring on certain dates of certain months. To simplify, the list looks like this: ...

for given two list like below:list1 = {10, 9, 8, 7}; list2 = {1, 2, 3, 4};How do I get the desired result like this? ...

I have a list which I call by countryExportPartners = Table[l = CountryData[][[n]]; {l, CountryData[l, "ExportPartners"]}, {n, 1, Length[CountryData[]]}]I ...

For a fake function like:fun[x_] := x^0/x!;and list:list={0,0,0.1,0.2,0.9,0.8,0,0};It will get error in this way cause ...

Let $f\,\colon\,\Lambda\to\mathbb R$ be a real-valued function, where $\Lambda$ is a finite integer lattice. Say, $\Lambda=\mathbb Z_3^n=\{\vec x\,\mid\, x_i=0,1,2\}$ for some $n\in\mathbb N$. I'd ...

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 ...

Taking reference of Huffman code algorithm, ...

I'm a complete newbie to Mathematica, with a newbie question. I have a functionmyFunction[xx_] := 1+anotherFunction[xx_](This isn't literally my function, ...

I want to simulate a diffusive process in a 2D grid, for a central initial value of 1 to the adjacent cells initially at 0. At each time step, the value of the +1 level adjacent cells are increased ...

Suppose i have a list of the form ...

I have a list of data for which I need to multiply x-coordinates by 63 and y-coordinates by 50 inside the list. The list is in ...

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. ...

A simple command Or[f[1], f[2], f[3]]gives f[1] || f[2] || f[3]How this can be done automatically? I try ...

Take a finite set $S$ (i.e., a list). An involutive permutation is one that squares to the identity. How can we generate all such permutations efficiently, that is, without generating all permutations ...

I have the following simple code:z = {a, b, c} {{1, 2, 3}, {1, 3, 2}, {3, 2, 1}} /. {a_Integer, b_Integer, c_Integer} /; OrderedQ[z] -> 1which returns ...

This is a slight variation of: How to generate all possible orderless partitions of a list according to another list? Consider each set following a partition a "box" and each element a "ball". What ...

I have data regional data listed by country in this form: ...

Consider the following list:{{0.1, 5}, {0.3, 18}, {0.4, 6}, {0.7, 9}, {1.1, 5}}I want to obtain the second element of a sub-list with respect to the first ...

Consider a list (list) as ...

Consider a large array(~42000,3):array={{x1,y1,z1},{x2,y2,z2},...,{xn,yn,zn}};This array forms a certain shape, it may contain cavities or other ...

I have created a Finite Elements mesh on GID (quadrilateral 9 nodes elements). I exported the nodes and the elements topology and i'm reading it from the following two text files: https://www.dropbox....

Say I have these lists:ls1 = {1, 2, 3, 4}; ls3 = {"Chales", 10, 10, 10}; ls5 = ls1 + ls3ls5 returns ...

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

Suppose I have a list of pairs each containing an expression and an associated Graph object: ...

I have a list of reals and I want to check if for every element $i$ there is another element $j$ such that $\lvert{i-j}\rvert \leq x$ where $x$ is some arbitrary value. Each element can only be "...

I've been stuck in this problem for 1 week. I just want to make a graph (Log-Return vs time (in year, month, day)). The code is: ...

I am trying to write a program of the following nature. Let $A = [[a_{ij}]]$ be a $4 \times 4$ matrix. I have to divide it in the form $$ A = \begin{bmatrix} P & Q \\ R & S\end{bmatrix}$$ ...

I'm attempting to combine two problems that were previously addressed in the questions below: Filling an area between two curves with respect to a color function Adding a gradient filling according ...

I am just doing the following sum over a listt = Table[i^2, {i, 10}] Sum[t[[i]], {i, 0, 4}]However, the output is ...

I tried to find the slope for the line I got from contour plot for a function(f) in two variables(z,x) using "Get Coordinate" and the slope =12 which is correct, Is there any way to use specific ...

Related tags

Hot questions

Language

Popular Tags