답변 있음
How can I define my own colororder for a bodeplot?
You can define your own colormap using colormapeditor http://www.mathworks.com/help/matlab/ref/colormapeditor.html

11년 초과 전 | 0

답변 있음
Delete specific rows from a matrix
A(any(A==1,2),:) = []

11년 초과 전 | 0

답변 있음
how to do this?
10,000 samples are not very long, most computer should be able to handle it, you can use |pwelch| function directly to do this, ...

11년 초과 전 | 0

답변 있음
Plot 3D Array Gain of 4x4 Planar Antenna Pattern + Weighting
If you mean directivity, you could do the following to generate the 3D plot f=3e9; c=3e8; lambda=c/f; ura = phased...

11년 초과 전 | 0

답변 있음
cross correlation plot- symmetry about y axis
You have a cosine signal with multiple periods. So when you move back and forth for a period, you get another match. Guaranteed ...

11년 초과 전 | 0

| 수락됨

답변 있음
Integrate function that calls a function
What is the dimensions of |value| and |prob|? What are the operation you want to do? If the function is vector valued, |inte...

11년 초과 전 | 1

답변 있음
Trying to verify FFT code for research. Verification isn't working however.
I couldn't find the pictures but my guess is very likely you are off by the magnitude of |dt| because you are comparing a discre...

11년 초과 전 | 0

답변 있음
How can we simulate the radiation pattern of an antenna element when it is frequency dependent?
You can specify a vector in |freqVector| and a 3D array in |RadiationPattern| with each page specifying a radiation pattern corr...

11년 초과 전 | 0

답변 있음
how to include Figure color in my code?
set(gcf,'Color','w')

11년 초과 전 | 0

| 수락됨

답변 있음
Difference in the output of butterworth and chebyshev fitlers
Are you trying to compare Chebyshev and Butterworth filter? if so, the following URL could be helpful. http://www.dspguide.co...

11년 초과 전 | 1

답변 있음
Error with freqz plot
If I remember correctly you have an older version of MATLAB which does not support this syntax. You could try the following inst...

11년 초과 전 | 0

답변 있음
Error when trying to use dsp.LMfilter
You release don't have this newer feature. If you have access to Filter Design Toolbox and would like to use an LMS filter, you ...

11년 초과 전 | 0

답변 있음
how can i design the FIR Filters using window function in MATLAB ;without using inbuilt functions.
You will first know what kind of filters you want, things like cutoff frequencies, ripples, stop band attenuations. Based on the...

11년 초과 전 | 1

답변 있음
Very simple question about strings
I think this utility can help http://www.mathworks.com/matlabcentral/fileexchange/10959-sort-nat--natural-order-sort

11년 초과 전 | 0

답변 있음
Directivity did not match our expectation
Hi Ralph, In this example you are using an isotropic antenna element. So even though in this cut the beam is more focused, it...

11년 초과 전 | 0

| 수락됨

답변 있음
use filtfilt with error of Not enough input arguments
You can do the following: bp521Coeff = coeffs(bp521); filtfilt(bp521Coeff.Numerator,bp521Coeff.Denominator,SIGNAL) ...

11년 초과 전 | 0

답변 있음
Quick Question Regarding Vectors!!
You can do as following, did you try this and it didn't serve your needs? figure; plot(x(:,1)); figure; plot(x(:,2)); ...

11년 초과 전 | 0

| 수락됨

답변 있음
Range Doppler Response has a linear bias
Hi Ramesh, Is it possible for you to provide a little more details? Like what are the fs and fc? What are the position and ve...

거의 12년 전 | 0

답변 있음
Can't get the same Y-Axis for every Subplot
Did you try |linkaxes|? Does that solve your problem?

거의 12년 전 | 0

| 수락됨

답변 있음
filtering in frequency domain
Your question is incomplete. You also need to know the sampling rate of the signal. Once you have the sampling rate, together wi...

거의 12년 전 | 0

| 수락됨

답변 있음
Matlab Function block: how to output the result in different instants of time
The MATLAB Function block is called once at each time instance so to do what you want, you need to have a state that updates at ...

거의 12년 전 | 1

| 수락됨

답변 있음
about the amplitude of spectrum by fft
why do you say for sin(2*pi*t) the polarity is reversed? The theoretical equation has 1/(2*1i) as the scaling factor, so the res...

거의 12년 전 | 1

| 수락됨

답변 있음
Pwelch and accuracy/number of points
If you only need to get more points in pwelch plot, I think increasing the number of FFT points in |pwelch| should do the trick....

거의 12년 전 | 0

| 수락됨

답변 있음
Can filter function be replace by a fft/ifft operation?
I don't understand your approach of fft/ifft to filter the signal, so I cannot comment on that. But between |filter| and fft/iff...

거의 12년 전 | 0

답변 있음
Error using diff(X) command
You probably have a workspace variable named |diff|

거의 12년 전 | 6

| 수락됨

답변 있음
What are the frequencies when N in fft(x,N) is odd?
In general, you can do it as f = (0:N-1)*fs/N If you want to map it to negative frequencies if N is even f(N/2+1...

거의 12년 전 | 4

| 수락됨

답변 있음
Vectorized or Optimized Finite Low Pass Filter
If your signal is uniformly spaced, and if I understand correctly, your alpha can be pre-determined, then this can be done via ...

거의 12년 전 | 0

| 수락됨

답변 있음
How to build a filter from frequency response
You can use |fdesign.arbmag| to do this. The reference page has several examples. http://www.mathworks.com/help/signal/ref/fd...

거의 12년 전 | 0

답변 있음
How to process audio signal in realtime?
There is an example in the following page that can get you started http://www.mathworks.com/help/matlab/ref/audiorecorder.htm...

거의 12년 전 | 0

답변 있음
Why fft spectrum amplitude of signal changes?
I'm not quite sure what you try to achieve here, but you use |downsample| then |upsample|. Note that |upsample| merely insert N-...

거의 12년 전 | 1

더 보기