Risposto
Help with multiple plot at same figure
hold on

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 1

Risposto
terminating ALL m-scripts
use error help error

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 2

| accettato

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 3

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 3

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

Carica altro