回答済み
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年以上 前 | 2

回答済み
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年以上 前 | 2

回答済み
alert sound
What about sound(randn(4096, 1), 8192)

7年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 1

回答済み
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年以上 前 | 1

| 採用済み

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

7年以上 前 | 3

| 採用済み

回答済み
graph subtitle?
title({'UK Yield', 'Data from ...somecompany...'}) or maybe title('UK Yield') xlabel('Data from ...somecompany...')

7年以上 前 | 3

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

7年以上 前 | 3

| 採用済み

回答済み
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') ...

7年以上 前 | 1

| 採用済み

質問


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...

7年以上 前 | 2 件の回答 | 2

2

回答

回答済み
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年弱 前 | 3

質問


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年弱 前 | 4 件の回答 | 2

4

回答

質問


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年弱 前 | 1 件の回答 | 2

1

回答

回答済み
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年弱 前 | 2

| 採用済み

回答済み
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年弱 前 | 2

| 採用済み

回答済み
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年弱 前 | 1

| 採用済み

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 4

回答済み
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年弱 前 | 3

質問


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年弱 前 | 3 件の回答 | 7

3

回答

回答済み
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年弱 前 | 2

| 採用済み

回答済み
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年弱 前 | 2

| 採用済み

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

8年弱 前 | 2

| 採用済み

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

8年弱 前 | 2

回答済み
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年弱 前 | 6

回答済み
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年弱 前 | 3

| 採用済み

回答済み
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年弱 前 | 0

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

8年弱 前 | 1

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 3

| 採用済み

Load more