Community Profile

photo

C Smyth


10 total contributions since 2017

C Smyth's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


How can I use a another variable as part of the name of a new variable?
I want to be able to change two variable names to change the naming of multiple variables. For example. Participant_Number = P...

1 year ago | 1 answer | 0

1

answer

Question


How to calculate the mean of each row from several columns?
I have 3 columns as three separate variables in the workspace. I want to find the mean of each row to create a new column of ave...

2 years ago | 1 answer | 0

1

answer

Question


Is it possible to use the trapz function to calculate the integrated value for each point of a data set?
I have a column of data that plots a sin wave. I want to know the area under the curve at a given point or of a set number of sa...

2 years ago | 1 answer | 0

1

answer

Question


Convert 6381x3 double to 1x3x6381 double?
I have a column of data in the form of 6381x3 but I want it in the form of 1x3x6381. Is this possible? The image shows the outp...

2 years ago | 1 answer | 0

1

answer

Question


Convert 1x1x6381 double to 6381x1 double?
I have a column of data in the form 1x1x6381 as seen in image but I want it in the form of 6381x1. So as 76.7309 76.5815 76....

2 years ago | 1 answer | 0

1

answer

Question


Subtract row from previous row
I have a column of data (n long) and I want to subtract each row from the previous. So x = 1 2 6 1 et...

2 years ago | 1 answer | 0

1

answer

Question


Converting from 1 x n x 3 to n x 3
I have a file with the data as image one. But my code will only work if the data is in a n x 3 matrix (e.g. image 2)

2 years ago | 1 answer | 0

1

answer

Question


Using rows of different files to create a matrix
I have 6 separate files all within the workspace each with 3 columns of data with an unknown number of rows but equal for all fi...

2 years ago | 1 answer | 0

1

answer

Question


Extracting a row of data from multiple files and loop into a calculation.
I have 6 separate files each with 3 columns of data with an unknown number of rows. I am trying to use the first row of each fil...

2 years ago | 1 answer | 0

1

answer

Question


Extract rows separately from multiple files.
I have 90 files each with three columns and about 2000 rows of data. I want to match/extract the first row in each of the file...

2 years ago | 1 answer | 0

1

answer