Cside
Followers: 0 Following: 0
Statistics
55 Questions
0 Answers
RANK
30 534
of 295 467
REPUTATION
1
CONTRIBUTIONS
55 Questions
0 Answers
ANSWER ACCEPTANCE
85.45%
VOTES RECEIVED
0
RANK
of 20 234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153 912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
how to use if else statement
Hello, I have a list of participants (A, B, C, D...) and would like to extract their data from the dataset X. This dataset h...
mer än ett år ago | 1 answer | 0
1
answerQuestion
How to replace 1 column in table
Hello! I have a NaN table (100x200), lets call it A, and a large dataset with first column being participants ID (eg 123AJH), l...
mer än ett år ago | 1 answer | 0
1
answerQuestion
replace function that fulfills criteria
Hi, I am currently using the replace function for my strings. For example, if the string contains 1, i will have it replaced wit...
mer än 3 år ago | 1 answer | 0
1
answerQuestion
Exiting if condition when condition is not met, but continue for loop
Hi I have a if condition nested in a for loop that looks something like this. So there will be times when sum(A) does not meet t...
mer än 3 år ago | 1 answer | 0
1
answerQuestion
Mixed anova design function (unbalanced design)
Hi, I am trying to run a mixed (between and within design) anova and it seems like matlab does not have the function for that. I...
nästan 4 år ago | 2 answers | 0
2
answersQuestion
Recoding unique numbers to another number
Hi I have this array of numbers [5 5 6 6 6 11 11 ]and would like to convert every unique number from 1 to n. For example, if the...
nästan 4 år ago | 3 answers | 0
3
answersQuestion
Replacing indexed row with string
Hi, I have a matrix that contains all the row numbers and I would like these row numbers to be replaced by the string 'a' in the...
nästan 4 år ago | 1 answer | 0
1
answerQuestion
Loading multiple csv into matlab
Hi, I would like to run my code on different csvs. How could I code to read all the csv in a specified computer pathway (into an...
nästan 4 år ago | 1 answer | 0
1
answerQuestion
if loop for whole vector
HI, I have this code and the vector "hrs" is a 200 x 1 double. I cant seem to get the answer I want with this code. How may I de...
ungefär 4 år ago | 1 answer | 0
1
answerQuestion
Chi square test: non parametric
Hi, I have 3 groups of categorical data (all logicals) and would like to run the chi square test to get the p-value. However, th...
ungefär 4 år ago | 1 answer | 0
1
answerQuestion
Function writing for variable matrix
Hi i currently have this code and would like to write a function for it. I have to run this function with matrixes labelled A to...
ungefär 4 år ago | 1 answer | 0
1
answerQuestion
Remove empty rows from cell array
Hi, I have a cell array (attached) and would need to remove the rows with "" as they are empty fields, but still keep the rows w...
ungefär 4 år ago | 1 answer | 0
1
answerQuestion
Variable for loop storage
Hi, I currently have this code which allows the for loop to run based off an array, but I cannot run the same for loop to create...
mer än 4 år ago | 2 answers | 0
2
answersQuestion
Which graph is recommended?
Hi, I have a matrix (attached) and each row constitutes a 2 unique numbers that I would like to plot (coloumn order matters). Fo...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Unique values in cell array
Hi, I have a cell array and would like to find the unique values (by row) in the cell array. Each row has a variable number of n...
mer än 4 år ago | 2 answers | 0
2
answersQuestion
Which graph function to use?
Hello! I would like to create a chart like this (see attached) - with each participant on the x axis and the y axis being the co...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Comparing cell with criteria
Hello! I have cell matrix "Spfcfef" (120x2) as attached and would like to produce 3 outputs. 1) numbers 1-9, that did not appe...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Overlap of 2 logicals
I have 2 logicals, B and B2 of the same size (120x9), and would like to find the number of overlaps of 1s(true) in B and B2 of t...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Converting numbers into logicals
Hi, I would need to convert matrix A into a 120x9 logical array (B). A is a 120x1 cell, and each row contains numbers 1-9 (numbe...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Embedded if loop in for loop
Hello! I have a 120x2 matrix and would need to match for every row, if there is a common number that appears in both columns. Ev...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
Storing double output into a single cell array
Hi, is there a way for me to store the output in a cell format, in a single matrix? I want to store each 'selectedlocal' as part...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
How to write a loop that does not increase by +1?
Hello :) I currently need to run a loop with the output of "find(collated(1,:) ==0 )". Currently, the output is [2 ; 4 ; 5 ; 6 ;...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
Cross-correlation questions
Hi, I have 2 spike trains and would like to use cross-correlation to find out their time lag. Are there any resources out there ...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
Summing up the answers in for loop that meets criteria
I have this code and would like to find out of the 220 loops, how many of the corrcoef end answer fit the criteria of P<0.05 and...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
How to store corrcoef values?
Hello, I currently have a script and would like to store the respective r and p values in a matrix. I tried with A(n) = R after ...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
Combination of 2 columns
Hi, I have 2 vectors, A = 10x1, B = 6x1. How do I create a 60x2 matrix where every element of A is matched to the element of B...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
Mean of 3rd dimension
I have a matrix of 10 x 20 x 35. How do I mean the first 5 layers of the 3rd dimension (layers 1-5), resulting in 2D matrix of 1...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
To arrange matrix based off criteria in column
Hi i have a 60x2 matrix, with the first column being a number from 1 to 300 (not consecutive), and the second column with locati...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
help me debug - how to prevent code from collating with for loop?
Hi, I have this code that goes like this and I do not understand why the problem matrix is collated i.e. it gives a size of 2201...
nästan 5 år ago | 0 answers | 0
0
answersQuestion
Finding maximum number location in a matrix
I have a 8x6 matrix (A) and would like to find the row location of the max number in each column, thereby ending up with a 1x6 v...
nästan 5 år ago | 1 answer | 0