Answered
two dimensional Principal component analysis
You can preform PCA on a set of images by converting them to vectors, getting the principal components, and then converting thos...

15 years ago | 1

| accepted

Answered
How to keep/use last used CURRENT DIR?
I think in order to be consistent with the -r and -sd (Windows only) startup flags and environment variables on UNIX, it might b...

15 years ago | 2

| accepted

Answered
How to record voice in uint8 format without telling the number of seconds in advance?
doc getaudiodata Will tell you y = getaudiodata(recorder, dataType) converts the signal data to the specified data type:...

15 years ago | 0

Answered
new equivalent for wave_gen
A google search for: matlab wave_gen turns up a link that seem to provide the source code of wave_gen.m. I am not sure of the...

15 years ago | 0

Answered
how to register flash.ocx in activex control GUI Matlab
I have added an ActiveX Flash player to a MATLAB figure with the help of this FEX submission: <http://www.mathworks.com/matla...

15 years ago | 0

| accepted

Answered
Audio Video dynamic sycing manipulation
I disagree with Walter on this one. This type of experiment can be easily implmented with MATLAB, the problem lies in the hardwa...

15 years ago | 0

Answered
how to implement a non-causal system?
Add a two smaple delay and your system becomes causal.

15 years ago | 0

Answered
OOP Dynamic Properties ordering is very strange...
Why not just overload fieldnames to return sort(fieldnames)?

15 years ago | 0

Answered
default overloading method? or a way to return subclass objects of built-in classes?
I think you can overload subsref to get behavior like this.

15 years ago | 0

Answered
Out of memory problem
Try pack Based on your comments to Sean de, I think there is something else going on. When do you run the memory command...

15 years ago | 0

Answered
plot error
size(exp(-t)) size(sin(2*t)) You are trying to multiple a 1x1001 matrix with a 1x1001 matrix. The inner dimension (1001 ...

15 years ago | 0

Answered
Convolution Reverb help!
How much energy is there in the tail of your impulse response? If there is lots of late reverb, then the result is going to soun...

15 years ago | 0

Answered
Preparing a list of numbers based on certain rules and conditions
I would split this problem into two parts. The first part would be to create a cell array trialType (100 x 1) which indicates th...

15 years ago | 0

| accepted

Answered
Overloading subsasgn without breaking class privacy rules
My guess is that you are saving weirdo in a location such that it is becoming a method of the class. For good or for bad, method...

15 years ago | 1

| accepted

Answered
Cross correlation vs Matched Filter
Same thing. Look at the equations for cross-correlation and convolution and you will see that they only differ by a time reversa...

15 years ago | 0

Answered
Best OS for Matlab
Do you even need to make the choice? Many of the MATLAB licensing options are pretty flexible. You should check with Mathworks i...

15 years ago | 1

Answered
How to correctly make FFT of sound set?
The fft assumes that the signal is cyclical. You need to match up your edges (or zero pad) to get delta functions. The fft also ...

15 years ago | 0

Answered
Running MATLAB Programs on a webpage
Running MATLAB from a webpage in a general sens is hard. Using MATLAB on the backend should be much easier. I would not have MAT...

15 years ago | 0

Answered
Karhunen-Loeve Transform
From my understanding KLT, PCA, and SVD are all related The statistics toolbox has princomp which does a principal component ana...

15 years ago | 0

Answered
wanted: function for drawing simple network diagrams
If the figure does not have to be manipulated in MATLAB after it has been created, I would suggest using MATLAB to write code fo...

15 years ago | 0

Answered
Search for sound clip within larger sound clip
A simple solution is to calculate the cross-correlation between the short signal and the long signal. doc xcorr The times of...

15 years ago | 0

Question


Format short difference across two machines
I have a Linux machine running 64 bit MATLAB r2010b and a Windows machine running 32 bit MATLAB r2010a. Both are set with Format...

15 years ago | 2 answers | 0

2

answers

Answered
Play audio --> wait a while --> record audio
You could also start the recording at about the same time as the playback and then disregard the first 100 ms of the recording.

15 years ago | 0

Answered
usb sound card PCM2904 - playing&recording together
I don't know anything about the PCM2904, but if it does behave like a standard MS Windows sound card, then playing and recording...

15 years ago | 0

Answered
How to find out which item is mode of cell array?
Assuming that all the elements in your array are strings x = {'apple','lemon','apple','peach'}; y = unique(x); n = ze...

15 years ago | 2

| accepted

Answered
Rolling window regression
Since you are talking about 6000 data points (50 years x 12 months) optimization for speed is not a huge concern. N = 50*12...

15 years ago | 1

Answered
How do I make a MATLAB calculation faster?
If you are not willing to change your code, and presumably not willing to change your hardware, then there is little you can do ...

15 years ago | 0

Answered
how to draw the line of known slope and intercept
I like refline doc refline

15 years ago | 8

Answered
GUI - How to differentiate the handles of the overall GUI vs. Callback function of each component?
It is probably worth checking out the FAQ: <http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in...

15 years ago | 0

Answered
fill up vector of matrices
Your counter variable is i for i=1:as ... but you write data_inten{as} try data_inten{i}

15 years ago | 0

| accepted

Load more