Risposto
replace first match with a value,second match with a different value etc
Did you consider using regular expressions, e.g. regexprep('some text ee1 some more text ee1 ee1', 'ee1', {'FIRST' 'SECON...

quasi 12 anni fa | 0

Domanda


Is it good or bad thing to use handle() constructor on MATLAB Handle Graphics numeric handles?
Using |handle()| on a numeric graphics handle turns it into an object, e.g. ax = handle(gca); % ax is a scalar object o...

quasi 12 anni fa | 2 risposte | 3

2

risposte

Risposto
how to use fprintf in string command
I guess you appreciate |fprintf(1,f,x)| can be used as a replacement for |disp(x)| but the format string |fmt| e.g. |'%s\n'| or ...

oltre 12 anni fa | 0

Risposto
How to convert .xls file (Microsoft excel) to pdf using matlab
You could publish to PDF direct from MATLAB. Also, if you have the possibility to Print to PDF on your system and printing from ...

oltre 12 anni fa | 0

Domanda


How do I programmatically invoke "Find Files Tool" [Ctrl-Shift-F] GUI?
I usually invoke this window with the short-cut Ctrl-Shift-F, although it is also found in the main MATLAB command window Edit m...

oltre 12 anni fa | 0 risposte | 1

0

risposte

Domanda


Does your MATLAB FileExchange work OK?
From this UK office running R2011a, we can't see any files at all in the File Exchange from inside MATLAB. How is for your? Is t...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Do you think this behaviour of built-in functions error() and warning() is odd
I find that |warning('message', a1, a2,...)| treats args a1 etc differently to |warning('message_id', 'message', a1, a2, ..., an...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Risposto
equality of two matrics having NaN elements
Consider the following >> A=[1 2 3; 4 5 NaN] , B=[1 2 3; NaN 5 NaN ] A = 1 2 3 4 5 NaN B...

quasi 13 anni fa | 0

Domanda


What are the shortcuts for switching between non-adjacent open files in the MATLAB editor
Running in MS Windows I sort of expect Ctrl-Tab to switch active tabs/files in the editor. This happens in other Windows applica...

oltre 13 anni fa | 2 risposte | 0

2

risposte

Risposto
Running MATLAB Programs on a webpage
It is easiest to share your analysis results from MATLAB via a web-page by using the Publish feature with the output sent to or ...

oltre 13 anni fa | 1