Answered
Issues with comparing data read in form Excel (equals to)
Hi, the problem is the line d = text(i,1); which makes d a 1x1 cell array (for which the == fails, see error message)...

14 years ago | 0

| accepted

Answered
concatenating strings
Hi Christina, not too nice but working: D{1}={'11/06/29' '11/06/30'}; D{2}={'10:36' '10:35'}; x = strcat(D{1}, '$'...

14 years ago | 0

| accepted

Answered
Accessing handle graphics from within Fortran mexfunction
Hi Otis, I guess (!) the answer is yes. Handles itself are just usual doubles. Therefore you should be able to call the set and...

14 years ago | 1

| accepted

Answered
Error when compiling with Builder EX - How to solve?
Hi, this usually happens when you have no local administrator privileges. Try to run MATLAB as administrator. Titus

14 years ago | 0

Answered
efficiency vs storage
Hi, it depends: L^2 would need about 2GB of storage. So if you have a 32 Bit machine this will definetely run into "out of me...

14 years ago | 0

| accepted

Answered
Is it possible to call with a S-Function C routines that includes Assembler libraries?
Hi David, yes, you can. You will need to write the .tlc-File for the code generation though. An alternative would be to use e...

14 years ago | 0

Answered
Figure's 'WindowButtonUpFcn' gets 'overridden'
Hi, without trying, I guess you are nearly there: I would move the set(fHandle, 'WindowButtonUpFcn',@stopDrag) call into the ...

14 years ago | 0

| accepted

Answered
Does Parfor make a difference without Parallel Computing toolbox
Hi, just adding a comment for parfor: parfor does something "meaningful" for you in the sense of distributing execution only ...

14 years ago | 3

| accepted

Answered
is there something similar to Excel Solver in Matlab?
Hi, take a look at lsqcurvefit <http://www.mathworks.com/help/toolbox/optim/ug/lsqcurvefit.html> from Optimization Toolbox. It ...

14 years ago | 0

| accepted

Answered
Converting this big for-loop into a PARFOR-loop
Hi, first of all you got a warning, not an error. The warning indicates that it might be, that the parfor loop does not perfo...

14 years ago | 0

Answered
Compile for Linux on a Windows machine
Hi Yoni, no, unfortunately it is not. The compiler always generates executables and libraries for the operating system type i...

14 years ago | 0

| accepted

Answered
how to load a C# dll into a matlab project
Hi, yes it is. Take a look here: web([docroot '/techdoc/matlab_external/brpb5k6.html']) Titus

14 years ago | 0

Answered
Database Connectivity
The database toolbox also allows for using the JDBC connection, i.e., using a jdbc driver... Titus

14 years ago | 0

Answered
What happens exactly when AutoCommit is "off"?
Hi, the autocommit is handled on the database side. Depending on the database at hand, the table where the insert is done, is...

14 years ago | 0

| accepted

Answered
Out of memory when removing column of a large matrix
Hi, with this sparsity: yes, using sparse matrices is indeed the solution. For the original question: no, there is no "real" so...

14 years ago | 0

Answered
Four constant number at different time in Simulink
Hi, you can use the 1D interpolation block: feed with the clock signal, put for "x" the time points, for "y" the values and u...

14 years ago | 0

Answered
floating point to fixed point
Hi Vandhana, usually people convert models from floating point to fixed point when the goal is to run the model later on some...

14 years ago | 0

| accepted

Answered
Program Optimisation: Out of Memory
Hi, hmm, somehow this looks strange: the size of idx is (2.6e5, 1)? That means, that one of your idx vectors needs about 2MBy...

14 years ago | 0

Answered
how to pass a complex structure to a matlab routine called by C# application?
Hi, there is an interesting blog article which shows recent advances in Builder NE that make this easier then what I wrote ab...

14 years ago | 0

Answered
null and eig functions
Hi Dan, I'm not sure about what exactly is the question: are you interested how the computation is done because it's interestin...

14 years ago | 0

Answered
Creating a loop to use all columns in a dataset array
Hi, I guess this leads to the question, how to get to data.mv1 where mv1 is given in a variable? Note, that data.mv1 is th...

14 years ago | 0

Answered
matlabpool is not supported because Java is not currently available
Hi Linar, for using mclInitializeApplications for a shared library I would usually pass no arguments at all, i.e., if (!...

14 years ago | 0

Answered
how to pass a complex structure to a matlab routine called by C# application?
Hi, yes, you can. You build up the MATLAB structure using the MWStructArray class, something like String[] val5 = {"valu...

14 years ago | 1

Answered
Create a GUI in Java and calling Matlab scripts from Java
Hi, there are several points here to clarify: first of all, why not write the GUI in MATLAB? From your description it seems, ...

14 years ago | 0

| accepted

Answered
Area from XY coordniates
Hi Prashant, hi Walter, I was curious and tried both: to use polyarea successfully though I needed to sort the data by angle:...

14 years ago | 0

| accepted

Answered
Cross correlation problem..
Hi Susan, I guess you are looking for the xcorr function from Signal Processing Toolbox ... Titus

14 years ago | 1

| accepted

Answered
Changing Phase of a signal
Hi, you could put into the phase entry the vector [0 180], then you will get a two component vector as output signal. Use eit...

14 years ago | 3

| accepted

Answered
Inheritance of classes inside a package
Hi Petr, interesting, I haven't tried this. What works is to treat InnerClass as part of the package, i.e. classdef OuterCla...

14 years ago | 0

| accepted

Answered
Area from XY coordniates
Hi, convhull is your friend: [K,V] = convhull(x,y); Titus

14 years ago | 0

Answered
Matrix operations
Hi, use logical indexing: idx = B<0; % operate on these indices: B(idx) = ...; % and now on those >= 0: B(...

14 years ago | 0

Load more