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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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'}; ...

meer dan 10 jaar ago | 0

Answered
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.*...

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 7

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 3

| accepted

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

Answered
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: ...

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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/...

meer dan 10 jaar ago | 0

Answered
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

meer dan 10 jaar ago | 9

| accepted

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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)

meer dan 10 jaar ago | 1

Load more