Linked Questions

2
votes
1answer
183 views

Find the indices of elements which are larger than 10 in a list [duplicate]

I have a list a, which consists of some positive real numbers. I want to find the indices of elements which are larger than 10 in list ...
0
votes
0answers
37 views

Finding a specific position within a TimeSeries Forecast [duplicate]

Say I have a timeseriesforecast on a series of data, result in $10, 30, 50, 100, 400, 700, \ldots$ I want the programme to output the serial number (position in the forecast-series) of the first ...
0
votes
0answers
21 views

Position of elements in an n-list satisfying criteria [duplicate]

In this post, it is discussed how to find the positions in a list such that a given criterion is satisfied. But how does this generalize to lists of $n$ dimensions? Let us take for example the case ...
17
votes
7answers
5k views

How to find rows that have maximum value?

Suppose if I have following list { {10,b,30}, {100,a,40}, {1000,b,10}, {1000,b,70}, {100,b,20}, {10,b,70} } How to find rows that have max value in ...
5
votes
4answers
9k views

How to remove elements from a list that are less than a certain number? [closed]

If I have a list like: list = {23,21,18,15,13,12,10,9,8,7,7,5} How can I remove numbers from that list so that no number less than 13 is on it without hardcoding,...
3
votes
2answers
258 views

Obtaining the position in a list where the i^th element is bigger than the (i+1)^th element

My question is very simple but I am not able to find the optimal solution. What I am trying to do is to have a function that give me the position in a list at which the value at position ...
1
vote
2answers
1k views

“Nonatomic expression” error when identifying certain positions in a list [duplicate]

Please can anyone help ? I have a list of sets, and I am trying to find the positions in that list of those sets which are subsets of a given set. (Here I am ignoring the distinction between lists and ...
4
votes
2answers
448 views

Finding the positions DateList dates in a range in large data set

There are similar questions to this like list search but this question is focused on finding at subset of dates in DateList format within a range of specified dates ...
0
votes
2answers
217 views

Find the last element satisfying certain condition in a list

I have a list of numbers and I want to find the last element of it that satisfies certain condition. In this case, the condition is that the number equals 1. I need exactly the position of that ...
1
vote
2answers
185 views

How to work with dataset without column names?

I have a dataset of 2 columns as follows a 1 b 2 c 3 That dataset doesn't have names for both columns, how should I use select to work on it, i.e., get data with the second column number ...