Community Profile

photo

Aleya Marzuki


Last seen: nästan 3 år ago Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Error when trying to remove rows with specific values from cell array.
I have a cell array that looks like this with strings and numbers I'm trying to write simple code that will remove entire row...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Convert struct with several fields into long table
I have a structure (see image) with 9 fields and 100 rows. Each row is a 200x1 double. As each row has exactly the same dimensio...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Repeat value/variable in one column based on variable in another column
I have a data table with one specific column (consisting of characters) containing some rows with 'CS1' and 'CS2' with rows of 7...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Generate column of random numbers that change slowly from row to row
I have basic code here that generates pseudorandom numbers from 0.2 to 0.8, 200 times. T = 200; prob = 0.2+0.8*rand(T,2); % ...

mer än 4 år ago | 3 answers | 0

3

answers

Question


Find mean of rows containing decimal numbers in between integers in a column
I have a column with mostly decimal numbers and some integers Example (the integers are in bold). - Y = [1 0.098 0.00076 0.0...

mer än 4 år ago | 4 answers | 0

4

answers

Question


Replace rows in one array with values from another column
I have a long column with integers. In any 24 of the rows, there are number 5s. For example [354, 693, 5, 1289, 1890, 3456, 5 .....

mer än 4 år ago | 1 answer | 0

1

answer

Question


Count how many times a number appears for X number of rows (e.g 99 rows) in an array.
I have a very long array made up of mostly 0s but also has rows with the number 5 in them. The 5s can occur for either 99 rows o...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Calculating the number of integers present after a specific value appears in an array
I have an array with streams of 9s and 7s occasionally punctuated by single 0s, [0 7 7 7 7 9 0 9 9 9 9 7 0 7 7 7 7 0]. I want t...

nästan 5 år ago | 1 answer | 0

1

answer