Answered
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 years ago | 0

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

11 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

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

11 years ago | 0

| accepted

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

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

11 years ago | 0

Answered
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 years ago | 0

| accepted

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

11 years ago | 0

Answered
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 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 1

| accepted

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

11 years ago | 1

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 6

| accepted

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

11 years ago | 4

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 1

Load more