Answered
int function does not return a single number
Add at the end: double(intCpS)

14 years ago | 0

| accepted

Answered
Cannot Import Data into MATLAB 2010a
Why not just load PaperResults.mat

14 years ago | 0

| accepted

Answered
Importing from excel to matlab
Those issues pertain to the format which is not preserved when importing. I guess you could use ActiveX to parse the excel and r...

14 years ago | 0

Answered
Better data tip for Polar graph
At the end of the documentation of |<http://www.mathworks.com/help/techdoc/ref/datacursormode.html#bsawkea-7 datacursormode>| yo...

14 years ago | 0

Answered
How in the world can you remember the syntax of all or most of the builtin functions without refering to help on section everytime you use it...
From time to time I forget that to compute the *|min|* across rows I have to skip the second argument min(A,[],2) I...

14 years ago | 2

Answered
TUTORIAL: how to format your question with markup
*HYPERLINK* <<http://img1.uploadhouse.com/fileuploads/13715/13715141a948ce4ecb9def2a75b596ce214cf4ad.gif>>

14 years ago | 1

Answered
TUTORIAL: how to format your question with markup
*BULLETED LIST* <<http://img3.uploadhouse.com/fileuploads/13715/13715123af95be51be3db537090658c9fb112275.gif>>

14 years ago | 1

Answered
TUTORIAL: how to format your question with markup
*NUMBERED LIST* <<http://img4.uploadhouse.com/fileuploads/13715/13715114828b96f6c55915694728cb89d4a20b93.gif>>

14 years ago | 1

Answered
TUTORIAL: how to format your question with markup
*MONOSPACED* <<http://img1.uploadhouse.com/fileuploads/13715/13715111453f626810dabee6f8cd7493ce2726d0.gif>>

14 years ago | 1

Answered
TUTORIAL: how to format your question with markup
*BOLDFACE* <<http://i55.tinypic.com/2646fjc.gif>>

14 years ago | 2

Answered
Random number generation open/closed interval
|rand| generates on the closed interval |[...]| What comes to my mind: * to generate on |(...)| rand(...)*(1-2*eps) + eps ...

14 years ago | 1

Answered
Loop that I am trying to get rid off
% Preallocate R already with NaNs R = NaN(size(date)); % Now we want to test how many dates belong to each rating period, to...

14 years ago | 0

| accepted

Question


How to embed in a post a nitid image
I was trying to embed a |.gif| in my <http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-...

14 years ago | 1 answer | 0

1

answer

Answered
matlab subplot
Call |figure| before the loop, then inside before |hold on|: subplot(3,3,i_z-25) % Example figure for n = 1:9 su...

14 years ago | 1

| accepted

Discussion


TUTORIAL: how to format your question with markup
*[INDEX]* * *<http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup#answer_18...

14 years ago | 25

Question


TUTORIAL: how to format your question with markup
*[INDEX]* * *<http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup#answer_18...

14 years ago | 8 answers | 25

8

answers

Answered
Time to run a program
If your program runs a loop: * you can print at which iteration it is with disp * or you can use waitbar (but unless they i...

14 years ago | 0

| accepted

Answered
Is the time it takes for a database commit proportional to the amount of data?
It's highly inefficient and slow to use matlab to send data to SQL server. We used to process a database of 110e6 x 20 and we ...

14 years ago | 0

Answered
Vertical Xticks
There are submission that do this kind of stuff, nevertheless the "manual" implementation with text labels: % Dummy plot plo...

14 years ago | 0

Answered
xlsread - Reading set number of columns with unknown number of row...
Strange, for me it works fine: xlsread('test.xlsx',1,'A:D')

14 years ago | 0

Answered
Synchronizing experimental data with different timescales
You can use run-length decoding to expand the low-frequency data to match the high-frequency: % Generate random dates (sorted i...

14 years ago | 0

Answered
Help with histogram physics
|hist| uses |histc| on line 92: edit hist The binning follows the principle |[...)| and it all depends on how you define...

14 years ago | 0

Answered
using single quotes with findstr
strfind(test,'''') With |' '' '| you are looking for < blank>'<blank>

14 years ago | 1

| accepted

Answered
Help me please: Problem to compare elements in array with its label using grp2idx and grpstats
|g1{ixx}| is a *char* and you are comparing it with a double. When compared to a numeric class a char is converted to its ASCII...

14 years ago | 0

| accepted

Answered
Can matlab load data online
<http://www.mathworks.com/help/techdoc/ref/urlread.html urlread>

14 years ago | 0

Answered
"Squeeze" array of indexes.
% Run length encoding: A = rand(100,1)>.9; find(diff([A; false]) == -1) If you want the first change -1 to 1.

14 years ago | 0

Answered
Save an invisible figure in an image matrix without priniting the matrix on the screen
Is this what you're trying to do, superimpose two |surf| with two different colormaps? h.f = figure; h.a(1) = axes('...

14 years ago | 0

Answered
How to specify "ctrl-shift-tab" in the keyboard shortcut editor
right click on the shortcut field > select |ctrl+shift+tab| You may want to look at: http://undocumentedmatlab.com/blog/r2009b-...

14 years ago | 0

Answered
Matlab list all files in subfolders of the same name...
Try <http://www.mathworks.com/matlabcentral/fileexchange/19550-recursive-directory-listing rdir>: rdir('C:\tests\**\sweep\r...

14 years ago | 0

Answered
Memory pig?? Problem with kron function
Your W will be around 300 MB and yes it is a common problem. Any solution is not infinitely scalable in practice due to constr...

14 years ago | 1

| accepted

Load more