This is potentially a very useful app of 5 stars for my work. The demo data works well. However, after I put in a sample array of v = f(x,y,z) data, then any attempt to "Import from workspace" gives me errors as "Undefined function 'isdouble' for input arguments of type 'double'.
Error in
DataExplorer/ImportWorkspaceCB/@(in)(ndims(in)==4||ndims(in)==3)&&(isdouble(in)||issingle(in))
Error in uigetvariables (line 309)
t(jj) = evalin('base',['validationfunction_(' varnames{jj} ');']);
Error in DataExplorer/ImportWorkspaceCB (line 450)
data =
uigetvariables(text,'ValidationFcn',checkvars,'Introduction',intro);
Error in
DataExplorer>@(varargin)app.ImportWorkspaceCB(varargin{:})
(line 117)
app.Menu(2) = uimenu(app.Menu(1),'Label','Import from
Workspace','Callback',@app.ImportWorkspaceCB);
Error while evaluating uimenu Callback ".
Maybe a simple example at the Description would help me.
This is a great function. However I want to discriminate between two quite different distributions. I have a problem getting the Total area under the respective curves to be equal (to a nominal 1) for separate datasets (even with the same number of observations). Eg, Say I want to plot U and V left and right respectively where
U = normrnd(3.3,1.0,100,1);
V = normrnd(2.0,0.3,100,1);
then no matter what I do, they don't look anywhere near equal. Any ideas? or have I missed something obvious?
24 May 2012
SaveCurrentEditorFiles
Save current editor files, can be used to easily reopen all files from a previous project/session.
Author: Robert Cumming
Thank you. All fixed now. No, it's not new in any way. (I may have blundered earlier when I tried to update a project name.) I have about nearly 10 projects and subprojects, and I find this script so useful and time-saving.
Matlab should have this as a builtin.
@Warwick: this looks like a bug - globalNorm=2 should do the trick, but at the moment, it seems like it would require equally spaced bins. I'll look into it.
This is a great function. However I want to discriminate between two quite different distributions. I have a problem getting the Total area under the respective curves to be equal (to a nominal 1) for separate datasets (even with the same number of observations). Eg, Say I want to plot U and V left and right respectively where
U = normrnd(3.3,1.0,100,1);
V = normrnd(2.0,0.3,100,1);
then no matter what I do, they don't look anywhere near equal. Any ideas? or have I missed something obvious?
This is a great tool... It would be nice if some of the functionality could be achieved without requiring toolboxes (e.g. I've cobbled together the code to do the smoothed histograms without the spline toolbox, using files from FEX).
@all: thanks again for the suggestions, most of which are implemented now. Please note that plotSpread is now a submission on its own that needs to be downloaded separately.
Comment only