Réponse apportée

PC Reccomendations for MATLAB

Use an Amazon EC2 cloud machine. It will be upgraded regularly and you can later use the distributed computing toolbox to spread...

PC Reccomendations for MATLAB

Use an Amazon EC2 cloud machine. It will be upgraded regularly and you can later use the distributed computing toolbox to spread...

presque 12 ans il y a | 0

Réponse apportée

how to solve Coupled equations including ODE and algebraic equations?

Well, the error says it all, you don't define EVI in the function trial.m, it's not passed in as a variable anywhere, and its no...

how to solve Coupled equations including ODE and algebraic equations?

Well, the error says it all, you don't define EVI in the function trial.m, it's not passed in as a variable anywhere, and its no...

presque 12 ans il y a | 0

| A accepté

Réponse apportée

Slow Matlab startup if startup.m contains many path additions

build the path yourself and do a single call to addpath, addpath expects a single string containing path names separated by semi...

Slow Matlab startup if startup.m contains many path additions

build the path yourself and do a single call to addpath, addpath expects a single string containing path names separated by semi...

presque 12 ans il y a | 0

| A accepté

Question

Is there any workaround for the slow performance of path.m?

I use Matlab on multiple machines and generally do not have write access to the directory where the path is saved (i.e. I cannot...

presque 12 ans il y a | 1 réponse | 2

Question

How to get simulink library and block names for the add_block function?

Hello, I would like to create a Simulink model programatically, using commands such as add_block etc. However, I'm having tro...

presque 12 ans il y a | 1 réponse | 0

Question

Best way to determine if number is triangular number?

Hello, I would like to test if an integer is a triangular number, and am wondering what the best way to achieve this is. I am...

environ 12 ans il y a | 3 réponses | 0

Réponse apportée

Using simulink as fitness function for GA

I think this might help you: http://stackoverflow.com/questions/5140013/executing-simulink-model-by-m-file-and-retrieving-the...

Using simulink as fitness function for GA

I think this might help you: http://stackoverflow.com/questions/5140013/executing-simulink-model-by-m-file-and-retrieving-the...

environ 12 ans il y a | 0

Réponse apportée

GA (genetic algorithm) moves away from better values

But only the mean gets worse, the best improves with every generation, and this is all that matters surely? Random combinatio...

GA (genetic algorithm) moves away from better values

But only the mean gets worse, the best improves with every generation, and this is all that matters surely? Random combinatio...

environ 12 ans il y a | 0

Réponse apportée

Image processing in MATLAB/OpenCV

There is also a mex interface to opencv which may offer the best compromise, as the actual opencv processing is still done in na...

Image processing in MATLAB/OpenCV

There is also a mex interface to opencv which may offer the best compromise, as the actual opencv processing is still done in na...

environ 12 ans il y a | 0

Réponse apportée

Calibrating VIX option data to model - lsqnonlin problem

lsqnonlin does not know that myfun takes 4 arguments, it expects it to just take one. You can get around this using an 'anonymou...

Calibrating VIX option data to model - lsqnonlin problem

lsqnonlin does not know that myfun takes 4 arguments, it expects it to just take one. You can get around this using an 'anonymou...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée

large sparse matrices fail with accumarray

I'm not sure how your two statements here are equivalent? a = sparse(1e6, 1e6); creates a sparse matrix of all zeros of ...

large sparse matrices fail with accumarray

I'm not sure how your two statements here are equivalent? a = sparse(1e6, 1e6); creates a sparse matrix of all zeros of ...

plus de 12 ans il y a | 0

A soumis

samesize

Determine if all inputs are the same size in all dimensions.

plus de 12 ans il y a | 3 téléchargements |

Question

How to compile a library for linking with a mexfunction?

I have a C++ program which I am constructing a mex interface for. This program's source code files are contained in a single fol...

plus de 12 ans il y a | 1 réponse | 0

Question

What is the most memory efficient way to return large arrays in a C structure from a Matlab C mex function?

I have a program which creates a C structure which contains large arrays of various basic data types (ints doubles etc.). What i...

plus de 12 ans il y a | 1 réponse | 0

Réponse apportée

How to call MATLAB in my VB GUI

You will probably require the <http://www.mathworks.co.uk/products/netbuilder/ Matlab .NET Builder NE> to do this easily. Consid...

How to call MATLAB in my VB GUI

You will probably require the <http://www.mathworks.co.uk/products/netbuilder/ Matlab .NET Builder NE> to do this easily. Consid...

plus de 12 ans il y a | 0

A soumis

odesplit

Splits evaluation of a system of differential equations into chunks to avoid out of memory errors

plus de 12 ans il y a | 1 téléchargement |

Question

C++ Mex file crashes matlab on 64bit linux, but not 32 bit windows, but program runs fine outside Matlab

*warning: the code I provide in this question may crash your machine* I have written a mex gateway function to a C++ class. If ...

presque 13 ans il y a | 2 réponses | 0

Réponse apportée

How to remove accidentally created radiobutton Callback function?

ok, I solved the problem by creating a duplicate of the original radiobutton, deleting the original, then renaming the new radio...

How to remove accidentally created radiobutton Callback function?

ok, I solved the problem by creating a duplicate of the original radiobutton, deleting the original, then renaming the new radio...

presque 13 ans il y a | 0

| A accepté

Question

How to remove accidentally created radiobutton Callback function?

I have a gui I've been working on which has a button group with two radiobuttons. Obviously these call the SelectionChangeFcn wh...

presque 13 ans il y a | 1 réponse | 0

Réponse apportée

Curve fitting to data sets with multiple parameters

use polyfitn from the file exchange http://www.mathworks.com/matlabcentral/fileexchange/10065-polyfitn

Curve fitting to data sets with multiple parameters

use polyfitn from the file exchange http://www.mathworks.com/matlabcentral/fileexchange/10065-polyfitn

plus de 13 ans il y a | 0

Question

Are there any speed/memory implications for using "always dbstop on error"?

I often find it handy to use the "Always dbstop on error" option for the debugger, but am wondering if there is any drawback in ...

plus de 13 ans il y a | 1 réponse | 1

Réponse apportée

4D interpolation

you could fit a 4D polynomial to the data using polyfitn from the file exchange (<http://www.mathworks.com/matlabcentral/fileexc...

4D interpolation

you could fit a 4D polynomial to the data using polyfitn from the file exchange (<http://www.mathworks.com/matlabcentral/fileexc...

plus de 13 ans il y a | 0

| A accepté

Question

Numerically calculating derivatives in the ODE solvers using the matlab time step size, is it a good idea, and if it's ok what is the best way to do it?

Hello, I am thinking of creating a system of differential equations to be solved using the Matlab ode solvers, the right hand...

plus de 13 ans il y a | 1 réponse | 0

Réponse apportée

Matlab with dual core uses only 50% cpu (R2010b, Intel Core 2 duo T9300)

Have a look at the multicore package on the file exchange to speed up computation using multiple cores. <http://www.mathwork...

Matlab with dual core uses only 50% cpu (R2010b, Intel Core 2 duo T9300)

Have a look at the multicore package on the file exchange to speed up computation using multiple cores. <http://www.mathwork...

plus de 13 ans il y a | 0

Réponse apportée

MATLAB vs. Excel: Matlab seems to give better answer to exponential decay, anyone know why?

You should _never_ use Excel for anything more complicated than accounting, as this only requires a precision of 2 decimal place...

MATLAB vs. Excel: Matlab seems to give better answer to exponential decay, anyone know why?

You should _never_ use Excel for anything more complicated than accounting, as this only requires a precision of 2 decimal place...

plus de 13 ans il y a | 0

Question

A better way to change the name of a structure field?

Hello, I would like to change the name of a structure field at run time. Specifically, I want to change all the names to upper...

plus de 13 ans il y a | 1 réponse | 0

A soumis

randMat

Generate random numbers uniformally in a given range or matching a given normal distribution

presque 15 ans il y a | 1 téléchargement |

A soumis

Goodness of Fit (Modified)

Computes goodness of fit for regression model given matrix/vector of target and output values.

environ 15 ans il y a | 4 téléchargements |