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

oltre 10 anni fa | 2

Domanda


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

oltre 10 anni fa | 1 risposta | 1

1

risposta

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

oltre 10 anni fa | 3

| accettato

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

oltre 10 anni fa | 4

| accettato

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 2

1

risposta

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

oltre 10 anni fa | 2

| accettato

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

quasi 11 anni fa | 0

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

circa 11 anni fa | 1

| accettato

Domanda


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

oltre 11 anni fa | 2 risposte | 8

2

risposte

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 2

Domanda


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

oltre 11 anni fa | 2 risposte | 2

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 5

1

risposta

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 1

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 1

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

Domanda


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

quasi 12 anni fa | 5 risposte | 21

5

risposte

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

Risposto
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

circa 12 anni fa | 1

| accettato

Carica altro