Answered
numel errors in matlab
Somewhere there is missing an "end", does the end of the for loop comes after the line "be(i,1) = interp2(...)"? Second: does a...

14 years ago | 0

Answered
Matlab code corrsponding to simulink block
Most often you can't because the code is built in. Some blocks are implemented as masked subsystems, in this case you can take a...

14 years ago | 0

| accepted

Answered
Overhead of calling MEX functions from another MEX file
Hi Jan, what about doing both? Having the overall algorithm spread over many mex files probably is no good idea since you wil...

14 years ago | 0

| accepted

Answered
how to use SQLServer/JDBC from compiled Matlab code?
Hi Tom, just to be sure: on "the other machine" you have used the MCRInstaller to install the MCR, and you edited there the c...

14 years ago | 0

| accepted

Answered
matlab code to convert xyzcolor space into lab color pace
Hi, if you have the Image Processing Toolbox available, use the function makecform (with parameter 'xyz2lab'). Otherwise: ta...

14 years ago | 0

Answered
Waitbar real time
It all depends on your estimate on how much already has been done. Robert noted already the relevant functions: start a timer. I...

14 years ago | 0

Answered
Manipolation of cell array and
Hi, yes, should be not too difficult, as long as you know where the numeric values are: values = zeros(2,3); for i=1:...

14 years ago | 0

Answered
I need matlab coding and simulink for compression techniques interms of coefficient,energy,threshold
You might want to take a look at the <http://www.mathworks.com/products/wavelet Wavelet toolbox>. Titus

14 years ago | 0

Answered
Stand Alone Shared DLL
Hi Umur, the compiler can also generate a shared C dll, see <http://www.mathworks.com/products/compiler/description1.html her...

14 years ago | 0

Answered
Multithreaded FILTER?
Hi Jan, I gave it a try on my quadcore laptop. Using your test code using MATLAB singlethreaded or multithread indeed nearly ...

14 years ago | 1

Answered
fsolve
Hi, add the b1, b2 to the function as variables: function F = eqns(x, b1, b2) F = ... and call pass your b1, b2 to...

14 years ago | 1

| accepted

Answered
Problem with number of intervals chosen by quadgk
Hi Nicolas, since the "r" in the function alpha is the variable, it looks to me, as if you have to rewrite alpha to loop on r...

14 years ago | 1

Answered
Error using FEVAL
Hi, it looks as if this error message comes from the server. - What server do you connect to? - Is it installed on your W7 co...

14 years ago | 0

Answered
Compiling for stand alone
Hi, you need to run the MCRInstaller on the computer without MATLAB, see documentation for "deploying standalone applications...

14 years ago | 0

| accepted

Answered
vectorize mldivide
Hi, there is probably not too much you can do (as long as the models differ from run to run). On the other hand: x = ran...

14 years ago | 1

Answered
finding out gradient
doc gradient

14 years ago | 0

Answered
Algorithmic trading - Integrate C# and Matlab
Hi Condor, some thoughts: it depends somewhat on who has control on the process, the server or the client (MATLAB). The descr...

14 years ago | 0

| accepted

Answered
anonymous functions and parfor
Hi Marta, difficult to say. Since the code fails in line 9 of function_to_solve you might put a disp(size()) commands of vari...

14 years ago | 0

| accepted

Answered
string to num
Hi Charles, a simple way would be replace all non digits by spaces and use str2num afterwards: x = '(20:200,40:300)'; x...

14 years ago | 1

| accepted

Answered
Parfor with Iterations Having Unequal Execution Times
Hi, here a rather ugly way which gives you full control on which worker processes which index: function myparfortest ...

14 years ago | 0

Answered
Parfor with Iterations Having Unequal Execution Times
Hi, if your cases are input cases you might try to use the (slightly more elaborate way) of distributing the code using a job...

14 years ago | 1

| accepted

Answered
Confusing m-lint behaviour after catch statement
Hi, the code analyzer has some dilemma here: the reason he tells you about the exception object is to make the programmer awa...

14 years ago | 0

| accepted

Answered
how to stop exponential notation, both in output and in variable editor
Hi Tom, as far as I know there is no way to force MATLAB to always use fixed notion. For generating output you can use fprint...

14 years ago | 7

Answered
how to get parts of a vector and store it as a matrix without using loops
Hi, the simple and readable way: [v(i-2) v(i-1) v(i)] and here a more complex solution: v = (1:9)'; i = [4; 8...

14 years ago | 0

Answered
Hardware requirements for MATLAB Distributed Computing Server 5.2 / mathworks job manager / parallel computing toolbox
Hi Danny, for the questions 2) and 3): the NVIDIA cards are only a requirement if you want to do GPU computing, i.e., use the...

14 years ago | 0

| accepted

Answered
parfor loops and temporary variables
Hi, it's the disp(a) that parfor doesn't like. The problem is, that in the end a=30 and that's fine. But using a for calling ...

14 years ago | 2

Answered
Running multiple MCR - one per process
Hi Craig, you can achieve this using a Client-Server approach on the server. This is described to some detail in the document...

14 years ago | 0

Answered
Datatip, GUI screen and open Excel questions
Hi, for 2): what error do you get? You should add something like movegui(handles.figure1, 'center') for 3): do someth...

14 years ago | 0

| accepted

Answered
Datatip, GUI screen and open Excel questions
Hi, for 1): do you mean this: output_txt = {['Datum: ',datestr(pos(1), 'dd.mmm.yyyy')],... ['Masa: ',num2str(po...

14 years ago | 0

Answered
The code does not work with 1.7
Hi, this is due to roundoff: 0.1 is not representable as a finite number in binary system. Note the following: i=1:0.1:1...

14 years ago | 1

| accepted

Load more