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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 7

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 3

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

Risposto
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

circa 12 anni fa | 9

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 1

Carica altro