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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 2

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

Cargar más