답변 있음
human voice frequency between 200h to 3200h
Let's say the passband is between 200 and 3200 Hz and the stop band is 100 and 3300 Hz, you can use a Butterworth filter Ws...

13년 초과 전 | 0

| 수락됨

답변 있음
i want to filter a frequeny... ?
There are several issues in your code # your sample rate is 100Hz, not 1000Hz as you claimed # you specified a filter order ...

13년 초과 전 | 1

답변 있음
fprintf command issue. tricky columns.
The trick is |[a;b]|, like this fprintf('Variables A : %.f | Variables B : %.f\n',[a;b]);

13년 초과 전 | 4

| 수락됨

답변 있음
FFT of Cosine wave in Matlab
Hi Sufyan, First of all, please delete the duplicate posts so people can contribute at the same place. The power spectrum...

13년 초과 전 | 1

답변 있음
sum every 24 rows in a vector
Not sure what your end format is, but the following code adds every 24 rows and retain all the results in one column reshap...

13년 초과 전 | 0

답변 있음
FFT based adaptive MVDR beamforming
Looks like you are doing subband MVDR. It should be the frequency for each corresponding band.

13년 초과 전 | 0

답변 있음
How to use Window functions?
Applying Fourier transform directly in one domain generates a first sidelobe at -13dB in the transformed domain. In a lot of app...

13년 초과 전 | 1

답변 있음
How can I change the displayed format of exponentials in an axis tick label?
Instead of using sprintf('%1.0e |',n) use sprintf('10^%d |',log10(n))

13년 초과 전 | 0

답변 있음
how can i calculate -3dB of given picture?
You could do 3dB in U and V direction separately along 2D cut.

13년 초과 전 | 0

답변 있음
How can I extract column vectors from matrix (with large number of columns) ?
Here is a simple example. Not sure if it's exactly what you want, but it may get you started x = magic(3) y = mat2cell...

13년 초과 전 | 0

답변 있음
How to compute the value in one point through the transferfunction?
I think the following is what you mean. s = tf('s') H = s/(s^2+2*s+10) evalfr(H,1+1i)

13년 초과 전 | 3

| 수락됨

답변 있음
Experiences with release 2012b
The two features I like the most in the new interface 1. From Editor tab, Run and Time button. 2. The entire Publish tab, ...

13년 초과 전 | 1

답변 있음
Arrange (array of 9 numbers) in ascending order. (no sort)
You can do B = unique(A) But seriously, are you trying to implement a sort algorithm in MATLAB? If so, there are many a...

13년 초과 전 | 1

답변 있음
quick syntax question for saving run time
ind = sub2ind(sz,repmat((1:sz(1))',1,sz(2)),repmat(1:sz(2),sz(1),1),... matrixWhereItOccurs); accum_arr(ind(:)) =...

13년 초과 전 | 0

답변 있음
calculating the integration, arrayfun problem???
First of all, like @Azzi mentioned in the comment, your |y| is unused. It's not clear what you want to do, but exp(((si...

13년 초과 전 | 0

답변 있음
fzero help
The anwser is in the comments above From Matt Fig rt = 0; d = .1; cnt = 1; while rt<.1 rt = fzero(y,rt+d...

13년 초과 전 | 0

| 수락됨

답변 있음
array: concatenate two columns of integers to one colum
a = randi([1 100],[5 4]) % a 5x4 integer matrix b = cellfun(@num2str,{a(:,2:3)},'UniformOutput',false) c = cellfun(...

13년 초과 전 | 0

| 수락됨

답변 있음
Inability to clear object definition - nonfunctional "clear classes"
This normally means your class is still referenced somewhere. The following link may be helpful (the second half directly talks ...

13년 초과 전 | 0

답변 있음
How can i can convert A matrix to the type i want
Here is another one A.*~eye(size(A))

13년 초과 전 | 1

답변 있음
How can i can convert A matrix to the type i want
A(1:size(A,1)+1:end) = 0

13년 초과 전 | 1

| 수락됨

답변 있음
How is the Phased Array Partitioning Model supposed to be used?
Hi Michael, Since you have a phase shifter behind each element, there is really no need to go through ParitionedArray. Instea...

13년 초과 전 | 0

| 수락됨

답변 있음
How to design a bistatic radar system?
Hi Liangjun, You are right that the reflection direction will be different for a bistatic system compared to a monostatic sys...

13년 초과 전 | 0

| 수락됨

답변 있음
To generate a random signal with the given PSD
Normally this is done by generating a filter according to the given PSD and then pass a white noise through the filter.

13년 초과 전 | 1

| 수락됨

답변 있음
What is the relation between DFT and PSD of a signal
It can be shown that PSD can alternatively be estimated by the square of magnitude of FFT. You should be able to find it in most...

13년 초과 전 | 2

| 수락됨

답변 있음
how to switch the value of a boolean.
b = ~a; c = ~b; or if you are looking for the functional form b = not(a); c = not(b);

13년 초과 전 | 1

| 수락됨

답변 있음
how to generate white Gaussian noise
You can use |imnoise| from Image Processing Toolbox http://www.mathworks.com/help/toolbox/images/ref/imnoise.html

13년 초과 전 | 0

답변 있음
How can I make this following matrix
A = [1 2 3 4;3 2 1 4] B{1} = [1 1 1;1 1 1]; B{2} = [2 2 2;2 2 2]; B{3} = [3 3 3;4 4 4]; B{4} = [4 4 4;3 3 3]; C...

13년 초과 전 | 0

| 수락됨

답변 있음
How can make code to present this following case?
A = [1 2 3 4;3 2 1 4] B{1} = [1 1 1;1 1 1]; B{2} = [2 2 2;2 2 2]; B{3} = [3 3 3;4 4 4]; B{4} = [4 4 4;3 3 3]; R...

13년 초과 전 | 0

| 수락됨

답변 있음
Can i use real measurements as an group delay input in the fdesign.arbgrpdelay?How can i simulate,a filter through its group delay?
It looks like you didn't specify the weights in your code after 'Weights' parameter, try Hgd = design(hgd,'iirlpnorm','Weig...

13년 초과 전 | 0

답변 있음
FFT filter problemnot consistent responce (fdesign.arbgrpdelay)
Hi George, You designed an arbitrary group delay filter, so there is no frequency content change. What it does is to delay di...

13년 초과 전 | 0

더 보기