Answered
Large Matrix multiplication and out of memory error in matlab
Hi Imran, here an update taking care of the "not multiple" issue: n = size(V,2); blksize = 500; result = zeros(n); fo...

14 years ago | 0

| accepted

Answered
Algebraic loop Problem at Simulink
Hi, the fact that the input is needed should not be a problem. I did not download the model (since I have no Simulink right h...

14 years ago | 0

Answered
Function similar to MS Excel "subtotal"?
Hi George, I don't know a single function, but the functionality is not difficult to achieve: x = [1 23; 1 29; 1 43; 2 3...

14 years ago | 0

Answered
Large Matrix multiplication and out of memory error in matlab
Hi Imran, something like the following should work: n = size(V,2); blksize = 100; result = zeros(n); for i=0:(blksize-1) ...

14 years ago | 0

Answered
Large Matrix multiplication and out of memory error in matlab
Hi Imran, I guess the problem is, that y_0*y0' most likely will be a full matrix, as long as your V matrix has no columns tha...

14 years ago | 0

Answered
output of function as a string
Hi, yes it can: disp displays the string in the command window. Just write answer='less than 50' Titus

14 years ago | 1

| accepted

Answered
It possible to compile out a .dll with database toolbox function inside?
Hi, I guess you will need to add the sqljdbc4.jar statically, i.e., to your classpath.txt. On the deployment machine put the ...

14 years ago | 0

Answered
About imwrite and image compression
Hi Ana, if you take a look at _matlabroot_\toolbox\matlab\imagesci\private you will see the mex files (e.g. wgifc.mexw32). They...

14 years ago | 0

Answered
Alternatives to import excel files
Hi, alternatively take a look at uitree, there is the example of displaying a directory tree (which can be used as selector as ...

14 years ago | 1

| accepted

Answered
datatip for timeseries plot with date string
Hi, I guess by "absolute dates" you mean something like ts = timeseries(rand(12,1), datenum(2011, 1:12, 1)); plot(ts)...

14 years ago | 0

Answered
Is it possibile to use the MATLAB compiler to generate a stand-alone application for a visualization of values that are received from a database query?
Hi Thomas, you should be able to use the database toolbox with the compiler. Note though, that it might be necessary to check...

14 years ago | 0

Answered
Perform Visual Studio Build from MATLAB command prompt
Hi MOS, my suspicion is as follows: the two system calls both run in different shells ("hidden command window"), so the PATH st...

14 years ago | 2

Answered
Erron in reshaping a matrix
Hi, the matrix is indexed columnwise. If you want to have it rowwise indexed you need to transpose: reshape(C', 1, 30) ...

14 years ago | 0

| accepted

Answered
Watermarking
Hi, just read in the file as bits: % open the file fid = fopen('yourfile.txt', 'rt'); % read as unsigned 1 bit dat...

14 years ago | 0

Answered
how to view other plane?
Hi, I'm not sure about your question: something which is in the x-y plane only (i.e., all points have z=0), will always be a...

14 years ago | 0

Answered
Time Series Objects give errors when migrated to Matlab R2010b
Hi Timo, is it 2010a or 2010b? In 2010b a change to timeseries objects was introduced to allow for arrays of timeseries objec...

14 years ago | 0

Answered
@ folders - what is it?
The second question is the answer: yes, it's "only" for organizing classes. You can either use only one file or several files...

14 years ago | 0

| accepted

Answered
Strange colorbar behaviour (must be a bug?)
Hi Gabriel, there is in fact another work around you can use: scale your axes values. If you have e.g. x=1:100; y=1:100...

14 years ago | 0

Answered
Strange colorbar behaviour (must be a bug?)
Hi Gabriel, this is a problem with the OpenGL rendering this image. In this case using another renderer should solve the prob...

14 years ago | 1

| accepted

Answered
How to speed up GUI
Usually you can speed up significantly by avoiding to redraw everything. When you plot the first time, save the handle: han...

14 years ago | 2

Answered
Improving accuracy of computation
Most often numerical accuracy is (badly) affected when subtracting values of similar size. Example (using 4 digits only): x1 ...

14 years ago | 0

| accepted

Answered
Monte Carlo
Hi, doc randn should help you out ... Titus

14 years ago | 0

| accepted

Answered
Problem with Matlab Standalone application
I had some problems with recent security updates on a Windows 2003 Server and compiled (32Bit) R2008a code. Using the 64Bit vers...

14 years ago | 0

Answered
Problem with plotting individual CData on triangular mesh
Hi Erin, just guessing, since I have no MATLAB available right now. It could be the renderer: try set(gcf, 'renderer', '...

14 years ago | 0

Answered
parfor loop & fprint not working
Hi, exactly: your code put's in arbitrary order at arbitrary times lines into the file (interupting each other). I would sugg...

14 years ago | 1

Answered
dblquad integration problem
Hi, first: I guess in the "if" it should be z=0? Second: your function should allow for vector inputs. Therefore the if shoul...

14 years ago | 0

Answered
Problem with mex
Hi, the linker misses "mexFunction", i.e., the entry point. Did you spell "mexFunction" and it's arguments correctly? Take a ...

14 years ago | 0

| accepted

Answered
Delete/Hide points of a surface
Hi Kevin, something like this? data = peaks(25); h = surf(data); pause(3); % delete one point (in fact delete all 4 p...

14 years ago | 2

| accepted

Answered
last transaction time
Hi, you need to convert to a number first: B2 = datenum(B, 'HH:MM:SS'); then take the max(B2). Titus

14 years ago | 0

| accepted

Answered
What is your unusual use of MATLAB?
When we were building our house I used the Virtual Reality Toolbox from within Simulink to "walk" through the 3D model given to ...

14 years ago | 3

Load more