Réponse apportée
Output values from a loop
The inner loop is completely unnecessary as you designed it. No variable changes as "i" varies. In addition to that you increm...

environ 15 ans il y a | 0

Réponse apportée
Exporting Data from MATLAB to MS word.
Check this FEX submission: *<http://www.mathworks.com/matlabcentral/fileexchange/15192 OfficeDoc - read/write/format MS Office d...

environ 15 ans il y a | 1

Réponse apportée
variable names
Variable parts of the name num = '1':'5'; let = 'A':'C'; Combine the variable parts nNum = numel(num); nLet = numel...

environ 15 ans il y a | 0

Réponse apportée
writing multiple arrays in a text file
fprintf(fid, '%f%f', [A;B]) A and B are doublr row vectors and the output is length(A) by 2 columns.

environ 15 ans il y a | 1

Réponse apportée
frequency determination
c = histc(A(:),unique(A))

environ 15 ans il y a | 0

| A accepté

Réponse apportée
I do not know the meaning of this code
Execute the parts of the expression you don't understand to see what happens (highlight the part of code you want to check and p...

environ 15 ans il y a | 0

Réponse apportée
Reading csv file and formating timestamp
Textscan solution: import skipping the non relevant parts fid = fopen('C:\Users\Oleg\Desktop\test.txt'); fmt = '%*f/%*...

environ 15 ans il y a | 0

Réponse apportée
what is wrong?
The vectorized solution to your problem: x = [33,11,33,11,22,33,11]; % Find the 33s that are immediately before 22 bon...

environ 15 ans il y a | 0

Réponse apportée
Increase the speed of the program
You're importing the following positions: ... 'B3086..H3086' 'B6088..H6088' 'B9090..H9090' ... You can do the same...

environ 15 ans il y a | 0

Réponse apportée
file name manipulation
X = 1; Y = 'a'; sprintf('S_1_%d_%s',X,Y) *EDIT* str = 'S_1_6_a' x = 3; regexprep(str,'(_)\d+(_[abcd])', ['$1'...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
How to read .txt file and convert in to .xls
Considering a textfile as: Name: Hamad Marks: 10.05 Average: 11.55 Attendance: 80% Name: Johan Marks: 10.55 ...

environ 15 ans il y a | 1

Réponse apportée
Plotting two series of dicreet points with errorbars (std. dev.) on Y and X
Have you tried: * <http://www.mathworks.com/matlabcentral/fileexchange/10803-barweb-bargraph-with-error-bars barweb bargraph ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
altering matrices
If you have the Image Processing Toolbox use <http://www.mathworks.com/help/toolbox/images/ref/blockproc.html blockproc>

environ 15 ans il y a | 0

Réponse apportée
How can I allocate chances to a distribution
rnd = rand(100,1)*100; % Oversample interval [a b] = [80 100] a = 80; b = 100; rnd = [rnd; a + (b-a)*rand(100,1)];...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Pushbutton callback
No. You can execute a <http://www.mathworks.com/help/techdoc/matlab_prog/f9-39719.html callback with a timer>.

environ 15 ans il y a | 0

Réponse apportée
matlab -nosplash
*EDITED* For *all* platforms from command prompt (temporary) or for windows by editing the shortcut: *<http://www.mathworks.com...

environ 15 ans il y a | 0

Réponse apportée
creating a new file
Create new file discarding content if already exists: fid = fopen('results.str','w'); fprintf(fid,'%f,%f,%f\r\n',[1 2 3; ...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Clearing data in an axes component
delete(get(handles.axes2,'children'))

environ 15 ans il y a | 0

| A accepté

Réponse apportée
isspace finds wrong spaces in ascii file
If you're trying to split that sequence: % example input: line = {'75666 83929 92920' '75466 39293 92320 32424'};...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
how to add iterations to a matrix as values in a loop and then manipulate the matrix with another matrix from the user interface
The expressions in _A_: (-l3/2)*sin(th3) (l2)*sin(th2r) ... should be scalar, which means that _th2r_ and _th3_ ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
How to import XLS files with multiple sheets using the Dataset Array function?
Use a loop as described in the *<http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F FAQ 4.12>* example (...

environ 15 ans il y a | 0

Réponse apportée
getworldfilename uses
Yes, it just creates the name.

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Superscript minus vanishes using latex interpreter.
You are creating text objects on the same position: t1 = text(0.1,0.5,'$\tilde{V}^{+}$','Interpreter','latex'); t2 = text(0...

environ 15 ans il y a | 0

Réponse apportée
Show function parameters in console
*<http://www.mathworks.com/help/techdoc/matlab_env/brqxeeu-175.html#brqxeeu-182 Set a breakpoint>* and call the function. The ex...

environ 15 ans il y a | 0

Réponse apportée
Select rows with textscan
*1st approach: bulk import - select* % Import all fid = fopen('C:\Users\Oleg\Desktop\test.txt'); data = textscan(fid...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
covariance between 2 ts over time
*EDIT* X = rand(1500,50); % Window size ws = 25; % Preallocate szX = size(X); covC = cell(szX(1)-24,1); cov...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Matrix multiplication-optimal speed and memory
sum(D.^2.*diag(W)) or (D.*diag(W)).'*D diag(W) can be replaced by the vector containing the diagonal elements.

environ 15 ans il y a | 0

Réponse apportée
how to declare array of variable size
for i = 1:63 myArray{i} = zeros(a,b); end

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Financial Toolbox- frontcon and portalloc - risk aversion and risk free asset bounds
*EDITED* In general, you build the frontier with _frontcon/portopt_ and with _portalloc_ you simply use the two separation fund...

environ 15 ans il y a | 0

Réponse apportée
how to change, by using commands, the width of lines (whiskers, median, outliers, etc.) and axes of a boxplot?
Call boxplot in the foloowing way: h = boxplot(rand(100,6)); set(h,{'linew'},{2}) or use directly: set(findobj(g...

environ 15 ans il y a | 18

| A accepté

Charger plus