Community Profile

photo

chocho


nwpu/shaanxi/xi'an/china

41 total contributions since 2017

chocho's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


how to extract some specific rows and columns with their corresponding values from a text file with rows and column headers?
Hello guys, I have a text file with 219 rows and 12586 columns and with row and column headers. i want to read this textfile...

8 months ago | 1 answer | 0

1

answer

Question


How to write a cell array of mixed strings and integers into a text file?
Hello guys, I have a cell array of 700 rows and 2 columns, The first column have a mixed of strings and integer values like t...

8 months ago | 2 answers | 0

2

answers

Question


How to count the number of elements of a cell having string and integers?
Hello guys, I have a cell array of strings and integer elements as shown here: 'POLR3D,SNAPC5' 'HIST3H2BB,HIST3H2BB' 'TFAM' ...

8 months ago | 1 answer | 0

1

answer

Question


How to compare 5 cell arrays and get their contents in one cell array?
Hello gyus, I have a cell array of size 600*1 and 4 cell arrays: cell1(361*2), cell2(376*2), cell3(362*2) and cell4(351*2). c...

8 months ago | 1 answer | 0

1

answer

Question


how to sum the elements of the same row in a cell array?
Hello guys, I ave a cell array of 1450 rows and 2 columns(1450*2) Some rows in column 1 are repeated but with different conte...

8 months ago | 2 answers | 0

2

answers

Question


What's the difference between Lasso function and glmnet function???
Hello guys, Could anyone plz explain for me what's the difference between lasso function and glmnet function ? I tried both i...

9 months ago | 0 answers | 0

0

answers

Question


how to install glmnet package in Matlab?
Hello guys, i want to use the glmnet functin wich included in glmnet package. i downloaded this package but i don't know how to...

9 months ago | 1 answer | 0

1

answer

Question


How to reformat this text input-file into this output_file?
*Hello guys,* Anyone can help me to reformat this input text file into this corresponding output file. More specifically,...

10 months ago | 0 answers | 0

0

answers

Question


How to compare the rows of small file with rows of large cell?
Hello guys, I want to compare the rows of 2 cells [cell1(627*1) and cell2 (126300*6)], and if they are equal get the columns of ...

10 months ago | 2 answers | 0

2

answers

Question


How to compare the content of 2 cells and get the content from cell1 column1?
hello guys, i have 2 cells and i want to compare cell1 (of size 172*1) column1 with cell2 (of size 30644*2) column2. If they ar...

1 year ago | 2 answers | 0

2

answers

Question


How to add row and column labels to matrix?
Hello guys, I have a *matrix* of size _135*135_ and a *cell array* of type strings size _135*1_ I want to add this cell array...

1 year ago | 3 answers | 0

3

answers

Question


how to write this data into a text file?
Hello guys, I have written this data into a text file by the format of this textfile has a wrong format [rowstg2,cols...

1 year ago | 1 answer | 0

1

answer

Question


how to compare every pair of rows and return a matrix?
Hello guys, I have a matrix of 135 rows and 2 columns and I want to compare every two pairs of rows based on their overlapped el...

1 year ago | 1 answer | 0

1

answer

Question


How and when we can use the cross validation to divide a data set?
Hello guys, could anyone plz explain to me how we can use cross-validation to divide a dataset into Training and Testing sets fo...

1 year ago | 0 answers | 0

0

answers

Question


how to divide a data set randomly into training and testing data set?
Hello guys, I have a dataset of a matrix of size 399*6 type double and I want to divide it randomly into 2 subsets training and ...

1 year ago | 7 answers | 0

7

answers

Question


How to convert the contents of a cell array into specific numbers?
Hi guys, I wrote this code to convert the columns 1 and 2 of my cell array into specific numbers as mentioned in the code but no...

1 year ago | 2 answers | 0

2

answers

Question


How to delete 'NA' columns from a text file?
Hi guys, I have a text file which has 7 rows and 499 columns and in some columns, there are 'NA' How can i delete them? ...

1 year ago | 2 answers | 0

2

answers

Question


how to compare between multiple text files with same columns but different rows?
Dear all, I have 5 text files with 13 columns but different rows. How could i compare those files to check if they have some...

2 years ago | 1 answer | 0

1

answer

Question


How to remove the unconnected nodes from an adjacency matrix?
Dear all, I have an adjacency matrix(n*n) of 1's and 0's extracted from an unweighted and undirected graph, my goal is to re...

2 years ago | 0 answers | 0

0

answers

Question


is there any function available to calculate graph neighbors in Matlab R2012a??
Dear all, Given a list of nodes(nodes.txt) and a list of edges between a thousand of nodes (graph.txt). could anyone help m...

2 years ago | 1 answer | 0

1

answer

Question


Why Markov clustering algorithm produced NaN ?
I have a graph of 67 nodes and 60 edges and want to cluster it using MCL (Markov Cluster) method. i got the adjacency matrix of ...

2 years ago | 1 answer | 0

1

answer

Question


How to get the adjacency matrix from a cell array of strings?
Hi friends, I'm so sorry for asking multiple questions in a short time. i have this cell array of size(60*2), and i want to get...

2 years ago | 2 answers | 0

2

answers

Question


remove duplicated rows from a cell array ?
Hi Friends, I have used this piece of code to remove duplicated pairs of rows from a cell array but it produces an error. Could...

2 years ago | 2 answers | 0

2

answers

Question


how to remove rows have ' - ' in their columns?
Hi Friends, i have a cell array of size (37080*2) and i want to delete the rows have '-' in column 1 or 2. cell={'gif','ghf'...

2 years ago | 1 answer | 0

1

answer

Question


how to compare the elements of 2 cell arrays and get their rows from cell2?
Hi Friends, I have 2 cell arrays cell1(1*1) and cell2(1*2) I want to compare the elements of cell1 with cell2 and when all the ...

2 years ago | 1 answer | 0

1

answer

Question


what's the best model in lasso function outputs?
Hi friends, i run this code on MATLAB with 10 fold cross-validation and with alpha=0.5 because i applied elastic net and it prod...

2 years ago | 0 answers | 0

0

answers

Question


How to set a threshold based on the values of an array vector ?
hi experts, I want to set a threshold based on the percentage of values in an array vector(320*1), Thus the value with the highe...

2 years ago | 1 answer | 0

1

answer

Question


what's wrong in this save command : save ./file1/FILE B -ASCII ?
Hi, guys, I have used this command to save FILE as text-file, but sadly i got this error. i google it and checked many source co...

2 years ago | 0 answers | 0

0

answers

Answered
how to transfer a cell array content into ordinal values?
Hi Friends, I created this code and run it and is worked well, but i wonder if there is another more fast code that can do this ...

2 years ago | 0

| accepted

Question


how to transfer a cell array content into ordinal values?
i have a cell array of string content and i want to turn the contents of cell 2 into ordinal values according to the list shown...

2 years ago | 3 answers | 0

3

answers

Load more