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

14 years ago | 0

| accepted

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

14 years ago | 0

Answered
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(...

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 1

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 3

| accepted

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

14 years ago | 2

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 1

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 1

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

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

Answered
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:/...

15 years ago | 0

| accepted

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

15 years ago | 1

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 11

| accepted

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

15 years ago | 0

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

15 years ago | 2

| accepted

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

15 years ago | 0

Answered
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", ...

15 years ago | 0

| accepted

Load more