Feeds
已回答
Vector and matrix index operations
What do you think about something like this : myvect={'101AA21' '101AA22' '101AA23' '102AA21' '102AA22'}; mymatrix = ma...
Vector and matrix index operations
What do you think about something like this : myvect={'101AA21' '101AA22' '101AA23' '102AA21' '102AA22'}; mymatrix = ma...
9 years 前 | 0
已回答
how to concatnate cells within a column
I think you should try this: % code strcat( sprintf( '%s||', Data2 .REGIMEN{1:end-1} ) , Data2.REGIMEN{end} ) OR % c...
how to concatnate cells within a column
I think you should try this: % code strcat( sprintf( '%s||', Data2 .REGIMEN{1:end-1} ) , Data2.REGIMEN{end} ) OR % c...
11 years 前 | 0
已回答
How to solve string error in xlswrite?
Well I don't know .... xlswrite(filename,A,sheet,range) ... the order of arguments ??? what do you think about ?
How to solve string error in xlswrite?
Well I don't know .... xlswrite(filename,A,sheet,range) ... the order of arguments ??? what do you think about ?
12 years 前 | 0
已回答
Problem with xlswrite. Need to write text and numbers. Need help!!
You should use a cell array where each cell contains one value : a double, a string, ... but not an array !! So try something...
Problem with xlswrite. Need to write text and numbers. Need help!!
You should use a cell array where each cell contains one value : a double, a string, ... but not an array !! So try something...
12 years 前 | 1
| 已接受
已回答
Get the index for the search of multiple strings within an array of strings
did you try "intersect" ??? [C,ia,ib] = intersect(A,B) example
Get the index for the search of multiple strings within an array of strings
did you try "intersect" ??? [C,ia,ib] = intersect(A,B) example
12 years 前 | 1
已回答
time elapsed by a portion of the code
If you don't like tic/toc or cputime ... You can use the profiler in a local part of your code : profile on for ...
time elapsed by a portion of the code
If you don't like tic/toc or cputime ... You can use the profiler in a local part of your code : profile on for ...
12 years 前 | 0
已回答
Reading multiple images from a folder in MATLAB Directory
you lost the path ... try: imread( fullfile( Directory, Names{k} ) )
Reading multiple images from a folder in MATLAB Directory
you lost the path ... try: imread( fullfile( Directory, Names{k} ) )
12 years 前 | 0
| 已接受
已回答
I have 26 ascii files and I want to import data from all these files with the help of a for loop and convert all of them into column vectors.
I suppose all files have the same number of elements Tmp = importdata(files(k).name); Out = zeros( numel( Tmp.data ),...
I have 26 ascii files and I want to import data from all these files with the help of a for loop and convert all of them into column vectors.
I suppose all files have the same number of elements Tmp = importdata(files(k).name); Out = zeros( numel( Tmp.data ),...
12 years 前 | 0
| 已接受
已回答
Is there a way to assign the 'end' value to a variable?
And did you try strread ?? [A, B, ...] = strread('str', 'format') [ NameStart, NameEnd ] = strread( list_of_files(i)...
Is there a way to assign the 'end' value to a variable?
And did you try strread ?? [A, B, ...] = strread('str', 'format') [ NameStart, NameEnd ] = strread( list_of_files(i)...
12 years 前 | 0
已回答
Need to use cellfun for returning index of array
try this : regexp( { LD(:).Name } , 'Lam1' , 'once ) it's to find the first occurance of Lam1 in the cell array { LD(:)...
Need to use cellfun for returning index of array
try this : regexp( { LD(:).Name } , 'Lam1' , 'once ) it's to find the first occurance of Lam1 in the cell array { LD(:)...
12 years 前 | 0
已回答
how to convert to standard date and time
help datestr (for the function and to define the format ...) try: datestr(now, 'mmmm dd, yyyy HH:MM:SS.FFF AM')
how to convert to standard date and time
help datestr (for the function and to define the format ...) try: datestr(now, 'mmmm dd, yyyy HH:MM:SS.FFF AM')
12 years 前 | 0
已回答
Problem with multiple accesses in array indexing
Like AC, I think that your example is too easy to give you a solution. But I'm going to try with some supoositions. For me...
Problem with multiple accesses in array indexing
Like AC, I think that your example is too easy to give you a solution. But I'm going to try with some supoositions. For me...
12 years 前 | 0
已回答
save variables of different dimension in the same excel file
xlswrite(filename,A,sheet,range) so did you try this ? xlswrite('sugar.xlsx',A, 'Sheet01', 'A1'); xlswrite('sugar....
save variables of different dimension in the same excel file
xlswrite(filename,A,sheet,range) so did you try this ? xlswrite('sugar.xlsx',A, 'Sheet01', 'A1'); xlswrite('sugar....
12 years 前 | 0
| 已接受
已回答
This error- "index must be a positive integer or logical. " is occuring inspite of the fact that i have checked my program for all possible errors. Please help
Could you explain what is n ?? t=1 and u=0:n:t so n<1 and n is not an integer (I think) After the first loop, t=t-n and a=...
This error- "index must be a positive integer or logical. " is occuring inspite of the fact that i have checked my program for all possible errors. Please help
Could you explain what is n ?? t=1 and u=0:n:t so n<1 and n is not an integer (I think) After the first loop, t=t-n and a=...
12 years 前 | 0
已回答
Using strings in regular code.
For me, to construct the name of the file (it's what I use) FileName = 'Superman' ; FileDir = 'I:\..\MyDir' FilePa...
Using strings in regular code.
For me, to construct the name of the file (it's what I use) FileName = 'Superman' ; FileDir = 'I:\..\MyDir' FilePa...
12 years 前 | 0
| 已接受
已回答
Creating a cell array of size n
Your error : C(i) = 'red'; C is a cell array, with C(i) you reach the place in the cell array and not the element wh...
Creating a cell array of size n
Your error : C(i) = 'red'; C is a cell array, with C(i) you reach the place in the cell array and not the element wh...
12 years 前 | 2
已回答
equivalence of the codes that can be used for erasing the first row of R if cell R(1,3) is occupied by NaN?
I'm sorry but I don't understand what you are looking for. Code 2 is the code that I gave you <http://www.mathworks.fr/matlabc...
equivalence of the codes that can be used for erasing the first row of R if cell R(1,3) is occupied by NaN?
I'm sorry but I don't understand what you are looking for. Code 2 is the code that I gave you <http://www.mathworks.fr/matlabc...
12 years 前 | 0
已回答
How to write coding for the following problem
Hello, I don't understand how you can make i=i+1 in a loop on i !! ;-) When I see your code, I can write this: y(1) = ...
How to write coding for the following problem
Hello, I don't understand how you can make i=i+1 in a loop on i !! ;-) When I see your code, I can write this: y(1) = ...
12 years 前 | 0
已回答
simplyfing computations in arrays
Hello, t1 = ( (n-2):-1:0 ) *dt ; t2 = t1 + dt ; no ???
simplyfing computations in arrays
Hello, t1 = ( (n-2):-1:0 ) *dt ; t2 = t1 + dt ; no ???
12 years 前 | 0
已回答
problem with xlsread:Bizarre results
Hello, I think the problem is with Excel. I think you should have at a moment more than 245 lines, and you should have del...
problem with xlsread:Bizarre results
Hello, I think the problem is with Excel. I think you should have at a moment more than 245 lines, and you should have del...
12 years 前 | 0