Risposto
eig and zero eigenvalues
Hi, your test is slightly wrong: abs(e)>eps ans = 0 1 1 1 1 Titus

oltre 15 anni fa | 0

| accettato

Risposto
Integration using quadl with complex arguments
Hi, you would need to pass the parameters to the inline functions. I'd suggest to use anonymous functions instead, i.e., repl...

oltre 15 anni fa | 0

Risposto
Error while trying to access a function
Hi, this error comes if you call a function without the input argument. Say your function looks like function y = myfun(...

oltre 15 anni fa | 0

| accettato

Risposto
File not found pass to next path
Hi, you can use exist(path1, 'dir') if a folder exists and exist(A(i,1), 'file') to test if the file exists. ...

oltre 15 anni fa | 0

| accettato

Risposto
Multiple Callback Functions
Hi, perhaps you could explain why "myotherfunc" would be bad. Perhaps events could help you out (the callback emits an event ...

oltre 15 anni fa | 1

Risposto
mldivide condition number
Hi, have you tried to play around with lastwarn? Find out if your mldivide produced a warning and react to this one? Or do yo...

oltre 15 anni fa | 0

Risposto
setting deploytool
Hi, which compiler are you using? Take a look at the following <http://www.mathworks.com/support/solutions/en/data/1-5228BJ/...

oltre 15 anni fa | 0

| accettato

Risposto
IE activex in MATLAB GUI
Hi, the following works for me: in the GUI_OpeningFcn I added: handles.ie = actxcontrol('Shell.Explorer.2', [100 100 500...

oltre 15 anni fa | 0

| accettato

Risposto
Using deploytool to create Java package
Hi, try to add the CompactTreeBagger class definition to your project. Then you should be able to handle objects of this clas...

oltre 15 anni fa | 3

| accettato

Risposto
Writing elegant MATLAB code
Hi, for these cases I usually cange from 3D to 2D: [n,m,~] = size(rgb); rgb2D = reshape(rgb, n*m, 3); rgb2D2 = rgb...

oltre 15 anni fa | 2

Risposto
Export data from simulink to workspace when using sim command
Hi Javier, usually I would prefer [t,x,y] = sim('model', [0 0.1], simset('DstWorkspace', 'current')); because when yo...

oltre 15 anni fa | 0

Risposto
Limitation of variables and constraints?
Hi Samir, there is no fixed limit. It depends on the amount of available memory ... Titus PS: what size of problem do y...

oltre 15 anni fa | 0

Risposto
uint64 equivalence
Hi, you are comparing doubles (MATLAB's standard number format), not 64 bit integers. x1=uint64(4467577170595717377) ...

oltre 15 anni fa | 1

Risposto
normrnd vs.random
Hi, if you open random with an editor and search for "normrnd", you will see, that random in fact calls normrnd. That's why i...

oltre 15 anni fa | 0

| accettato

Risposto
Using Zoom Function
Hi, you will need to implement a post-zoom callback. Take a look at the doc for zoom and there especially at Example 5: it sh...

oltre 15 anni fa | 0

| accettato

Risposto
mcc command
Hi, if mcc is not found, then the compiler is not installed ... Use ver to find out, which products/toolboxes are installed...

oltre 15 anni fa | 1

Risposto
multidimensional matrix
Hi, using reshape works, but what you want to do, is to get rid of the first dimension (i.e., changing your 1x20000x30000 mat...

oltre 15 anni fa | 0

| accettato

Risposto
Sparse Matrix indexing
Hi Samir, more or less that's the way to go. Take a look at the function speye, spdiags and the others under "See also" that ...

oltre 15 anni fa | 0

| accettato

Risposto
How can I download data from Access Faster???
Hi Fernando, there is no general answer to this general question. Some thoughts though: * run the profiler to find out, wh...

oltre 15 anni fa | 0

Risposto
Load Part of a Matrix or Cell array
Hi, unfortunately the answer is no (for R2011a). What I have done is to write a simple function that splits the variable into...

oltre 15 anni fa | 0

Risposto
manipulate pixels in an image
Hi, if you have the image processing toolbox, you can use the function imresize. Titus

oltre 15 anni fa | 0

Risposto
textscan in MATLAB 6.1
Hi Katherine, version 6.1? It's been a while ago, that I've been working with MATLAB 6. The function that's most similar to t...

oltre 15 anni fa | 0

Risposto
MWArray.dll version 2.0 is not a compatible version
Hi, depending on the MATLAB version you have, version 2.0 is the "first" supported version of the .NET Framework, see http:/...

oltre 15 anni fa | 0

| accettato

Risposto
matlab textscan
Hi, the third parameter "N" is the one you are looking for nRows = 20; data = textscan(fid_1, '%f%f%f%f', nRows, 'Del...

oltre 15 anni fa | 1

| accettato

Risposto
How to compile the .m file and use it in VC++
Hi, use the MATLAB compiler and generate a C/C++-Shared Library ... just start deploytool and follow the steps ... ...

oltre 15 anni fa | 0

| accettato

Risposto
Stop exponential answers
Hi, there is no type in format that generally tells MATLAB to use such a format. Nevertheless you can always use sprintf to m...

oltre 15 anni fa | 11

| accettato

Risposto
system of differential equations
Hi, you could open the vdp model as a typical second order differential equation. The way to go stays the same when you have ...

oltre 15 anni fa | 0

Risposto
Fixed point numbers on plot axes
Hi, you could do the following: ytick = get(gca, 'ytick'); yticklabel =strread(sprintf('%.1f;', ytick), '%s', 'delimi...

oltre 15 anni fa | 2

| accettato

Risposto
Write to Excel file using inputdlg for file name
Hi Eric, inputdlg always returns a cell array, so: xlswrite(file_name{1}, ...) Titus

oltre 15 anni fa | 0

Risposto
How can use a matlab's dll of a funtion (with some parameter ) in vc++6.0v ?
Hi Sandeep, do you have the compiler? You will need it to generate a DLL. Open deploytool, select "C-shared library target", ...

oltre 15 anni fa | 0

| accettato

Carica altro