Risolto


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

quasi 9 anni fa

Risposto
MONOPULSE SUM and DIFFERENCE Antenna Patterns
Thanks for the feedback, the example could use better description and figure. This being said, the pattern itself is not wro...

quasi 9 anni fa | 0

| accettato

Risposto
how to specity axis using imagesc
You can just do imagesc(linspace(0,1,40),linspace(0,1,200),A) HTH

quasi 9 anni fa | 2

| accettato

Risposto
Anonymous Function Array Output
You are returning two separate outputs, the instruction says "The output should be returned as a 1D array" HTH

quasi 9 anni fa | 1

Risposto
Generating C code from MATLAB functions
Could you share which release are you using? Looks like your script is generated from filterDesigner (or FDAToll)? If you are us...

quasi 9 anni fa | 1

Risolto


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

quasi 9 anni fa

Risposto
fft dim parameter when ndims(x) > 2
If you have a multidimensional array x, say x = ones(3,4,5) then fft(x,[],3) will perform FFT on the dimension ...

quasi 9 anni fa | 0

| accettato

Risposto
Repeat vector n times
Have you tried |repmat|, say n = 2; t_vec = [ion ion ioff ioff ioff]; repmat(t_vec,1,n) HTH

quasi 9 anni fa | 2

| accettato

Risposto
How to avoid error calculation going to infinity when dividing by near-zero values?
There are several ways to handle this, for example, you can add one more line to set all those points to a predefined value ...

quasi 9 anni fa | 0

Risposto
Is there a simple code for matched filter?
You may want to take a look at the following thread <https://www.mathworks.com/matlabcentral/answers/4502-matched-filter> ...

quasi 9 anni fa | 0

Risposto
Rem function yields wrong output.
This is due to the round off error from floating point computation. The following link might be helpful <https://www.mathwork...

quasi 9 anni fa | 2

| accettato

Risposto
Is there a way to extract numerical information on the antenna directivity as opposed to just visualizing it using the pattern command?
Yes, if you want the entire pattern, you can just specify an output, like [D,az,el] = pattern(array,fc,az,el,'Type','direct...

quasi 9 anni fa | 0

| accettato

Risposto
How can we represent phased.waveform mathematically for sweep direction being up ?
The equation can be considered as x = exp(1i*2*pi*beta/2*t^2) where |beta| is |SweepBandwidth/PulseWidth|. HTH

quasi 9 anni fa | 0

Risposto
Filter design toolbox dont have quantization pane
Could you share the result of "ver" command? I think you need to have DSP System Toolbox to access that functionality. HTH

quasi 9 anni fa | 0

Risposto
What is the difference between designfilt and fdesign
Could you share which release you are using? You can find the info by runnig |ver| at the command prompt. HTH

quasi 9 anni fa | 0

Risposto
Beamforming using Frost beamformer
Below is a popular paper about Frost beamformer. It is also the reference used for Frost beamformer shipped in Phased Array Syst...

quasi 9 anni fa | 0

Risposto
How to use GUI to have some input values
How are you writing the GUI? In summary you need to write a callback function for the button so it knows what to do when you pre...

quasi 9 anni fa | 0

Risposto
how to find lomb periodogram in matlab
Have you tried |plomb|? <https://www.mathworks.com/help/signal/ref/plomb.html> HTH

quasi 9 anni fa | 0

| accettato

Risposto
how to get fft of a signal?
The first figure is your signal, which has a DC component. You may want to remove that before running the FFT, like c = fft...

quasi 9 anni fa | 1

Risposto
How can I get the phase of the radiation pattern of a phased array?
Since you want a complex pattern, it will be a field pattern instead of power pattern. I would use ArrayResponse. Here is an exa...

quasi 9 anni fa | 0

Risposto
Direction of arrival estimation of a chirp (noised and attenuated) using Capon (MVDR) beamformer
If you have access to Phased Array System Toolbox, maybe you want to take a look at the following example. It may help you under...

quasi 9 anni fa | 0

Risposto
Undefined function 'pattern' for input arguments of type 'phased.ULA'.
In your release, you will have to use |plotResponse| instead. You should be able to find reference page for this function in the...

quasi 9 anni fa | 0

Risposto
Undefined function or variable 'Tw'
Looks like the issue is more on the |fprintf| line, not the function call. Indeed you are using variable name |Tw| in |fprintf| ...

circa 9 anni fa | 0

Risposto
Split column data into two columns
Could you elaborate what you have as a matrix? If you are using character arrays, it should just be a 5-column matrix to star...

circa 9 anni fa | 0

Risposto
我装完高阶谱的工具箱后每次启动matlab就弹出一个警告,说是INFO.XML不合法,请问这个怎么解决?
高阶谱工具箱是第三方工具箱,根据下面链接中的信息,最后更新是在2003年,所以它的info.xml可能不符合最新的格式。 <https://www.mathworks.com/matlabcentral/fileexchange/3013-hosa-...

circa 9 anni fa | 1

| accettato

Risposto
Convert Matrix to Vector in Simulink
You should be able to use Selector to do it. In your dialog, set Number of input dimensions to 2 set Index mode to one base...

circa 9 anni fa | 0

Risposto
MIMO Multipath for specific array geometry
comm.MIMOChannel does not specify the array geometry directly. Rather it uses correlation matrix to include the array effect. To...

circa 9 anni fa | 0

Risposto
Questions in FMCWExample about plotresponse and Nsweep
When you use a sweep time of 2 ms, as mentioned in the published example <https://www.mathworks.com/help/phased/examples/auto...

circa 9 anni fa | 0

| accettato

Risposto
How to plot loudspeaker frequency response from its impulse response?
Frequency response is the Fourier transform of the impulse response so you should be able to use |freqz| to compute it if you ar...

circa 9 anni fa | 1

Risposto
target angle set up in a radar simulation without phase shifter
You should use |tgtang|. Note that what you do here is to synthesize the data. Therefore, even though the radar is not steering,...

circa 9 anni fa | 0

| accettato

Carica altro