Réponse apportée
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/

plus de 11 ans il y a | 0

| A accepté

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

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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()...

plus de 11 ans il y a | 1

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 1

Réponse apportée
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>...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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 ...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

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

plus de 11 ans il y a | 0

| A accepté

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

plus de 11 ans il y a | 5 réponses | 21

5

réponses

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

plus de 11 ans il y a | 0

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

presque 12 ans il y a | 0

Réponse apportée
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.

presque 12 ans il y a | 0

Réponse apportée
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

presque 12 ans il y a | 1

| A accepté

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

presque 12 ans il y a | 1 réponse | 4

1

réponse

Réponse apportée
detecting the existence of alphabetical elements
regexpr(str,'[a-zA-Z]')

presque 12 ans il y a | 0

Réponse apportée
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)

presque 12 ans il y a | 0

Réponse apportée
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 = ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 4

Réponse apportée
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'...

presque 12 ans il y a | 0

Réponse apportée
Solving legend Problems in Matlab
mesh(v) mesh(probability) You forgot a |hold on| in between.

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 9

Réponse apportée
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

presque 12 ans il y a | 2

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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 +...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
Generating index from end and start index
I recommend the nice submission by Bruno Luong: <http://www.mathworks.co.uk/matlabcentral/fileexchange/29854-multiple-colon mul...

presque 12 ans il y a | 1

Réponse apportée
How to create a cell of strings from a vector?
Encapsulate |sprintf()| into |arrayfun()|: arrayfun(@(in) sprintf('%.0f', in), x,'un',0)

presque 12 ans il y a | 0

| A accepté

Charger plus