Respondida
How do you calculate this transfer function?
You can use |1i| for |sqrt(-1)| but mainly you need to set your |w| correctly, right now your step size is |pi/(2*Fs)|. It could...

casi 12 años hace | 0

Respondida
Most populated range of floating point numbers in array
You can just do histc(a,[0 0.4 0.6 1]) if you know for sure you want the interval [0.4 0.6]. Otherwise, you can use |hi...

casi 12 años hace | 0

Respondida
Complex target simulation using phased.RadarTarget
Currently there is no such functionality in Phased Array System Toolbox. However, you can try to build one if you have the data ...

casi 12 años hace | 0

| aceptada

Respondida
equality of an array
Did you try isequal(A(1:45,1:45),B)

casi 12 años hace | 0

| aceptada

Respondida
Concatenate cell array into one string
x = {'a','b',5,[]} x = cellfun(@num2str,x,'UniformOutput',false) sprintf('%s ',x{:})

casi 12 años hace | 2

| aceptada

Respondida
Filter Design from Weighted coefficient.
The impulse response coefficients is your FIR filter.

casi 12 años hace | 0

Respondida
xcorr and time lag
You already have a variable |lags|, you can simply do |lags(idx)|. BTW I didn't see how you compute the lags, but you could get ...

casi 12 años hace | 0

Respondida
Trajectory Display in phase array tool box
It currently doesn't offer any off the shelve solution but as a workaround you can use MATLAB's plotting capability. For example...

casi 12 años hace | 0

Respondida
Matching value to corresponding variable via string name
YO = eval(myvec)

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 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, ...

casi 12 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...

casi 12 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 ...

casi 12 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...

casi 12 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...

casi 12 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...

casi 12 años hace | 0

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

casi 12 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...

casi 12 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...

casi 12 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 ...

casi 12 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...

casi 12 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

casi 12 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...

casi 12 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) ...

casi 12 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)); ...

casi 12 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...

casi 12 años hace | 0

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

casi 12 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...

casi 12 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 ...

casi 12 años hace | 1

| aceptada

Cargar más