Feeds
提问
Use cellfun instead of for loop
I have a matrix BIGRAMPROB of 10*10*5 cell and i am performing some operation for that i wrote a function. But the problem i am ...
10 years 前 | 1 个回答 | 0
1
个回答提问
Replace for loop with cell function to reduce run time
My question is regarding to improve performance of code so that it will take less time, I want to replace for loop in my program...
11 years 前 | 1 个回答 | 0
1
个回答提问
write matlab code in c to decrease run time
I have a file of code in MATLAB and but the code run slow for large input data. I have a question that if i will write that MATL...
11 years 前 | 1 个回答 | 0
1
个回答提问
find sum of all the entries with value 0
I have a cell matrix of mat = [ 1 0 0 4;0 2 0 4], i want to find the sum of the all the entries having value 0. in the case ...
11 years 前 | 2 个回答 | 0
2
个回答提问
How to replace a particular string in text file
I have a problem related to efficiency, the code given below will replace the string <s> and </s> with '' an ' .' the code is ...
11 years 前 | 1 个回答 | 2
1
个回答提问
Regular Expression to append a string in text file
Here are some sentences from Text File. hi where are you going. hi how are you doing. how are you. hi where are yo...
11 years 前 | 1 个回答 | 0
1
个回答提问
part of speech tagging using matlab tool
I am working in the area of natural language processing and i want to do part of speech tagging in my corpus which contain sente...
11 years 前 | 0 个回答 | 0
0
个回答提问
how to Sort on the basis of a particular column
'<s> are going where you </s>' '2.050835e-011' '<s> are going you where </s>' '3.968437e-012' '<s> are where going you <...
11 years 前 | 2 个回答 | 0
2
个回答已回答
append data at the end of cellarray?
I have solved this in following way. This is the solution i am using. fid = fopen('Tiny_Corpus.txt','r'); tline = fgets(...
append data at the end of cellarray?
I have solved this in following way. This is the solution i am using. fid = fopen('Tiny_Corpus.txt','r'); tline = fgets(...
11 years 前 | 0
| 已接受
提问
append data at the end of cellarray?
# fid = fopen('TEXTFILE.txt','r'); # tline = fgets(fid); # while ischar(tline) # words=regexp(tline,'<s>|\w*...
11 years 前 | 1 个回答 | 0
1
个回答提问
Regular Expression to extract bigram
string = 'ab bc cd ef gh ij kl' what will be the regular expression to extract bigram from the given string I am writing ...
11 years 前 | 2 个回答 | 0