Community Profile

photo

mathworks2011


Cambridge

Aktiv seit 2011

Statistiken

  • First Review
  • 3 Month Streak
  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 12 Jahre vor | 0

| akzeptiert

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

etwa 12 Jahre vor | 0

| akzeptiert

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

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

mehr als 12 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 12 Jahre vor | 0

| akzeptiert

Frage


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,:), '...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
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 ...

mehr als 12 Jahre vor | 1

| akzeptiert

Frage


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(...

mehr als 12 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Frage


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...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

fast 13 Jahre vor | 0

Frage


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...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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

fast 13 Jahre vor | 0

| akzeptiert

Frage


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...

fast 13 Jahre vor | 6 Antworten | 0

6

Antworten

Beantwortet
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...

fast 13 Jahre vor | 0

Frage


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 ...

fast 13 Jahre vor | 4 Antworten | 0

4

Antworten

Beantwortet
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...

etwa 13 Jahre vor | 0

Frage


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...

etwa 13 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


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 ...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 ...

etwa 13 Jahre vor | 0

Frage


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...

etwa 13 Jahre vor | 4 Antworten | 0

4

Antworten