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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

Respondida
find the coherence
Hi, yes, you will need to interpolate them onto some common time vector to reasonably compare them. For the comparison probab...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

Respondida
roundoff function not working
Hi, which "roundoff"? The functions for rounding are round, ceil, floor, fix ... Titus

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 4

Respondida
error in converting cell value
Hi, A = cell2mat(a2.D1) Titus

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

| aceptada

Respondida
COmpiler
Hi, usually you do this by implementing a custom target for RTW. Search the MATLAB doc for "custom target development" and th...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Respondida
Generating Step Function In MATLAB.
Hi Pranjal, take a look at the function stairs that makes this task rather simple ... Titus

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

Respondida
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); ...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 2

Respondida
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',...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

Respondida
Mex
Hi, the return statements in the switch-case block are suspicious: you are leaving the mex file without entering the "passing...

más de 14 años hace | 0

Respondida
save or write variables in function file
Use the function save? ;-) Titus

más de 14 años hace | 0

Cargar más