Réponse apportée
Analyze frequency spectrum on Matlab
Actually it's a pretty flat power spectrum. Look at the total dynamic range. It's only about 10 dB. Just for comparison look ...

environ 12 ans il y a | 0

Réponse apportée
its showing inner matrix dimensions must agree...i want the program to run for all values of N...how can i do that..???
It seems to work for a number of choices. Perhaps you have left over a matrix (for example A) in your workspace and then choose ...

environ 12 ans il y a | 0

Réponse apportée
Help with the output of my function
First don't use i, i the unit imaginary. That can often cause problems. Next, you are giving it a vector input. What do you a...

environ 12 ans il y a | 0

Réponse apportée
i have a coloum data, how to normalize it in Source Scanning Algorithm
If you want the largest element in the vector to be mapped to 1, use the linfinity norm. x = randn(100,1); y = abs(x)/no...

environ 12 ans il y a | 0

Réponse apportée
concatenate each element of two arrays
Make A and B cell arrays of strings, but B has to be the same length as A so you'll have to repeat the 2 A = {'a','b','c'}; ...

environ 12 ans il y a | 0

Réponse apportée
error:inner matrix dimensions must agree
The initial problem is coming from line 36: Lm=((kc.^2).*(L1+L2)+sqrt((k2^4).*((L1+L2).^2)+4*(kc.^4)*(1-(kc.^2)).*L1.*...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to Design a Moving average filter?
To implement a simple causal moving average filter in MATLAB, use filter() Ten-point moving average filter B = 1/10*on...

environ 12 ans il y a | 7

| A accepté

Réponse apportée
MATLAB has encountered an internal problem and needs to close
Daniel, this is not something I've encountered with any regularity. I mean it has certainly happened to me where MATLAB had to c...

environ 12 ans il y a | 0

Réponse apportée
How to re-open all the m.files
You can read Yair Altman's post on this <http://undocumentedmatlab.com/blog/recovering-previous-editor-state/ Recover Previou...

environ 12 ans il y a | 3

| A accepté

Réponse apportée
Arbitrary response Filterbuilder Amplitude question
Tony, You're incorrect about the frequency vector, it must begin at 0 and end with Fs/2 I've shown you already how to convert...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Arbitrary response Filterbuilder Amplitude question
Are these power measurements in dB? In other words are these A^2 measurements where A is the desired amplitude? In that ca...

environ 12 ans il y a | 0

Réponse apportée
gaussmix and gaussmixd (output and input)
These are not MathWorks' functions/objects/methods. I'll assume that they belong to voicebox <http://www.ee.ic.ac.uk/hp/staff...

environ 12 ans il y a | 0

Réponse apportée
How to view the filter coefficients from thebandpass fitler desinged
The following will get you very close: Hd = fdesign.bandpass('N,Fc1,Fc2',40,500,1500,6000); B = design(Hd); Compare ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Manual implementation of filter function without using inbuilt filter function
Hi Stefan, filtfilt() is not as simple as convolving the input signal with the filter impulse response. filftilt() implements...

environ 12 ans il y a | 0

Réponse apportée
How to view the filter coefficients from thebandpass fitler desinged
Hi Stefan, the filter design here uses second-order sections a matrix of quadratic polynomials in z^{-1}. Each row of Hd.sosMatr...

environ 12 ans il y a | 0

Réponse apportée
FT-IR spectral analysis
When you say baseline correction, you'll have to be more specific about what you mean. The magnitude or magnitude-squared of the...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Is any way in Matlab to perform definite integral with conditions in the integration domain?
Using integral() integral(@(x) x.^2+3*x,10,100) integral(@(x) x.^3,100,200) You just integrate your first function fr...

environ 12 ans il y a | 0

Réponse apportée
How to plot sound versus time?
You are defining t to run from 0 to 5 in increments of 1/44100, so it will contain 220501 elements (including 0) Do this: ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to identify the type of the Histogram distribution?
You can use kstest() if you have the Statistics Toolbox: x = 10+randn(1000,1); test_cdf = makedist('normal','m...

environ 12 ans il y a | 0

Réponse apportée
how do i take a 384x32 matrix and make it to a 32x384 matrix?
X = randn(384,32); X = X'; If the elements are complex-valued, then you may want .' or ' --the first does not take the con...

environ 12 ans il y a | 0

Réponse apportée
How to see a part of my FFT plot in magnified size in other window?
You can do something like that with subplot Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*100*t)+randn(size(t)); xdft...

environ 12 ans il y a | 0

Réponse apportée
PDIST does not accept complex data for built-in distances
pdist() does not accept complex-valued data for the distance functions that are not user-defined. You can define your own dis...

environ 12 ans il y a | 0

Réponse apportée
How to see a part of my FFT plot in magnified size in other window?
You can simply use >>zoom on Or you can set your xlim and/or ylim properties appropriately: Fs = 1000; t = 0:1/...

environ 12 ans il y a | 0

Réponse apportée
How to append vector in a for loop
B = []; for ii=1:3 A = randi(10,10); % this is the code to create the 10x10 B = [B ; A]; end

environ 12 ans il y a | 9

| A accepté

Réponse apportée
Generate a random data with fix mean
You don't say the size of your matrix, you just tell us the number of elements. You also do not give us any information about t...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
what does Recursive input signal mean
The basic idea is this: y(n) = x(n)+y(n-1) The output at a "time" n depends on the output at previous times. In the simple...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How can I list which file format version was used for existing .MAT files?
type('matfilename.mat') Or the functional form type matfilename.mat Should give you the MAT file version and platf...

environ 12 ans il y a | 0

Réponse apportée
I'm receiving an error message when I try to run a matlab programme
The program (looks like a MEX file) ShowHideWinTaskbarMex is missing or cannot be found by MATLAB. If that program is on the ...

environ 12 ans il y a | 0

Réponse apportée
how can obtain the period information from wave format heart sound file for calculating BPM?
Based on your data and the sampling rate The main oscillation in this data is around 90 Hz. [Pxx,F] = periodogram(y,[],le...

environ 12 ans il y a | 0

Réponse apportée
What is the meaning of the error " Inner matrix dimensions must agree".
That error comes from multiplying matrices which are not conformable, randn(2,3)*randn(2,3)

environ 12 ans il y a | 1

Charger plus