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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 4

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 2

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

Mehr laden