Réponse apportée
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 ...

plus de 7 ans il y a | 0

| A accepté

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...

plus de 7 ans il y a | 3 réponses | 0

3

réponses

Question


how to join 3 strings into single string?
I have a cell array *[1*3 cell]* Example *Tcgh A6 1214* and i want to join them by put '-' in between and get *Tcgh-A6-1214...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Question


how could i write cell array containing cell array into a text file using fprintf?
hi guys , i have used this code to write this cell array into a text-file, but the the text-file i got is adding some abnormal n...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
how to use Continue statement to compare between 2 cells and get their content only one time ?
for i=1:1:rowcell1 for j=1:1:rowcell2 if isequal(cell1(i,:),cell2(j,:)) cell3c=[cell3c;cell3(:,j)] ; ...

plus de 7 ans il y a | 0

| A accepté

Question


how to use Continue statement to compare between 2 cells and get their content only one time ?
All the cells of cell1(219*1) are existed in cell2 (244(219+15 repeated +10 others) . So i want to get the contents of those 21...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Question


how do i use textscan to display strings have spaces in between ?
Hi friends, i have used this code with textscan: fidpw= fopen('yy.txt','rt'); format = repmat('%s ',[1 row1]); Pat = ...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


how to compare 2 or more cell arrays?
Hi, i have 2 cells(cell1 and cell2) of size 628*1 and 244*1 respectively, and i want to compare the elements of cell 1 with the ...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Question


how to delete NA from specific rows without delete NA included in strings?
what's wrong with this command |isempty(strfind(l,'NA'))| ?? i have used the code below to delete NA rows but when i execute ...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


how to calculate the average between multiple floating point entries only(f1,f2,f3,f4,f5,f6.,....) and delete the duplicated columns
i have multiple columns 's format: %s %f1%s%d%d %f2%s%d%d %f3%s%d%d %f4%s%d%d %f5%s%d%d %f6%s%d%d %f7%s%d%d............ resul...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


large textfile 27580*1102 cell
fid = fopen('Cancer.txt','r'); data={}; while ~feof(fid) l=fgetl(fid); %get the lines if isempty(strfind(l...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


split a row into 2 rows
cg00008493 0.987979722052904 "COX8C;KIAA1409" 14 93813777 0.986128428295584 "COX8C;KIAA1409" 14 93813777 cg00031162 0.37828...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


hi guys , i want to read a text file line by line and remove the lines which have NA and the duplicated columns
d = fopen('COADREAD_methylation.txt','r'); this_line=0; all={}; while this_line~=-1 % C= textscan( d, '%f%s...

presque 8 ans il y a | 1 réponse | 0

1

réponse