Frage


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

fast 10 Jahre vor | 1 Antwort | 1

1

Antwort

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

fast 10 Jahre vor | 3

| akzeptiert

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

fast 10 Jahre vor | 4

| akzeptiert

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 2

1

Antwort

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

fast 10 Jahre vor | 2

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 8

2

Antworten

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

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
TUTORIAL: how to format your question with markup
*ITALIC* <<http://i43.tinypic.com/23mlsnp.gif>>

mehr als 10 Jahre vor | 2

Frage


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

fast 11 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 5

1

Antwort

Frage


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

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
function to read a cell contents
I discourage creating incrementally numbered variables in the workspace, however here's the bare-bone approach: % Index veg...

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 1

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 11 Jahre vor | 5 Antworten | 21

5

Antworten

Beantwortet
Compound Interest with monthly Contributions, Unable to vectorize.
n = 18*12; % number of periods i = 0.005; % per period interest I = 1000; ...

mehr als 11 Jahre vor | 0

Beantwortet
how can store two power 1000 value in matlab.
You can with the Symbolic Toolbox: s = vpa(2^1000,301);

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

Beantwortet
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

mehr als 11 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 4

1

Antwort

Mehr laden