Community Profile

photo

Peter P


Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


logical array variables in a loop
I have variables 'filter_X' that include only logical arrays: filter_p = outlier & incl_p; filter_r = outlier & incl_r; filt...

4 years ago | 1 answer | 0

1

answer

Question


generate index for included subjects
I am trying to generate an index to exclude some subjects, so far I tried: temp.ids = 101:130 excl = {'126' '127'}...

5 years ago | 1 answer | 0

1

answer

Question


Rescaling a variable with NaNs
I want to rescale my matrix(56,53), it is filled with numbers from 1 to 7 and NaNs. I would like to change the 1 to 7, 2 to 6, 3...

5 years ago | 1 answer | 0

1

answer

Question


How to concatenate table variables with underscores in their name
I have variables like B1_1_3(53x1) B2_1_3(53x1) until B56_1_3(53x1) stored in my table A. I want to concatenate them to receive...

5 years ago | 2 answers | 0

2

answers

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


mean of each column of a cell array that contains cell arrays
I have a cell array A(2x82). Cell array A contains in each cell cell arrays of different row sizes but equal column sizes. To be...

6 years ago | 2 answers | 0

2

answers

Question


Deleting missing values (different amount and distribution of NaNs for each column)
I have two matrices of the same size (17x82). Matrix A has no missing values. Matrix B has a different amount and distribution o...

6 years ago | 1 answer | 0

1

answer

Question


How to subtract row 1 of matrixA from row 2 of matrixB (matrices are of same size)
I want to subtract the first row of matrixA from the second row of matrixB for each participant (matrices are of same size). mat...

6 years ago | 1 answer | 0

1

answer