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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 3

| akzeptiert

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 11

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 2

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

Mehr laden