質問


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

11年以上 前 | 1 件の回答 | 5

1

回答

質問


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

11年以上 前 | 0 件の回答 | 0

0

回答

回答済み
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/

11年以上 前 | 0

| 採用済み

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

11年以上 前 | 0

| 採用済み

回答済み
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()...

11年以上 前 | 1

回答済み
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...

12年弱 前 | 0

回答済み
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...

12年弱 前 | 1

回答済み
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>...

12年弱 前 | 0

| 採用済み

回答済み
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...

12年弱 前 | 0

回答済み
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 ...

12年弱 前 | 0

回答済み
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...

12年弱 前 | 0

| 採用済み

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

12年弱 前 | 0

| 採用済み

質問


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

12年弱 前 | 5 件の回答 | 21

5

回答

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

約12年 前 | 0

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

約12年 前 | 0

回答済み
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.

約12年 前 | 0

回答済み
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

約12年 前 | 1

| 採用済み

質問


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

約12年 前 | 1 件の回答 | 4

1

回答

回答済み
detecting the existence of alphabetical elements
regexpr(str,'[a-zA-Z]')

約12年 前 | 0

回答済み
how I can replace diff(x(t), t) with xdot ?
syms t xdot; x = sym('x(t)'); f = sin(x); df = diff(f,t); subs(df,'diff(x(t), t)',xdot)

約12年 前 | 0

回答済み
large date/number/string text file reading to certain number of elements then ignoring end of line
To skip ret of the line use |'%*[^\n]'|: fid = fopen('test.txt'); fmt = ['%s%s' repmat('%f',1,10), '%*[^\n]']; out = ...

約12年 前 | 0

| 採用済み

回答済み
Too late to submit Negative feedback for R2012b !
I did test the R2012b_prerelease and I submitted my feedback as mentioned in the other post Aurelien linked. However, I am no...

約12年 前 | 4

回答済み
Obtaining same values at avery simulation using rand function
You can use |rng()| rng(1) rand(1,5) rng(1) rand(1,5) Or with your approach: s = RandStream('mcg16807'...

約12年 前 | 0

回答済み
Solving legend Problems in Matlab
mesh(v) mesh(probability) You forgot a |hold on| in between.

約12年 前 | 0

回答済み
Experiences with release 2012b
I already let TMW know but I'll be posting here as well: * I miss the previous edit configurations window. Now I have to crea...

約12年 前 | 9

回答済み
Mis match in comparing the values
http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F

約12年 前 | 2

| 採用済み

回答済み
Generating array of consecutive timestamps in double
I recommend to use MATLAB serial dates as produced by |datenum()|. Any manipulation with dates becomes much easier. The appearan...

約12年 前 | 1

| 採用済み

回答済み
Looking for a way to mask handle functions when calling methods or doc
*EDITED* Hide superclass methods using |Hidden| from <http://www.mathworks.co.uk/help/techdoc/matlab_oop/brjjv0d.html Method ...

約12年 前 | 0

| 採用済み

回答済み
Implementation of limits on the optimization results
Should it be b = zeros(size(A,1),1); An example problem (without nonlinear constraints): f = @(x) x(1)^2 + x(2)^2 +...

約12年 前 | 1

| 採用済み

回答済み
how to sum floating point elements of an array
"??? Subscript indices must either be real positive integers or logicals" It means you're doing something: a = 1:0.1:2...

約12年 前 | 0

さらに読み込む