Réponse apportée
Showing only 2 decimals
Is this what you want? sprintf('%.2e',0.123456789e-10) ans = 1.23e-11

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Global variables and multiple licenses of Matlab
Each instance of MATLAB is completely independent. Things like global variables are local to the instance of MATLAB that created...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
How can I subplot images close to eachother using subplot?
Copy subplot.m and edit line 128 (or there abouts) inset = [.02, .018, .004, .01]; % [left bottom right top] to be val...

presque 13 ans il y a | 0

Réponse apportée
Why in the following class the members are not initialised?
I am going to build on Matt's answer ... Your problem is that "objects" in MATLAB are generally what are refer to as value cl...

presque 13 ans il y a | 2

Réponse apportée
HOW can i restart ML?
You may want to look at: http://www.mathworks.com/matlabcentral/answers/1093-how-do-i-reset-matlab-to-its-launched-state or s...

presque 13 ans il y a | 0

Réponse apportée
How to get numbers from string using match regular expression?
I think regexp(x, '(^|\s)(\d*)(\s)', 'tokens') will extract the numbers you want. It will return a cell array where each...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Can I rely on the Handles numeration?
I wouldn't rely on the handle ids behaving in any sensible way unless you set them at the outset. There is no reason to have to ...

presque 13 ans il y a | 0

Réponse apportée
Format of exponential with num2str
There was some discussion of this here http://www.mathworks.co.uk/matlabcentral/answers/9135-format-short-difference-across-t...

presque 13 ans il y a | 0

Réponse apportée
Why 'play' doesn't work within a function?
This question has been asked and answered here before a number of times. The simple answer is that when the function exits, the ...

presque 13 ans il y a | 0

Réponse apportée
Why does my Class take up less room than my variables?
If any of the properties of your class are handle classes (e.g., is |data| of class |myData|), then when you save the object I t...

environ 13 ans il y a | 0

Réponse apportée
putting a ' in a title
You were so close, you need an extra ' title(' U'' squared ')

environ 13 ans il y a | 8

| A accepté

Réponse apportée
Problem with installing matlab r2012 with windows 8 64 bit?
As a general hint, when buying computer software it is useful to pay attention to the system requirements. For the MATLAB studen...

environ 13 ans il y a | 0

Réponse apportée
Warning: Unable to interpret TeX string
It is very possible that I have screwed up my systems LaTeX processing (I have been playing with it recently). For example, on m...

environ 13 ans il y a | 6

Réponse apportée
Find moving average with filter
The key part of the documentation is: y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb) - a(2)*y(n-1...

environ 13 ans il y a | 1

Réponse apportée
Why do I get an error if do not define a constructor in the inherited class?
Classes and subclasses do not need a constructor. classdef mysimpleclass end is perfectly valid. If a subclass does n...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Maximum variable size allowed by the program is exceeded.
The <http://www.mathworks.co.uk/support/solutions/en/data/1-IHYHFZ/index.html;jsessionid=c0bcdb25711d73648cbd0a75cfeb maximum va...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to set watchdogs (memory, exec time) in MATLAB?
On Linux the "external process" is pretty simple $ ulimit -t 600 -v 7000000 $ matlab It might be -m instead of -v, I ...

environ 13 ans il y a | 1

Réponse apportée
selectively replace elements in vector
There are too many edge cases to give you a complete answer (and I don't want to do your work for you). Walter has tried to get ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Discussion about Answers & Votes
1) The number of accepted answers doesn't matter to me. I like when answers are accepted so I know the question is solved, most ...

environ 13 ans il y a | 2

Réponse apportée
How to change text size in boxplot
I can think of two ugly hacks that work ... The first is to set the default font size of all text labels for the plot h ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
how can I check to see if two different matricies contain any of the same numbers?
What you are interested in is if A and B intersect. The |intersect| function will tell you which elements are in both A and B or...

environ 13 ans il y a | 0

Réponse apportée
Make dataset arrays part of base MATLAB?
To me MATLAB would be nearly useless without the stats toolbox so I could really care less where the dataset functionality comes...

environ 13 ans il y a | 0

Réponse apportée
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
I am trying to find unanswered questions with 0 votes, but I want them listed newest to oldest. If I search for unanswered and s...

environ 13 ans il y a | 3

Réponse apportée
White Noises Generation in Matlab
This isn't really a MATLAB question, I think your understanding of random processes is a little off. If you generate finite leng...

environ 13 ans il y a | 0

Réponse apportée
Is it possible to dynamically add methods to an object, or to build a generic method that "catches attempts to access nonexistent methods"?
Probably not optimal, but you might be able to dynamically overload what |classname| returns, which in turn may affect what is c...

environ 13 ans il y a | 1

Réponse apportée
How can I get an upright mu with latex interpreter?
There is no easy way. There are packages in the FEX that can do certain things. The easiest way would probably be to overload |t...

environ 13 ans il y a | 0

Réponse apportée
Can you change font size in LaTeX formatted comments?
There does not appear to be an easier way of doing it. Your approach of changing the font size within the math environment will ...

environ 13 ans il y a | 0

Réponse apportée
Deleting sepecific character from cell array
This sounds like a job for a regular expression (albeit a simple one) x = {'"22000'; '"contig_2012'; 'abc'}; regexprep(x...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Prevent MATLAB from displaying full stack on error.
I think with careful use of try/catch and |throwascaller| you can achieve this. Just be careful since it makes debugging very di...

environ 13 ans il y a | 6

Réponse apportée
I lost a matlab session through ssh, but it's still running. How can I pull data out?
It really depends on what the process is doing. Usually the process should get killed when your ssh session end. You might be ab...

environ 13 ans il y a | 1

Charger plus