回答済み
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

12年以上 前 | 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...

12年以上 前 | 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...

12年以上 前 | 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...

12年以上 前 | 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 ...

12年以上 前 | 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...

12年以上 前 | 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)

12年以上 前 | 1

さらに読み込む