Respondida
Help with multiple plot at same figure
hold on

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 1

Respondida
terminating ALL m-scripts
use error help error

casi 15 años hace | 0

Respondida
how to import an excel sheet into MATLAB
help xlsread help sort

casi 15 años hace | 0

Respondida
Clearing data
I "think" you could replace the line: data4(:,:,i)=cell2mat(temp) with data4(:,:,(1:length(temp))=cell2mat(temp) ...

casi 15 años hace | 0

| aceptada

Respondida
How to Compare strings
Have you tried: strcmp to convert to numbers str2num

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

Respondida
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 ); ...

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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) = ...

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 2

| aceptada

Respondida
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));

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

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

casi 15 años hace | 0

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

casi 15 años hace | 3

Respondida
wrting a cell array of strings to excel
You could also investigate dlmwrite where you can specify the delimiter for importing into excel.

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 3

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

casi 15 años hace | 1

Respondida
exporting the variable values in a text file
you could also use either of: xlswrite cvswrite

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 1

Cargar más