Answered
Matlab slow when running many instances?
On my five years old vanilla desktop with four cores (Intel Quad Q9600) I can open four Matlab instances without seeing _"increa...

12 years ago | 0

Answered
using callback function in timer with a function generated within script
I put your code into *one* m-file and it worked. I cannot see any problem. With R2013a >> cssm start Acquisition ...

12 years ago | 0

| accepted

Answered
plotting Timeseries, setting xlim only to the range of data
Warning: Not tested date_frmt = 'dd-mmm-yyyy HH:MM:SS'; set(axes_handle,'XLim',[datenum(beginTime,date_frmt),daten...

12 years ago | 0

Answered
Converting letters to strings
The documentations says: [ num, txt, raw ] = xlsread( filespec ); Thus try [~,~,raw] = xlsread('file.xl...

12 years ago | 0

| accepted

Answered
This program isn't working.
See: <http://www.mathworks.com/matlabcentral/answers/87710#answer_97292 I need to learn the Debugger - is there a good tutorial ...

12 years ago | 0

| accepted

Answered
Why my R2013b version does not have "nansum","nanmin" or "nanmax"?
These functions comes with the statistical and the financial toolboxes. See * in the documentation of the statistical too...

12 years ago | 1

| accepted

Answered
Initializing class property values outside of constructor
myMap is the default map of the class DummyClass. The value of myMap is a containers.Map. That map is share among all instances ...

12 years ago | 0

Answered
Initializing class property values outside of constructor
Because Matlab behaves that way;-) |clear| doesn't clear 'containers.Map', but |clear classes| does - according to |inmem|. ...

12 years ago | 0

Answered
Loading tab delimited .txt file with mix of strings and numeric data
See <http://www.mathworks.se/help/matlab/ref/textscan.html textscan, Read formatted data from text file or string> . *Late...

12 years ago | 0

Answered
making an array 'skip' some numbers
Try x =( -4:1:4); x(abs(x)<=1)=[];

12 years ago | 0

Answered
Force axes to always be on top of another axes
Without understanding your requirements in detail: * This is too much to do with Matlab * The new version of graphics, HG2, ...

12 years ago | 0

| accepted

Answered
How can I create shortcuts by commands?
* There is a file shortcuts_2.xml "in" |prefdir|, which "contains" the shortcuts. "First, make a backup ..." * See in FEX: <h...

12 years ago | 0

Answered
strrep with if condition
Is this the code you want to display? if str1==strrep(str,'sport','1'); else if str2==strrep(str1,'art','2...

12 years ago | 0

Answered
Assigning a 3D scatter plot to structure array
Try this with the [Run and Advance] button <</matlabcentral/answers/uploaded_files/8262/Capture.PNG>> %% jj ...

12 years ago | 0

Answered
How can I plot coloured 3-D scatter
See * <http://www.mathworks.se/help/matlab/ref/scatter3.html scatter3(X,Y,Z,S,C) draws each circle with the color specified b...

12 years ago | 0

Answered
How to skip a discontinuity in a fplot?
Change the range of the y-axis g = @(y) tan(y)+exp(2*y)-3; % from [0 2*pi] fplot(g,[0 2*pi]) axh = gca; se...

12 years ago | 0

Answered
Which MATLAB blogs should I follow?
To start: * <http://undocumentedmatlab.com/ Undocumented Matlab> * <http://blogs.mathworks.com/?s_tid=gn_mlc_blg Welcome to...

12 years ago | 6

| accepted

Answered
i dont know that warning massage . Please help me as soon as posible
* Did you write the function, |parfind|? <http://www.mathworks.se/help/search/doccenter/en/R2013b?qdoc=parfind&submitsearch=Sear...

12 years ago | 0

Answered
how can i increase speed processing of MATLAB,
* Matlab is basically single threaded (uses one core at a time) * There is a <http://www.mathworks.se/help/distcomp/index.html ...

12 years ago | 0

Answered
Error when trying to run a function using a script file.
Lower case "L" is a tricky letter. The name of your function is |prob1_fun| with the digit "1" and in the script you try to c...

12 years ago | 1

| accepted

Answered
How to average within bins? Indexing again...
I think it is <http://www.mathworks.se/help/matlab/ref/accumarray.html?searchHighlight=accumarray accumarray, Construct array wi...

12 years ago | 0

Answered
Very basic object oriented question
Try this: >> mm = my_class mm = my_class with properties: prop: 17 where classdef ...

12 years ago | 0

Answered
Consider preallocating for speed
Litter the program with lines like A = zeros(25000, 10000); and read <http://www.mathworks.se/help/matlab/matlab_prog/...

12 years ago | 0

Answered
For loop syntax in example gives me errors?
The link is to the help of the symbolic toolbox, which I know little about. However, its syntax of for-loops differ from that in...

12 years ago | 0

Answered
construc a string from other strings and variables
I find |sprintf| to be the best function to combine fixed strings and values of string (and numeric) variables into *one* string...

12 years ago | 0

Answered
Skip Lines (other than the Header) when Importing CSV File
Are there any string values,which can be used as "Begin" and "End" of the blocks? See: <http://www.mathworks.com/matlabcentra...

12 years ago | 0

Answered
How to get the product multiplication of element matrix with equal size?
Try %% X=pascal(4); Y=magic(4); Z=X*Y Z=X.*Y returns Z = 34 34 34 ...

12 years ago | 0

| accepted

Answered
Displaying select matrix columns with headers
Hint: %% M = magic(12); %% M( :, [ 3, 5 ,9 ] ) returns ans = 3 140 136 130...

12 years ago | 0

Answered
How can i speed up the working of GUI???
What's taking so long? See: <http://www.mathworks.se/help/matlab/ref/profile.html Profile execution time for function>

12 years ago | 0

Load more