답변 있음
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 ...

12년 초과 전 | 0

답변 있음
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 ...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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'}; ...

12년 초과 전 | 0

답변 있음
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.*...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 7

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 3

| 수락됨

답변 있음
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...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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 ...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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: ...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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/...

12년 초과 전 | 0

답변 있음
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

거의 13년 전 | 9

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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)

거의 13년 전 | 1

더 보기