Réponse apportée
obtain information on excel files
You could open the file using actxserver (see doc) and make your way through the file using methods and properties. It probably ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
output of evalc
But you could try something similar: p = s{2}; [a,b]=system(['dir /B "' p '"']); It took about half the time of the ...

plus de 14 ans il y a | 0

Réponse apportée
roots in Simulink
Hi Cosmin, I took a look at the implementation of roots for the Embedded MATLAB Function block (<matlabroot>\toolbox\eml\lib\...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
find the coherence
Hi, yes, you will need to interpolate them onto some common time vector to reasonably compare them. For the comparison probab...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
roots in Simulink
Hi Cosmin, up to roundoff error both solutions are fine. If you take the second solution and compute the polynomial within MA...

plus de 14 ans il y a | 0

Réponse apportée
roundoff function not working
Hi, which "roundoff"? The functions for rounding are round, ceil, floor, fix ... Titus

plus de 14 ans il y a | 0

Réponse apportée
mex and parallel
Hi Xiaochun, I'm not sure why you want to compare the code with spmd and without. Running the same code within spmd will alwa...

plus de 14 ans il y a | 0

Réponse apportée
Matrix of eight nearest neighbors
Hi Marlene, this should not be that difficult, I guess? One of the next four neighbors you would get by adding the line [-1 -...

plus de 14 ans il y a | 0

Réponse apportée
Will Matlab ever support indexing of GPU arrays?
Hi Kevin, indexing is supported since R2011a, see http://www.mathworks.com/help/toolbox/distcomp/rn/bsuaink-1.html Titu...

plus de 14 ans il y a | 4

Réponse apportée
error in converting cell value
Hi, A = cell2mat(a2.D1) Titus

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Zooming in and out removing
Hi, O.K., I think I've found it: you need to move the camera far away from the object, so add the following line after the "v...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Generating A Step Like Function In MATLAB.
Hi, in this case I would take a look at the output of stairs, e.g. [x,y]=stairs(1:3, 2:0.5:3) x = 1 2 ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
COmpiler
Hi, usually you do this by implementing a custom target for RTW. Search the MATLAB doc for "custom target development" and th...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
selecting and removing all grey pixels in an RGB image
Hi Sara, the trick is to change the image from NxMx3 to (N*M)x3: % store the size s = size(I); % make I a matrix w...

plus de 14 ans il y a | 0

Réponse apportée
selecting and removing all grey pixels in an RGB image
Hi, what about looking for all pixels that are somewhat "greyish"? Instead of R, G and B exactly the same you could test ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Generating Step Function In MATLAB.
Hi Pranjal, take a look at the function stairs that makes this task rather simple ... Titus

plus de 14 ans il y a | 0

Réponse apportée
compiler
Hi, if this helps: any program outside MATLAB can be called using system, e.g. system('"c:\program files\codewarrior\cod...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Pack several files in one .p file
Hi, what you can try (it works, as long as you don't have subfunctions somewhere with the same name as .m files): append all .m...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Zooming in and out removing
You should mutually disable the "other" functionality: when you do a rotate3d on add a zoom off and vice versa. ...

plus de 14 ans il y a | 1

Réponse apportée
To split a matrix into equal parts.
Hi, depends if you need the intermediate 16 matrices or only the 16x16 matrix. The latter would be simply A = rand(128,1...

plus de 14 ans il y a | 0

Réponse apportée
Failed to eliminate a call to the MATLAB function 'quadprog'.
Hi, taking a look at the <http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-11.html list of supported functions> it looks ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Textscan issues
Hi, you are on the right way: read everything as strings: v = textscan(fid, '%s %s %s %s %s %s %s', 'headerlines', 2); ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Optimizaation problem in matlab
Hi Sukuchha, it doesn't matter how complex your function is or how many lines it has. What you need to do is (conceptually) s...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
MATLAB is not a fully oop yet... why is this?
Another aspect: you might well stick to the functional programming paradigm in MATLAB, if you like. My personal view would be to...

plus de 14 ans il y a | 2

Réponse apportée
place uitable in a GUI by code ?
Hi, yes, you might do in the callback of your pushbutton something like handles.mytable = uitable('units', 'normalized',...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Other Problem with VideoWriter and zbuffer renderer
Hi, yes, OpenGL is the only renderer capable of transparency. I tried your example and it works fine for me (using OpenGL ins...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Insert Date, Time, Created By, Modified by... etc file properties in m-file
I guess probably no. But usually you can use tokens in your file when you have your functions/programs under source control (lik...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
about memory cost for MDCE
Hi, Some clarification: by "node" you mean "worker"? So when starting your workers each worker consumes 1.5 GB without runnin...

plus de 14 ans il y a | 0

Réponse apportée
Mex
Hi, the return statements in the switch-case block are suspicious: you are leaving the mex file without entering the "passing...

plus de 14 ans il y a | 0

Réponse apportée
save or write variables in function file
Use the function save? ;-) Titus

plus de 14 ans il y a | 0

Charger plus