Community Profile

photo

mathworks2011


Cambridge

Active since 2011

Statistics

  • First Review
  • 3 Month Streak
  • Thankful Level 1

View badges

Content Feed

View by

Answered
Batch Files and Matlab: Sequential execution and "start \wait"
%http://www.mathworks.com/help/techdoc/ref/system.html function_CALLER %Ensure there is only one copy of matlab running ...

meer dan 5 jaar ago | 0

| accepted

Answered
Optimization Problem: Suggestions from the floor
interpn.m assumes equally spaced data, as per ndgrid.m. It does not support nonuniformly spaced data. griddatan.m allows c...

ongeveer 12 jaar ago | 0

| accepted

Answered
Help using lastwarn.m
>> [msgstr, msgid] = lastwarn; >> msgstr msgstr = Out of range or non-integer values truncated during conversion to...

ongeveer 12 jaar ago | 0

| accepted

Question


Help using lastwarn.m
I have code which does: [msgstr, msgid] = lastwarn; warning('OFF', msgid); dostuff(); %generates a waring message warni...

ongeveer 12 jaar ago | 2 answers | 0

2

answers

Question


Optimization Problem: Suggestions from the floor
Im running MATLAB 2010B and have the optimization toolbox (but not the global optimization toolbox). I am not sure if I can use...

meer dan 12 jaar ago | 2 answers | 0

2

answers

Answered
gunzip.m is very slow
no one replied:( I wrote my own stuff in C#. It now takes around 3 mins and not 152...

meer dan 12 jaar ago | 0

| accepted

Question


gunzip.m is very slow
I am running MATLAB 2010b, win7, 64 bit, quod core, 16GB RAM. I have a large number of csv.gz files, between 200MB and 6GB in s...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


fnplt, splines and figure properties - problems with inbuilt MATHWORKS function
I have some 3D data and I plot into a B-spline: Z2 = repmat(z, [1, size(z,1)]); tol = 0.1E-5; sp = spaps({x,y},Z2,tol...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Answered
Basic Imagesc Question -- 2D Matrix
patch.m is the correct function to use.

meer dan 12 jaar ago | 0

| accepted

Question


BAR: Stacking identical data
c = NaN(2,5); c(1,:) = rand(1,5); c(2,:) = randi(10,1,5); c = sort(c,2); bar(c(1,:), c(2,:), '...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


Basic Imagesc Question -- 2D Matrix
I have a 2D matrix. I wish to plot it in a particular way. The first col, I wish to represent the values on the y-axis. The s...

meer dan 12 jaar ago | 2 answers | 0

2

answers

Answered
Making a MATLAB movie (AVI) including the axis
solved: movegui(h, 'onscreen'); rect = get(h,'Position'); rect(1:2) = [0 0]; data = randn(20,1); for t = 1: 100 ...

meer dan 12 jaar ago | 1

| accepted

Question


Making a MATLAB movie (AVI) including the axis
I want to make a movie file (avi) which when played back on a non-matlab PC includes the axis, titles etc. h=figure; movegui(...

meer dan 12 jaar ago | 1 answer | 1

1

answer

Question


Time Series Objects
Hello. I say: fid = fopen(myPath); M = textscan(fid, '%s %s %s %f %d %f %f %d %d', 'delimiter', ',', 'EmptyValue', NaN); ...

meer dan 12 jaar ago | 0 answers | 0

0

answers

Answered
Microsoft Visual C++ Runtime Library. Runtime Error! Program E:\Matlab\bin\win32\matlab.exe
I spoke to mathworks technical support and they said they had never heard of this issue before. I then updated as much of the...

bijna 13 jaar ago | 0

| accepted

Question


Microsoft Visual C++ Runtime Library. Runtime Error! Program E:\Matlab\bin\win32\matlab.exe
This has come up quite a lot in the forums before, but there doesn't seem to be any decent answers to why its happening or how t...

bijna 13 jaar ago | 1 answer | 0

1

answer

Answered
Batch Files and Matlab: Sequential execution and "start \wait"
right this seems to work: function myFunc status = false; while(~status) [mem sV] = memory; display(['The...

bijna 13 jaar ago | 0

Question


How can I detect how many instances of Matlab are currently running on my machine?
In task manager you can see how many matlab.exe there are. is it possible to tell this from inside a matlab function? eg I hav...

bijna 13 jaar ago | 1 answer | 0

1

answer

Answered
Batch Files and Matlab: Sequential execution and "start \wait"
Hang on. can i not just call the bat file in a for loop in matlab using http://www.mathworks.com/help/techdoc/ref/system.html ...

bijna 13 jaar ago | 0

Answered
Memory Issues: Almost like clear doesn't fully work
please also see http://www.mathworks.com/matlabcentral/answers/5982-batch-files-and-matlab-sequential-execution-and-start-wait

bijna 13 jaar ago | 0

| accepted

Question


Batch Files and Matlab: Sequential execution and "start \wait"
hi I am having to call a large number, N, (hundreds) of functions from inside a bat file (see the following url for reasons wh...

bijna 13 jaar ago | 6 answers | 0

6

answers

Answered
Memory Issues: Almost like clear doesn't fully work
Since MATLAB uses a heap method of memory management, extended MATLAB sessions may cause memory to become fragmented. When memor...

bijna 13 jaar ago | 0

Question


Memory Issues: Almost like clear doesn't fully work
I am running 32b vista, Matlab 2009a. The machine has 4GB of RAM installed, PAE & 3G switch activated. the machine is dedicated ...

bijna 13 jaar ago | 4 answers | 0

4

answers

Answered
Basic Regression with missing data question
Thank you for the reply. I try and do: Data = X; Design = y; [Parameters, Covariance, Resid, Info] = ecmmvnrmle(Data, De...

ongeveer 13 jaar ago | 0

Question


Basic Regression with missing data question
I have a matrix of predictors size (M x N), where N is the number of predictors (cols) and M is the number of observations (rows...

ongeveer 13 jaar ago | 1 answer | 2

1

answer

Question


instantaneous phase from a power spectrum
I have manually generated a power spectrum for an AR(2) time varying process (which I have incidentially scaled by the variance ...

ongeveer 13 jaar ago | 1 answer | 0

1

answer

Answered
MEX ERRORs: Calling C++ code from MATLAB
I tried replacing the values.h as suggested by Ashish. It removed one error but then more sprung up. Petter: Unclear on what ...

ongeveer 13 jaar ago | 0

Question


MEX ERRORs: Calling C++ code from MATLAB
I am trying to run <http://www-lagis.univ-lille1.fr/~davy/code/Davy_TVAR_code.tar.gz this code> (GZipped Tar Ball) in MATLAB. Th...

ongeveer 13 jaar ago | 4 answers | 0

4

answers