Beantwortet
Help with multiple plot at same figure
hold on

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 1

Beantwortet
terminating ALL m-scripts
use error help error

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 2

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 3

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 3

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

Mehr laden