Answered
How to remove outliers?
If you haven't thought about how you are going to deal with outliers before inspecting your data, then don't remove them. If you...

7 years ago | 2

Answered
Class set methods that access other object properties
It seems reasonable. I have never really understood the reason for the warning (I think it has to do with realoading an object w...

7 years ago | 2

Answered
alert sound
What about sound(randn(4096, 1), 8192)

7 years ago | 1

| accepted

Answered
echo cancellation
While not as clear as it could be I think the question is: "Will you give me MATLAB code for doing echo cancellation with the tm...

7 years ago | 1

Answered
Correct way of implementing a getter and setter for a handle class
For handle classes it should be function set.testVar(obj,newVal) You do not need to return the obj, since you already ha...

7 years ago | 1

| accepted

Answered
How to rename file from command prompt
doc movefile movefile('SW984-362-19-230-vXYZ.doc', 'SW984-362-19-230-W1234.5.doc');

8 years ago | 3

| accepted

Answered
graph subtitle?
title({'UK Yield', 'Data from ...somecompany...'}) or maybe title('UK Yield') xlabel('Data from ...somecompany...')

8 years ago | 3

Answered
replicating/copy part of Cell Array
What about ... NewCA = CA(1:50, 4:5); Not the use of () and not {}.

8 years ago | 3

| accepted

Answered
Plotting and reversing axis direction
a = (1:10)'; b = rand(10, 1); c = rand(10, 1); figure h1 = axes bar(a, c) set(h1, 'Ydir', 'reverse') ...

8 years ago | 1

| accepted

Question


MATLAB, Compiled MATLAB, Coder differences
Lets say I have a moderately complex calculation that is limited by the CPU, requires no "crap" (e.g., graphics, user input, sym...

8 years ago | 2 answers | 2

2

answers

Answered
Find divisors for a given number
How important is it to do quickly? What is your N? N = 8; x = 1:N; x(~(rem(N, x)))

8 years ago | 3

Question


What is your MATLAB uptime
Someone was talking about running a process in MATLAB for a month: <http://www.mathworks.com/matlabcentral/answers/21437-remote-...

8 years ago | 4 answers | 2

4

answers

Question


What thread do timers operate in
This question arose from some comments to a previous question: <http://www.mathworks.com/matlabcentral/answers/21511-execution-...

8 years ago | 1 answer | 2

1

answer

Answered
To Know about language
Most of the machine specific processing is closed source and proprietary and individuals working with the source are generally r...

8 years ago | 2

| accepted

Answered
How to set line style while using plot in a for loop?
With a slight change (changing lin to be linS) it works for me... linS = {'-','--',':'}; for j=1:2 subplot(2,1,j) ...

8 years ago | 2

| accepted

Answered
System command 'cd' not working
From your comment to Walter, it seems you are trying to change the directory of the "shell" from within MATLAB. It is not really...

8 years ago | 1

| accepted

Answered
Nyquist rate is not true always
The Nyquist theorem basically says that if you sample at twice the highest frequency you can reconstruct the signal exactly with...

8 years ago | 0

| accepted

Answered
How to get answers for my unanswered questions?
Even better than just bumping your question is to edit your question with what you have found out since you asked the question. ...

8 years ago | 4

Answered
Assigning data to variable names in a vector during a for loop.
While you can do this with eval, it is generally not recommended. This is pretty well covered in the FAQ: <http://matlab.wikia.c...

8 years ago | 3

Question


Transparent background for figures
I get the following warning in r2011a set(gcf, 'Color', 'None') Warning: Setting the ColorSpec to 'none' for a figure wi...

8 years ago | 3 answers | 7

3

answers

Answered
Difference between pitch and frequency?
Frequency is a physical aspect of a sound and can be measured objectively (for example with a microphone and an oscilloscope). P...

8 years ago | 2

| accepted

Answered
MATLAB is missing one essential rounding function!
ceilfix = @(x)ceil(abs(x)).*sign(x); or some such nonsense name. ceilfix(-2:0.2:2)

8 years ago | 2

| accepted

Answered
audioplayer
The audioplayer object is "scoped". Once no more references to the handle exist, it stops playing and cleans up itself. See Lore...

8 years ago | 2

| accepted

Answered
Cell conversion to double
It appears your cell array contains strings and not numbers (doubles). b = cellfun(@(x)str2double(x), a);

8 years ago | 2

Answered
Is it possible to add a textbox outside the axes of a plot figure window?
figure; plot(rand(5, 1)) annotation('textbox', [0, 0.5, 0, 0], 'string', 'My Text')

8 years ago | 6

Answered
Create cell array with the same string n-times
The names of your variables are a little confusing ... You are starting with values being a double array and then wanting values...

8 years ago | 3

| accepted

Answered
length of a string
Have you created a variable called size? what do you get with which size It should be something like ../matlab/r2011a/to...

8 years ago | 0

Answered
How to remove XTick labels without removing XGrid lines?
plot(1:10) grid on set(gca, 'XTickLabel', [])

8 years ago | 1

Answered
Persistent Variables Not Persistent After Parfor Loops
I am not sure how MATLAB cleans up memory in parfor loops (and hence if you can keep persistent variables). Why not just have...

8 years ago | 0

Answered
Overriding subsref and subsasgn - effect on private properties
Apologies for the long answer (that might not be helpful or even an answer). The answer is so long since I am not sure what I am...

8 years ago | 3

| accepted

Load more