Answered
derivative in Matlab-Symbolic Toolbox
syms x y = sin(2*pi*x); diff(y) % returns % 2*pi*cos(2*pi*x) In your example, the derivative of sin(x) with respect ...

13 years ago | 0

Answered
I have an index vector that I have to change and I want to change the values of them
v = [1 0 0 1 1]; idx = [1 5 3]; v(idx) = 1; But that does not give exactly what you said originally because origna...

13 years ago | 0

| accepted

Answered
About how to extract a speech signal's envelope
Yes, basically, although, I'm not sure why you set the amplitude equal to 0.5 For example: load mtlb; analmtlb = ...

13 years ago | 1

Answered
How to estimate a speech sound' fundamental frequency
Often, you want to lowpass filter your speech waveform before you attempt to extract the fundamental frequency. Have you seen...

13 years ago | 1

Answered
About how to extract a speech signal's envelope
Using the Hilbert transform is a better way to proceed than your x2 = sqrt(x.*conj(x)); The above just gives the magnitu...

13 years ago | 1

| accepted

Answered
can anybody post the matlab code for assigning the entire qrs wave to zero and only keeping the p and t wave
If this is just a general question about setting points in a vector to zero, once you have the boundary indices, it's easy. E...

13 years ago | 0

Answered
How can i get the matlab coding for image decomposition using complex wavelet transform?
If you are talking about the dual tree discrete wavelet transform, then that is not currently implemented in the MathWorks' Wave...

13 years ago | 0

Answered
How much professional version of Matlab or licensing for not student. Thanks
It is always best to contact MathWorks for this information. <http://www.mathworks.com/store/default.do?s_cid=store_top_nav>

13 years ago | 1

Answered
Can I get previous verison of Matab/Simulink>
If it's a matter of backward compatibility, then have you checked the release notes to see what the incompatibility is and how M...

13 years ago | 0

Answered
Comparing fft of wavefiles
yes, there are, but what are you trying to achieve. Do you know about coherence? Coherence is a frequency-domain measure of cor...

13 years ago | 0

Answered
band pass filter design
You can design a 2D separable filter from a 1D filter, for example: b = fir1(48,[0.35 0.65]); % bandpass from 0.35pi r...

13 years ago | 0

Answered
How I can determine the phase and magnitude between two non periodic time series?
I'm not sure what you mean by "plot the phase and magnitude in time" You can use cpsd to estimate the magnitude and phase rel...

13 years ago | 0

Answered
band pass filter design
You will need a 2D filter if you wish to filter frames of a video. The FIR filter you get from fdesign.bandpass is only for 1-D ...

13 years ago | 0

Answered
download link for MATLAB R2012b full version
You should contact technical support at MathWorks <http://www.mathworks.com/support/contact_us/index.html?s_cid=contact_us_su...

13 years ago | 0

| accepted

Answered
How to convert a vector of integers to a vector of characters?
A = [0 0 0 0 1 0 0 0 0 1]; B = num2str(A); Now B is a vector of characters

13 years ago | 1

Answered
How can I transform data in Time-Domain from excel to Frequency-Domain by using FFT in order to get PSD?
One mistake you're making is: time = data(:,1); % sampling time Ts = time; Fs = 1/Ts; The above does not ...

13 years ago | 0

| accepted

Answered
How to determine peaks in a large set of data
You can use findpeaks with the available options like THRESHOLD, MINPEAKHEIGHT, and MINPEAKDISTANCE to help cut down on the "noi...

13 years ago | 0

Answered
How can you do a baseline shift on an acceleration-time history data file?
You can then just do the following. I'll assume that X is your data in the MATLAB workspace X = 5+randn(200,1); ...

13 years ago | 0

Answered
Setting up an array which has a 4x1 matrix in each one of it's cells
One way: X = cell(10,10); X = cellfun(@(x) zeros(4,1),X,'uni',0); Now you see with cellplot(X) that each...

13 years ago | 0

| accepted

Answered
Matlab coder with system objects - size of expression error
Have you tried using the following codegen command on your M-file codegen label_trace -args {logical(zeros(500,2))} -o labe...

13 years ago | 0

Answered
Is it possible to perform wavelet analysis without the wavelet toolbox installed?
You can download and install WaveLab <http://www-stat.stanford.edu/~wavelab/> It is a free MATLAB Toolbox for wavelet and ...

13 years ago | 1

Answered
x-labels do not show in bar3 graph
Not sure what you're trying to do and why you are using bar3() Y={2;3;2;3;4;2;3;4;2;3;4;2;3;4;5}; Y = cell2mat(Y); ...

13 years ago | 0

Answered
Wavelet decomposition 2D help with software
In terms of soft vs. hard thresholding. Only hard thresholding would actually buy you something in terms of compression because ...

13 years ago | 0

| accepted

Answered
what is vlfeat and how made available it?
Where do you see that function called in that submission. I don't happen to see that function used anywhere. What am I missing?

13 years ago | 0

Answered
How can i select randomly Boolean number from a array ?
idx = find(A == 1); randsamp = randi(length(idx),1,1); index = idx(randsamp); % index is the linear index of the rand...

13 years ago | 2

| accepted

Answered
Frequency of combined waveform
There is no way to define a single frequency for this waveform. The waveform is the superposition of 2 frequencies, 0.08416 cycl...

13 years ago | 0

| accepted

Answered
Converting 1*4 array into 1*1
There are many ways. One way a = [1 2 3 4]; b = num2str(b); b(isspace(b)==1) = []; a = str2num(b);

13 years ago | 0

Answered
How to plot a function like this in matlab
x = 0.1; t = -pi:.01:pi; p=0.5*(1-x^2)./((1+(x^2)-2*x*cos(t)).^(3/2)); plot(t,p) I'm guessing you really mean ...

13 years ago | 0

Answered
mscohere function window calculation
I think you may have mistated the highest frequency. "The highest frequency is 0" Did you mean to say the lowest is 0 and the...

13 years ago | 0

Answered
y i m getting Subscripted assignment dimension mismatch error?
I do not have trouble running this code with the following (although I get a display warning at the end) a = imread('ngc6543...

13 years ago | 0

Load more