Respondida
sum of two different data series
You cannot use |DataIdx| directly as |subs| in |accumarray()| because in your example each streak of indices is treated as a sep...

más de 10 años hace | 2

Pregunta


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

más de 10 años hace | 1 respuesta | 1

1

respuesta

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

más de 10 años hace | 3

| aceptada

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

más de 10 años hace | 4

| aceptada

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 2

1

respuesta

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

más de 10 años hace | 2

| aceptada

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

casi 11 años hace | 0

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

alrededor de 11 años hace | 1

| aceptada

Pregunta


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

alrededor de 11 años hace | 2 respuestas | 8

2

respuestas

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

alrededor de 11 años hace | 0

| aceptada

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

más de 11 años hace | 2

Pregunta


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

más de 11 años hace | 2 respuestas | 2

2

respuestas

Pregunta


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

más de 11 años hace | 1 respuesta | 5

1

respuesta

Pregunta


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

más de 11 años hace | 0 respuestas | 0

0

respuestas

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

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

casi 12 años hace | 0

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

casi 12 años hace | 1

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

| aceptada

Pregunta


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

casi 12 años hace | 5 respuestas | 21

5

respuestas

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

Respondida
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

alrededor de 12 años hace | 1

| aceptada

Cargar más