Question

Subclassing abstract property with defined class, e.g myprop@char, throws an error

Suppose I have a superclass that I want to use to create an interface: classdef foo properties(Abstract) ...

meer dan 8 jaar ago | 1 answer | 1

Answered

Autocomplete of properties for hgsetget derived class

I've been fiddling around and by mistake I found that the <http://www.mathworks.co.uk/help/simulink/slref/matlab.system.stringse...

Autocomplete of properties for hgsetget derived class

I've been fiddling around and by mistake I found that the <http://www.mathworks.co.uk/help/simulink/slref/matlab.system.stringse...

meer dan 8 jaar ago | 3

| accepted

Answered

How to Load a class from file avoiding the set methods with empty arguments?

From <http://www.mathworks.co.uk/help/matlab/matlab_oop/tips-for-saving-and-loading.html#brzypwx tips from saving and loading>: ...

How to Load a class from file avoiding the set methods with empty arguments?

From <http://www.mathworks.co.uk/help/matlab/matlab_oop/tips-for-saving-and-loading.html#brzypwx tips from saving and loading>: ...

meer dan 8 jaar ago | 4

| accepted

Question

Autocomplete of properties for hgsetget derived class

*DESIRED BEHAVIOUR* If you create: h = uicontrol('style','edit'); Then if you type h.<tab> and then sel...

meer dan 8 jaar ago | 1 answer | 0

Question

Compress only selected variables when saving to .mat

I have two variables |data| and |meta|, which I am saving in a compressed .mat file (version |'-v7'| ). The |data| variable is u...

meer dan 8 jaar ago | 1 answer | 2

Answered

Clear text typed with input() from the command history

After digging into the Java internals with the help of <http://www.mathworks.co.uk/matlabcentral/fileexchange/authors/27420 Yair...

Clear text typed with input() from the command history

After digging into the Java internals with the help of <http://www.mathworks.co.uk/matlabcentral/fileexchange/authors/27420 Yair...

bijna 9 jaar ago | 2

| accepted

Answered

histc with split intervals

You could use |bsxfun()|. A simple example might clarify. Suppose you have sample inputs: A = [3, 5 10, 20 ...

histc with split intervals

You could use |bsxfun()|. A simple example might clarify. Suppose you have sample inputs: A = [3, 5 10, 20 ...

meer dan 9 jaar ago | 0

Answered

Latex Support to publish in html format

Two workarounds: 1) Use |\int\int| with negative spaces in between |\!\!| text(.5,.5,'$\int\!\!\int_{E} f\left(x,y\right...

Latex Support to publish in html format

Two workarounds: 1) Use |\int\int| with negative spaces in between |\!\!| text(.5,.5,'$\int\!\!\int_{E} f\left(x,y\right...

meer dan 9 jaar ago | 1

| accepted

Question

R2013b IDE nonsense. The story continues.

This is *NOT* a question but a point that I would like to raise. I _suggest_ to comment my post and/or add additional and justif...

meer dan 9 jaar ago | 2 answers | 8

Answered

Programmatically scroll to row number in the variable editor

The full answer with links to a not-so-trivial problem can be found in a guest post on http://undocumentedmatlab.com/blog/variab...

Programmatically scroll to row number in the variable editor

The full answer with links to a not-so-trivial problem can be found in a guest post on http://undocumentedmatlab.com/blog/variab...

meer dan 9 jaar ago | 0

| accepted

Answered

TUTORIAL: how to format your question with markup

*ITALIC* <<http://i43.tinypic.com/23mlsnp.gif>>

TUTORIAL: how to format your question with markup

*ITALIC* <<http://i43.tinypic.com/23mlsnp.gif>>

meer dan 9 jaar ago | 2

Question

Programmatically scroll to row number in the variable editor

I have time series with millions of rows and I need to check what a particular value in a row and its neighbors look like. S...

meer dan 9 jaar ago | 2 answers | 2

Question

Since R2013a, unique() retrieves first occurrence: where in the docs?

The release notes 2013a state the change of the set functions, but I can't seem to find the info in the documentation of <http:/...

bijna 10 jaar ago | 1 answer | 5

Question

What is the optimal block size for importing a big .csv with textscan()

I have |.csv| files as big as ~17GB and limited RAM (to 8GB), therefore I am importing them in blocks. I noticed that importing ...

bijna 10 jaar ago | 0 answers | 0

Answered

When will the April 2013 Matlab contest be announced?

The previous one was the last one: http://blogs.mathworks.com/contest/2012/10/31/the-end-of-an-era/

When will the April 2013 Matlab contest be announced?

The previous one was the last one: http://blogs.mathworks.com/contest/2012/10/31/the-end-of-an-era/

bijna 10 jaar ago | 0

| accepted

Answered

function to read a cell contents

I discourage creating incrementally numbered variables in the workspace, however here's the bare-bone approach: % Index veg...

function to read a cell contents

I discourage creating incrementally numbered variables in the workspace, however here's the bare-bone approach: % Index veg...

bijna 10 jaar ago | 0

| accepted

Answered

How can I make markers transparent?

Alternatively, if you have the Statistics TB, you can use |<http://www.mathworks.co.uk/help/stats/scatterhist.html scatterhist()...

How can I make markers transparent?

Alternatively, if you have the Statistics TB, you can use |<http://www.mathworks.co.uk/help/stats/scatterhist.html scatterhist()...

bijna 10 jaar ago | 1

Answered

matlab datenum to excel datetime

In MATLAB you can convert MATLAB datenums into EXCEL datenums with the function <http://www.mathworks.co.uk/help/finance/m2xdate...

matlab datenum to excel datetime

In MATLAB you can convert MATLAB datenums into EXCEL datenums with the function <http://www.mathworks.co.uk/help/finance/m2xdate...

ongeveer 10 jaar ago | 0

Answered

How can I set automatically the textarrow position on a graph?

You will find this utility very useful: http://www.mathworks.co.uk/matlabcentral/fileexchange/10656-data-space-to-figure-units-c...

How can I set automatically the textarrow position on a graph?

You will find this utility very useful: http://www.mathworks.co.uk/matlabcentral/fileexchange/10656-data-space-to-figure-units-c...

ongeveer 10 jaar ago | 1

Answered

matlab code for taking very less sample

You might find the <http://www.mathworks.co.uk/help/matlab/getting-started-with-matlab.html?s_tid=doc_12b getting started guide>...

matlab code for taking very less sample

You might find the <http://www.mathworks.co.uk/help/matlab/getting-started-with-matlab.html?s_tid=doc_12b getting started guide>...

ongeveer 10 jaar ago | 0

| accepted

Answered

Transparent surface with log axis

You won't be able to do that: http://www.mathworks.com/matlabcentral/answers/13441#answer_18342 However, you can use a manual...

Transparent surface with log axis

You won't be able to do that: http://www.mathworks.com/matlabcentral/answers/13441#answer_18342 However, you can use a manual...

ongeveer 10 jaar ago | 0

Answered

Column of ONES in multiple regression

In <http://www.mathworks.co.uk/help/stats/regress.html |regress()|>, you need to add a column of ones to allow for an intercept ...

Column of ONES in multiple regression

In <http://www.mathworks.co.uk/help/stats/regress.html |regress()|>, you need to add a column of ones to allow for an intercept ...

ongeveer 10 jaar ago | 0

Answered

Charecter to binary form

You are comparing the char |'1'| with the numeric |1|. >> double('1') ans = 49 as in the ASCII table. You h...

Charecter to binary form

You are comparing the char |'1'| with the numeric |1|. >> double('1') ans = 49 as in the ASCII table. You h...

ongeveer 10 jaar ago | 0

| accepted

Answered

For loop versus Matrix notation

You can use <http://www.mathworks.co.uk/help/matlab/ref/accumarray.html |accumarray()|>: Y = [uniquedates accumarray(X(:,1),...

For loop versus Matrix notation

You can use <http://www.mathworks.co.uk/help/matlab/ref/accumarray.html |accumarray()|>: Y = [uniquedates accumarray(X(:,1),...

ongeveer 10 jaar ago | 0

| accepted

Question

Spellcheck functionality in MATLAB editor

I would like to receive your *feedback*: * would you find useful to have *spellcheck* built into the MATLAB Editor? (Cons...

ongeveer 10 jaar ago | 5 answers | 21

Answered

Compound Interest with monthly Contributions, Unable to vectorize.

n = 18*12; % number of periods i = 0.005; % per period interest I = 1000; ...

Compound Interest with monthly Contributions, Unable to vectorize.

n = 18*12; % number of periods i = 0.005; % per period interest I = 1000; ...

meer dan 10 jaar ago | 0

Answered

how can store two power 1000 value in matlab.

You can with the Symbolic Toolbox: s = vpa(2^1000,301);

how can store two power 1000 value in matlab.

You can with the Symbolic Toolbox: s = vpa(2^1000,301);

meer dan 10 jaar ago | 0

Answered

better way to improve performance of my code

Remove pause(0.5) which waits half a second, i.e. 0.5*1e7 = 5e6 = about 1388.89 hours.

better way to improve performance of my code

Remove pause(0.5) which waits half a second, i.e. 0.5*1e7 = 5e6 = about 1388.89 hours.

meer dan 10 jaar ago | 0

Answered

Clustergram Bug? - Different dendrograms produced by Clustergram vs SPSS and pdist -> linkage -> dendrogram using the same parameters

You can contact technical support by compiling this form: http://www.mathworks.co.uk/support/contact_us/index.html

Clustergram Bug? - Different dendrograms produced by Clustergram vs SPSS and pdist -> linkage -> dendrogram using the same parameters

You can contact technical support by compiling this form: http://www.mathworks.co.uk/support/contact_us/index.html

meer dan 10 jaar ago | 1

| accepted

Question

Improve quality of Latex equations published to .html with publish()

Suppose you have this in a blank .m file: %% % I was writing something $x^2+e^{\pi i}$ Now, hit the publish button a...

meer dan 10 jaar ago | 1 answer | 4