Réponse apportée
Help with multiple plot at same figure
hold on

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Saving variables in workspace to a .txt file along with variable names
The commands below give you some ideas: doc fprintf datestr(now)

presque 15 ans il y a | 1

Réponse apportée
terminating ALL m-scripts
use error help error

presque 15 ans il y a | 0

Réponse apportée
how to import an excel sheet into MATLAB
help xlsread help sort

presque 15 ans il y a | 0

Réponse apportée
Clearing data
I "think" you could replace the line: data4(:,:,i)=cell2mat(temp) with data4(:,:,(1:length(temp))=cell2mat(temp) ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
How to Compare strings
Have you tried: strcmp to convert to numbers str2num

presque 15 ans il y a | 0

Réponse apportée
question concerning subfunction interaction between GUIs
The variable handles in your function txtConverter is undefined. You need to pass in (or get from findobj or similar) the ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Matlab 2007
Thats whats supposed to happen, see <http://www.mathworks.com/help/techdoc/matlab_prog/f7-41453.html mathworks help> to understa...

presque 15 ans il y a | 0

Réponse apportée
Get one line from file
or you could use fid = fopen ( 'file.txt' ) if fid ~= -1 for i=1:NUMBER_OF_LINES_TO_SKIP fgetl ( fid ); ...

presque 15 ans il y a | 0

Réponse apportée
rounding errors in for loop
I got around this type of problem by creating the following function which rounds numbers to user defined number of decimal plac...

presque 15 ans il y a | 0

Réponse apportée
Nested for-loops too slow
Pulling out the i, j and k elements only when they changewill speed it up: sum = 0; A = zeros(4,1); for i=1:N A(1) = ...

presque 15 ans il y a | 0

Réponse apportée
How to break FOR-loop if "progressbar" is closed
Below is an example of how to do it using two functions and a dialog which is created where you can interrupt - I'm sure you cou...

presque 15 ans il y a | 0

Réponse apportée
Speed up a "logical matrix multiply"
extracting out the A(ii,:) to the ii loop is slightly faster... tic for ii=1:5 temp=A(ii,:); for jj=1:5 ...

presque 15 ans il y a | 0

Réponse apportée
using waitbar
The best way to get help is to show your code, or at lease a snipit. In this case your probably using the waitbar wrong. Fro...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
additional subplots of zoomed-in areas in the matlab figure
You could investigate this from FEX: <http://www.mathworks.com/matlabcentral/fileexchange/5961-magnify magnify>

presque 15 ans il y a | 0

Réponse apportée
Generate a standalone application from GUI figures
A deployed application MUST have either the relevent MCR installed or the same version of Matlab. AFAIK there is no way around t...

presque 15 ans il y a | 2

| A accepté

Réponse apportée
How to adapt the number format for text in a graph
or your could use: text(1,1,sprintf('99%% Lower Confidence Limit =%3.2f Million',value/1e6));

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Confused: GUI / figure /
you wouldn't want curfig = get(0,'CurrentFigure') to return a handle to your gui created in the 1st line. Why, here is...

presque 15 ans il y a | 0

Réponse apportée
indexing in nested loop
in your first example in each loop a is: 1 2 3 4 5 6 7 8 9 10 11 ... 20 In your second it is: 1 6 11 16 21 26 31 .....

presque 15 ans il y a | 0

Réponse apportée
Standalone application works in MATLAB but not outside
I've never used the deploytool - I still do everything from command line. But having a look at it, have you added your Data....

presque 15 ans il y a | 0

Réponse apportée
Error: File: cftool.m Line: 355 Column: 33 Unexpected MATLAB operator
What version of Matlab do you have? I'm guessing its R2008b or earlier? If I recall thats when the ~ was introduced to rep...

presque 15 ans il y a | 1

Réponse apportée
Location required for mex files?
If you can ensure that the mex file is towards the beginning of the path string it will override the m files, see <http://www.ma...

presque 15 ans il y a | 0

Réponse apportée
Standalone application works in MATLAB but not outside
if your code isn't working that indicates your variable thePath is different when deployed and when not. Try printing...

presque 15 ans il y a | 3

Réponse apportée
wrting a cell array of strings to excel
You could also investigate dlmwrite where you can specify the delimiter for importing into excel.

presque 15 ans il y a | 0

Réponse apportée
matrix result storing problem
it looks like you are overwriting your variable v in your loop. I dont really follow your code in the example above, and not kn...

presque 15 ans il y a | 0

Réponse apportée
loading and saving with eval using sprintf
why dont you just do: fname = fullfile ( directory, filename ) load ( fname ) then use similar at the end for saving: f...

presque 15 ans il y a | 3

Réponse apportée
Grabbing all files in a folder
if you set use the following syntax you can select multiple files: uigetfile('*.m', 'Select Multiple Files', 'MultiSelect', '...

presque 15 ans il y a | 1

Réponse apportée
exporting the variable values in a text file
you could also use either of: xlswrite cvswrite

presque 15 ans il y a | 1

| A accepté

Réponse apportée
How to compile code for other Matlab users
Do you want to protect your code from the other user editing? if so you have 2 options 1. Compile using matlab compiler ...

presque 15 ans il y a | 0

Réponse apportée
Transfer HELP Shortcuts to a new MATLAB version
see http://www.mathworks.com/support/solutions/en/data/1-6E5JS3/index.html?product=ML&solution=1-6E5JS3 for copying the s...

presque 15 ans il y a | 1

Charger plus