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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 4

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 1

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 1

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 2

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

Carica altro