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

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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(...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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. ...

environ 15 ans il y a | 0

| A accepté

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

environ 15 ans il y a | 1

Réponse apportée
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...

environ 15 ans il y a | 0

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

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 3

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 2

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

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

environ 15 ans il y a | 1

Réponse apportée
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...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
mcc command
Hi, if mcc is not found, then the compiler is not installed ... Use ver to find out, which products/toolboxes are installed...

environ 15 ans il y a | 1

Réponse apportée
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...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
manipulate pixels in an image
Hi, if you have the image processing toolbox, you can use the function imresize. Titus

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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:/...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
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 ... ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 11

| A accepté

Réponse apportée
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 ...

environ 15 ans il y a | 0

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

environ 15 ans il y a | 2

| A accepté

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

environ 15 ans il y a | 0

Réponse apportée
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", ...

environ 15 ans il y a | 0

| A accepté

Charger plus