Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
equality of an array
Did you try isequal(A(1:45,1:45),B)

presque 12 ans il y a | 0

| A accepté

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

presque 12 ans il y a | 2

| A accepté

Réponse apportée
Filter Design from Weighted coefficient.
The impulse response coefficients is your FIR filter.

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
Matching value to corresponding variable via string name
YO = eval(myvec)

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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

presque 12 ans il y a | 0

Réponse apportée
Delete specific rows from a matrix
A(any(A==1,2),:) = []

presque 12 ans il y a | 0

Réponse apportée
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, ...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 1

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
how to include Figure color in my code?
set(gcf,'Color','w')

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 1

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 1

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

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

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

presque 12 ans il y a | 0

Réponse apportée
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)); ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
Can't get the same Y-Axis for every Subplot
Did you try |linkaxes|? Does that solve your problem?

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 12 ans il y a | 1

| A accepté

Charger plus