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

oltre 7 anni fa | 0

| accettato

Domanda


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

oltre 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Risposto
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)] ; ...

oltre 7 anni fa | 0

| accettato

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta