Answered
how to get serial date numbers?
*Hint:* sdn = bsxfun( @plus, [0:91], transpose([0:23]/24) ); %% datestr( sdn(1 ), 'yyyy-mm-dd HH:MM:SS' ...

13 years ago | 0

| accepted

Question


How-to: Set Category of question (used by Refine by Category)
The question "To detect a moving object in a video feed with constantly changing background" is in the category: _Object-Oriente...

13 years ago | 0 answers | 0

0

answers

Question


Design of tool for visual exploration
*Questions* # I assume that there is no way to let an assignment, a=qty;, where qty is an instance of a value class, call s...

13 years ago | 0 answers | 0

0

answers

Answered
need function to save my data
*I assume that* # you want to *import* data from a text file, which is defined by the three rows embraced by "*" # the "*" a...

13 years ago | 0

Answered
Possible bug in H5D.write, truncation of VLEN strings
I ran the example <http://www.hdfgroup.org/ftp/HDF5/examples/examples-by-api/api16-m.html h5ex_t_vlstring> with your long st...

13 years ago | 0

Answered
Increasing Buffersize while importing data
Hint: textscan( ..., 'BufSize', new_size ) See the help.

13 years ago | 0

Answered
obtain "gca" and "gcf" from an existing fig file, which was generated by "plotyy"
The doc (R2012a) says: [AX,H1,H2] = plotyy(...) returns the handles of the two axes created in AX and the handles of...

13 years ago | 0

Answered
Textscan: how to ignore single '-' characters, while preserving '-' in negative numbers?
Try this %% str = fileread('cssm.txt'); %% str = strrep( str, '-;', 'nan;' ); %% nl = [cha...

13 years ago | 0

| accepted

Solved


Find: Faster Alternatives for Large Sorted/Unique Vectors
The Challenge is to create faster Find methods for large unique ascending vectors. Methods exist that are 1000 times faster t...

13 years ago

Answered
How to best determine the probability of a distribution given an outlying observation?
See: <http://www.mathworks.se/matlabcentral/fileexchange/36000-fbd-find-the-best-distribution-tool FBD - "Find the Best Distribu...

13 years ago | 0

Answered
To find the position of the elements which are same in vector
Try %% num = [ 2 3 4 2 5 4 3 3 ]; unq = unique( num ); ii = arrayfun( @(x) find( num==x ), unq, 'uni', f...

13 years ago | 0

Answered
reading data using textscan: how to record empty rows with muliple columns?
It's sure a pain to get the format string right. There are no space (char(32)) in the data file. I seriously doubt that your tex...

13 years ago | 0

Answered
How can I create a nested figure/my own component?
Do you think of something like megawidgets? E.g. <http://www2.tcl.tk/10986 A New Megawidget Library>, <http://pmw.sourceforge....

13 years ago | 0

Answered
How can I make an Horizontal tab (\t) using TEXT and TeX ?
I cannot reproduce your problem. Your code works as expected here, R2012a,64bit,Win7.

13 years ago | 0

Answered
Parsing Formatted Text File Quickly
[Comment on textscan deleted.] Below are three function, which read your file. You might want to modify a function so that _t...

13 years ago | 0

| accepted

Answered
Multiple fig files into one GUI with Tabs.
Search the File Exchange. See: <http://www.mathworks.se/matlabcentral/fileexchange/6996-tabpanel-constructor-v2-8-2010 TabP...

13 years ago | 0

Question


fgetl, textscan, and the file position indicator
Is a construct like this legal? It doen't return any error, but the "file position indicator" is not advanced as it should. ...

13 years ago | 1 answer | 0

1

answer

Answered
How do you remove certain text?
Try doc rem and rem( 5/3, 1 )

13 years ago | 0

| accepted

Answered
How can I improve MATLAB performance?
Reading the text files # Windows Task Manager and Resource Monitor. Does "Physical Memory, Free" decrease to zero during duri...

13 years ago | 0

Answered
how to insert mfile to GUI
Hi Soni, You have to approach this in two steps. Firstly, you need to learn to use some basic features of GUIDE. Thus, # W...

13 years ago | 0

| accepted

Answered
Is it possible to change customization of textscans when importing data from files, in-line?
*If the file fits in memory this is one way to do it.* I decided in some cases what is best for OP;-) and guessed that "EOH"...

13 years ago | 1

| accepted

Answered
How do you plot Matlab serial dates on a figure?
Did you read and understand the documentation on datetick? You need to do something like plot( cDate, data ) dat...

13 years ago | 1

Answered
MATLAB's JIT Engine
The following comparison might not be interesting from a CS point of view, but it is to a typical Matlab user. Sure, the perf...

13 years ago | 0

Answered
Publish Problem in PDF
You have provided three main functions # forwardEuler # backwardEuler # mittpunkten which you want to publish to one fi...

13 years ago | 0

| accepted

Answered
How to convert numerical dates to conventional dates
The Excel datetime-number is not the same as the serial date number of Matlab >> datestr( 40772, 1 ) ans = 18-A...

13 years ago | 0

| accepted

Answered
Travelling Salesman Problem MATLAB
A search for <http://www.mathworks.se/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=travelling+salesman travelling salesm...

13 years ago | 0

| accepted

Answered
How can I place lots of figures into a Word or html file?
See the FEX-contribution <http://www.mathworks.com/matlabcentral/fileexchange/15192-officedoc-readwriteformat-ms-office-docs-x...

13 years ago | 0

| accepted

Answered
help loading ascii files in 2012a that worked in previous versions
I run R2012a, 64bit, Windows7. load(..) seems to read the numerical data ok. >> load('cssm.poi.txt' ) >> cssm_po...

13 years ago | 0

Answered
text file columns assistance
Strange! # I don't think ImportData is an appropriate name. It is too close to importdata. # The output argument, A, is not...

13 years ago | 0

Answered
ttig data - time plotting
Try z = datevec( '11:16:41.835', 'HH:MM:SS.FFF' ) z = 1.0e+03 * 2.0120 0.0010 0.0010 0.011...

13 years ago | 1

| accepted

Load more