Respondida
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

más de 11 años hace | 0

Respondida
Delete specific rows from a matrix
A(any(A==1,2),:) = []

más de 11 años hace | 0

Respondida
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, ...

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 0

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

más de 11 años hace | 0

Respondida
how to include Figure color in my code?
set(gcf,'Color','w')

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

Respondida
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)); ...

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

Respondida
Error using diff(X) command
You probably have a workspace variable named |diff|

más de 11 años hace | 6

| aceptada

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

más de 11 años hace | 4

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 1

Cargar más