已回答
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 ...

7 years 前 | 0

| 已接受

提问


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

7 years 前 | 3 个回答 | 0

3

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

已回答
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)] ; ...

7 years 前 | 0

| 已接受

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答