Beantwortet
License files from the FEX
You could download each FEX submission to a separate folder and then create links (hard or symbolic) to the MATLAB files (m, p, ...

fast 14 Jahre vor | 1

| akzeptiert

Frage


MESSAGE function and error handling
I just stumbled across the MESSAGE function which takes a message identifier of the form foo:bar:id and creates an objec...

fast 14 Jahre vor | 2 Antworten | 2

2

Antworten

Beantwortet
Answers not visible
Have you tried clicking on "My Questions"?

fast 14 Jahre vor | 3

Beantwortet
subclassing MException
There are a lot of places you can go wrong, and without the code, it is hard to guess... classdef testclass < MException ...

fast 14 Jahre vor | 4

Beantwortet
audioplayer function: clicks during playback of sine waves
The analog output of a sample and hold system to a sine wave input is a sine wave multiplied by a pulse train convolved with a r...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
audioplayer function: clicks during playback of sine waves
That is because MATLAB sound support is essentially broken. Look for some of the answer on the site referring to port audio. ...

fast 14 Jahre vor | 0

Beantwortet
sound card
Most soundcards have reasonable crosstalk attenuation. SOUND and SOUNDSC turn mono signals into stereo signals. If you only want...

fast 14 Jahre vor | 0

Beantwortet
soundsc
The reason you cannot cancel the sound with crtl+c is that MATLAB plays the sound asynchronously. This means you can do other th...

fast 14 Jahre vor | 0

| akzeptiert

Frage


MATLAB Stack Exchange
What do people think of the <http://area51.stackexchange.com/proposals/38040/matlab#_=_ MATLAB Stack Exchange> proposal?

fast 14 Jahre vor | 2 Antworten | 3

2

Antworten

Beantwortet
Declaring global handle or variable
This is <http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F FAQ: 5.16>

fast 14 Jahre vor | 0

Beantwortet
How to call functions indirectly?
You can do it with only additions to your code F1 = @(a)length(a); F2 = @(b)sum(b); F3 = @(c)min(c); X=rand(1,...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
wav format data type in matlab
You should read the documentation to WAVREAD doc wavread You want [Y,...]=WAVREAD(...,'native')

fast 14 Jahre vor | 0

Beantwortet
(continued)On the combination of N-dim vector.
I think this question is the same: http://www.mathworks.com/matlabcentral/answers/38130-pick-arrays-from-matrix-with-condition

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
(Ask again)Show every combination of N-dim vector.
I think <http://www.mathworks.com/matlabcentral/fileexchange/10064-allcomb> might do it also.

fast 14 Jahre vor | 1

Beantwortet
(Ask again)Show every combination of N-dim vector.
I will repeat the answer I gave to your original question x = fullfact([3,3,3])-1 *EDIT* For a general N N = 3; ...

fast 14 Jahre vor | 3

| akzeptiert

Beantwortet
how to write code to try every combination of N-dim vector?
x = fullfact([3,3,3])-1

fast 14 Jahre vor | 1

Beantwortet
strfind on gpu
The STRFIND function is fast to find the occurrences of a sequence. The problem is that you are calling it for all possible sequ...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Optimizing the 'drawnow' function for an oscillating circle
To get the graphics really good you need to access the graphics card directly. Toolboxes like <http://gru.brain.riken.jp/doku.ph...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
strfind on gpu
Based on your comment "the string is Diff of prices....so are all in decimals...eg 0.0012 0.0001 -0.0002 etc" I would point out ...

fast 14 Jahre vor | 0

Beantwortet
correlation matrix labels
names = {'one', 'two', 'three'}; middle = {' vs '}; N = length(names); reshape(strcat({names{repmat(1:N, N, 1)}}, mid...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
How to change firs GUI's figure properties from another GUI
This is essentially <matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F FAQ: 5.16>

fast 14 Jahre vor | 0

Beantwortet
Can I use 2 MATLAB versions ..??
Yes. You should contact technical support if you are having problems with installation.

fast 14 Jahre vor | 1

Beantwortet
command in Matlab equivalent to "forall " in fortran
The JIT accelerator that was introduced 10 years ago has sped up loops substantially, it is an unfortunate myth that MATLAB loop...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
Order of execution of multiple onCleanup callbacks
While I believe the ordering is stable and either first defined or last defined (I cannot remember), I don't think you want to d...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Select all entries in first N-1 dimensions of array
Have you thought about using linear indexing? V{1} = rand([2,2,2]); x = reshape(V{1}(1:4), repmat(2, 1, 2)); y = V{1}...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Scheduling a Matlab Script
You need to enclose the entire command in quotes. You do not need the path on the function/script you want to run and do not wan...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
get function
It is similar to close all in that it makes all the figure windows disappear. It is different in some fundamental ways t...

fast 14 Jahre vor | 0

Beantwortet
Tidal prediction
The concept of the first 20 frequencies doesn't make sense. The frequencies to which the first 20 components correspond depends ...

fast 14 Jahre vor | 0

Beantwortet
execution of code very long
Have you tried to profile your code to figure out where the bottleneck is? If comp is really big, you might be able to get a lit...

fast 14 Jahre vor | 0

Beantwortet
pitch detection by autocorrelaion
This has been asked <http://www.mathworks.com/matlabcentral/answers/14133-using-xcorr-in-pitch-detections before>.

fast 14 Jahre vor | 0

Mehr laden