Beantwortet
Get the "handle number" of a standard handle class
You cannot do this directly. I don't understand why you would want to. Why not just pass the object around? MATLAB is pretty sma...

etwa 14 Jahre vor | 0

Beantwortet
Issues with sound and soundsc (matlab R2011a, Lion)
This is surprising to me. I would contact TMW directly. While MATLAB and sound is sometimes flaky, it usually doesn't crash like...

etwa 14 Jahre vor | 0

Beantwortet
Read wave file
Based on the error you provided, I am guessing something else is going on. The error never refers to wavread. Further, I don't s...

mehr als 14 Jahre vor | 0

Beantwortet
FFT vs. Fourier transform
When dealing with Fourier analysis, you need to be careful with terminology. The fast Fourier transform (FFT) is an efficient im...

mehr als 14 Jahre vor | 0

Beantwortet
Create superclass objects in a for loop
Maybe I am missing something here, but doesn't it make more sense for the AlliedStates constructor to handle an array input.

mehr als 14 Jahre vor | 0

Beantwortet
How to avoid writing a script function ?
Maybe another person chiming in will convince you this is a bad idea. That said, if I had to go down this road I would probably ...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
property access of objects arrays
A potentially related question: <http://www.mathworks.com/matlabcentral/answers/12116-cell-array-expansion>

mehr als 14 Jahre vor | 1

Beantwortet
Timer Interrupt
Where in the documentation do you see that it has millisecond precision? timer doc Clearly says: "The timer object is su...

mehr als 14 Jahre vor | 0

Beantwortet
Easy designated/concurrent license test
See: <http://www.mathworks.com/matlabcentral/answers/20681-how-to-determine-if-license-is-concurrent>

mehr als 14 Jahre vor | 0

Beantwortet
Multiple sound inputs in Matlab
MATLAB can handle several sound inputs. On Windows the Data Acquisition Toolbox has some useful features. I tend to recommend so...

mehr als 14 Jahre vor | 0

Beantwortet
audioplayer
This is very similar to your other question. Are you saving the audioplayer object someplace?

mehr als 14 Jahre vor | 0

Beantwortet
Sound in GUI
You have not provided much information. It seems like your function works with soundsc but not with audioplayer. I am guessing y...

mehr als 14 Jahre vor | 0

Beantwortet
Frequency doesn't sound right
The function sound uses a sample rate of 8192 unless you give it something else. My guess is you want sound(y, fs); You ...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
How to generate the figure of subplot with consistent size?
Before running your code, right when you start MATLAB, or added to your startup.m x = get(0, 'DefaultFigurePosition'); s...

mehr als 14 Jahre vor | 0

Beantwortet
more efficient way to use strtok / selecting parts of a string
If the format is as rigid as your example ... Given a cell array x = {[]; 'ABC/DEF QTR/3/99 (Thousands)'; 'ABC/DEF QTR/6...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
problem to run system(''.exe) on Mac
It is extremely unlikely that any file ending in .exe will run on anything OS other than Microsoft Windows. You need to find the...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Good programming practice...
It is only fair that if I plug Doug's blog, I should plug Loren's blog also: <http://blogs.mathworks.com/loren/2012/01/13/bes...

mehr als 14 Jahre vor | 1

Beantwortet
Measure user response time on hitting a key
Following on from Walter's answer. <http://www.mathworks.com/matlabcentral/fileexchange/7465-getkey> Uses a graphics windo...

mehr als 14 Jahre vor | 0

Beantwortet
Noice Cancellation in java
Noise cancellation is complicated. You might want to start here: <http://blogs.mathworks.com/loren/2010/06/30/vuvuzela-denois...

mehr als 14 Jahre vor | 0

Beantwortet
Pause between execution of soundsc
Could be lots of reasons, but the key thing to remember is that you shouldn't depend on sound/soundsc/audioplayer to start witho...

mehr als 14 Jahre vor | 0

Beantwortet
Name Conflict Warning
I would look at your path path as well as your matlab root matlabroot Have you added the directories twice?

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Event Handling
Now I got it. The source of the event is coming from a Java object. Yet another way around the single threaded MATLAB system. ...

mehr als 14 Jahre vor | 0

Beantwortet
Event Handling
If you are not using timer objects, then your code will only be interrupted at well defined times, like when drawnow is called. ...

mehr als 14 Jahre vor | 1

Beantwortet
Can I put the filenames in a directory in a matlab vector?
What about just doing it as a system call. system('ls . > filename')

mehr als 14 Jahre vor | 0

Beantwortet
Str to Cell (trivial ?)
What about str1 = {'aa1','bb1','cc1'}; str2 = {'aa2','bb2','cc2'}; dataCell = [str1; str2];

mehr als 14 Jahre vor | 0

Beantwortet
list handeling
listA = struct('name', {'a', 'b', 'x_SF_y', 'c', 'd', 'a_SF_b'}); listA = listA(cellfun(@isempty, strfind({listA.name}, '_S...

mehr als 14 Jahre vor | 0

Beantwortet
Create new workspace
This is what functions do. Pass what you need to a function, and then it is a protected workspace.

mehr als 14 Jahre vor | 0

Beantwortet
Evaluate a function with "evalin"
This is one of the reasons not to use eval, it makes debugging difficult. I would guess that the price2T_ss function is trying t...

mehr als 14 Jahre vor | 2

Beantwortet
any suggestions to make this code faster
You should preallocate array to the correct size before the loop. It looks like you could also use a parfor for the first loop. ...

mehr als 14 Jahre vor | 0

Beantwortet
File names
What about using '?' instead of '*', and why do you have '****', are you sure you don't want that to be ????

mehr als 14 Jahre vor | 0

| akzeptiert

Mehr laden