Answered
Best way to store "collection" of time series; issues with "execute" on structure array
See <http://www.mathworks.se/help/matlab/time-series-collections.html Time Series Collections, Query and set tscollection obje...

11 years ago | 0

| accepted

Answered
text formatting in m file editor
The short answer is no! Maybe <http://undocumentedmatlab.com/> presents tricks.

11 years ago | 0

Answered
how to store parts of one string into a string array??
Try this %% string='C12C3C4C1C5C4C3C25'; pattern1='([A-Z]\d{1,1}[A-Z|#()=:])';%to identify x1y forma...

11 years ago | 1

| accepted

Answered
In an assignment A(I) = B, the number of elements in B and I must be the same.
See * <http://www.mathworks.se/matlabcentral/answers/87710#answer_97292> and start with # put the code in a function (...

11 years ago | 1

| accepted

Answered
How to create array, cell or structure, of cfit objects?
Try to replace Fits(i)=fit(Xdata,Ydata(i),fittype) by Fits{i} = fit(Xdata,Ydata(i),fittype); and see <http:/...

11 years ago | 1

| accepted

Answered
Importdata does not import whole .txt file
_*"For some reason, MATLAB stops somewhere near the end of my file."*_ In Matlab, there is no high level function that reads ...

11 years ago | 2

Answered
Loop over table variables in MATLAB
A = ExcelData.VFINX; B = ExcelData.VISVX; C = ExcelData.VIVAX; with a cell array for cac = {A,B,C} ...

11 years ago | 1

| accepted

Answered
Accessing webpage from MATLAB
See * <http://undocumentedmatlab.com/blog/expanding-urlreads-capabilities Expanding urlread capabilities> * <http://www.math...

11 years ago | 0

Answered
Join or Merge Data
These FEX contributions might help * <http://www.mathworks.com/matlabcentral/fileexchange/19402-relational-join Relational J...

11 years ago | 1

| accepted

Answered
The problem of timer's period delay
See <http://www.mathworks.se/help/matlab/ref/timer-class.html timer class, Create object to schedule execution of MATLAB command...

11 years ago | 1

Answered
Extracting data from structure arrays within a structure array
The question is somewhat ambiguous. A small example would have been helpful. * _"anywhere from a 1X24 double all the way up ...

11 years ago | 0

| accepted

Answered
two figures side by side
See * <http://www.mathworks.com/matlabcentral/fileexchange/35511-position-figure position_figure> * <http://www.mathworks.co...

11 years ago | 1

| accepted

Answered
Definitive answer on the correct str2double behavior for the string '10 20'
_"str2double('10 20') evaluates to an array [10 20]."_ . If that is the case it should be reported as a bug # It should not b...

11 years ago | 0

| accepted

Answered
Reading jpeg image sequence from current directory.
Here are some links on debugging in Matlab * <http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/ Debugging in ...

11 years ago | 0

Answered
Problem with my function
If _in the first iteration_ the word, iteration, means call of the function, |sample_fit|, see <www.mathworks.se/help/matlab/ref...

11 years ago | 0

Answered
how can I improve the speed of my program??
See * <http://www.mathworks.se/help/matlab/code-performance.html Code Performance Profiler, improve performance and find pot...

11 years ago | 0

Answered
How to create a plugin that stores the exception from a failing test
See the answers to the question <http://www.mathworks.com/matlabcentral/answers/108592#answer_127796 Fail Reasons exportable in ...

11 years ago | 0

Answered
2D - Truss Analysis help
See: * <http://www.mathworks.se/help/matlab/index.html#programming-and-data-types Programming Scripts and Functions> * <http...

11 years ago | 0

Answered
Increase limit on number of open files
_"Opening and closing the files for each write is far too time-consuming"_ and _"I'm open to suggestions, but I'm really trying ...

11 years ago | 1

Answered
Remove NaN and create one column
_"I have this matrix A and has NaN values. I need_ # _to remove NaN values from all the columns and_ # _write the values in...

11 years ago | 2

| accepted

Answered
Remove NaN and create one column
_"I have this matrix A and has NaN values. I need_ # _to remove NaN values from all the columns and_ # _write the values in...

11 years ago | 0

Answered
What does @ on a dir of *.m files mean?
*@ClassName* folders may be used with the *new-style* class definitions much in the same way as with the old-style. See *Dist...

11 years ago | 0

Answered
Why does indexing take longer?
I cannot reproduce your results. There is some crucial information missing in your question * What is the typical size of the...

12 years ago | 1

Answered
How can I fix the size of graph in GUI?
It's |DataAspect| that causes the behaviour 100 set(gca, 'XLim',[num_Xmin num_Xmax]); K>> get(gca) ... Dat...

12 years ago | 1

| accepted

Answered
why does my program not reading these values?
See: * <http://www.mathworks.se/help/matlab/matlab_prog/base-and-function-workspaces.html Base and Function Workspaces> * <h...

12 years ago | 0

| accepted

Answered
Fast creation of vector [0 0 1 1 2 2 3 3... n n]
Test >> reshape( cat( 1, [0:n], [0:n] ), 1, [] ) ans = 0 0 1 1 2 2 3 3 4 ...

12 years ago | 2

| accepted

Answered
Anybody w/ new release since R2012b test for resolution of fixed-width field?
Another test *without the precision specifier* (induced by a comment by dpb in the other post) (R2013a) %% N = 5; ...

12 years ago | 1

Answered
datestr producing incorrect dates
"39400" is an "Excel serial date number". Matlab: A serial date number represents the whole and fractional number of days fr...

12 years ago | 1

Answered
read ascii non-delimited file
Try %% fid = fopen( 'cssm.txt', 'r' ); cac = textscan( fid, '%8.4f%8.4f%8.4f%8.4f%8.4f%8.4f', 'Whitespace',' ')...

12 years ago | 2

Answered
How to read an ascii text file and extract the data in a matrix?
Try out = read_blocks_of_numerical_data( 'B1N.SA', 1000, ',' ); where function out = read_blocks_of_numerica...

12 years ago | 0

Load more