답변 있음
How to find water vapour density for gaspl
That could be a measurement value you obtain from, say, observatory or historical measurement data? For example, in ITU standard...

8년 초과 전 | 0

답변 있음
how to save work space command in script file
You can try the |diary| function <https://www.mathworks.com/help/matlab/ref/diary.html> Alternatively you can copy and pas...

8년 초과 전 | 0

| 수락됨

답변 있음
3d plot peaks
You can do something like this c = 1:200; f = 1:300; % replace with your freq a = filter2(...

8년 초과 전 | 0

답변 있음
Split array into cell arrays of different size
To do what you want, you can use the following lines, which is a slightly modified version of yours. Bi = find(B==1) ...

8년 초과 전 | 0

| 수락됨

답변 있음
Why does hilbert tranformer give a phase-shifted but amplitude-reduced signal?
The phase shift is expected so I assume you are talking about the amplitude? This is because the filter is not ideal. If you do ...

8년 초과 전 | 1

| 수락됨

답변 있음
How to change the phase center of a subarray in phased array antenna
Currently the phase center of a subarray cannot be changed. Could you share your use case regarding why you want to change it? A...

8년 초과 전 | 0

| 수락됨

답변 있음
Why is the result of the step signal convoluted with the impulse response of a lowpass filter not equal to the stepresponse of the lowpass filter?
You are mixing continuous and discrete in your model. For example, your impulse is discrete, your convolution is discrete, but y...

8년 초과 전 | 0

답변 있음
Maximum size of output not bounded in matlab function block for linspace error
You said the value |n| is from a constant block, so do you ever need to change it? If the answer is no, then you can consider ha...

8년 초과 전 | 0

| 수락됨

답변 있음
What is the benefit to supply the gradient for function minimization?
I'm not an expert on this, but I believe that if you don't provide the gradient function, then it has to be numerically estimate...

8년 초과 전 | 0

| 수락됨

답변 있음
How to extract the constant phase of a sine wave?
Do you know omega? If so, you can do something like this fc = 10; omega = 2*pi; t = (0:9)/10; p = pi/2; x = sin...

8년 초과 전 | 1

답변 있음
Beamforming performance depends on the frame size?
The Frost beamformer has an FIR filter whose coefficients are derived using sample matrix inversion (SMI) so the frame size is r...

8년 초과 전 | 0

답변 있음
Where I can find helperCalculateCouplingMatrix.m function ?
It's a helper function for the example. If you open this example in MATLAB, there should be a button you can click to open the e...

8년 초과 전 | 0

답변 있음
Phased array Channel problems with user fed position and velocity data.
Is it possible to share some of these parameters, like the position, velocity, and acceleration, as well as the prf and the samp...

8년 초과 전 | 0

답변 있음
Error occured when I try to use matched filter function for my signal
This means that you can not put two phased.MatchedFilter in an array. For example f1 = phased.MatchedFilter; f2 = phased...

8년 초과 전 | 0

답변 있음
Compute double sum or double integral throug sum
If the ultimate goal is to compute the integral, you can consider using |integral2| <https://www.mathworks.com/help/matlab/re...

8년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

8년 초과 전

문제를 풀었습니다


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

8년 초과 전

문제를 풀었습니다


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

8년 초과 전

문제를 풀었습니다


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

8년 초과 전

문제를 풀었습니다


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

답변 있음
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...

8년 초과 전 | 0

| 수락됨

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

8년 초과 전 | 2

| 수락됨

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

8년 초과 전 | 1

답변 있음
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...

8년 초과 전 | 1

문제를 풀었습니다


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

8년 초과 전

답변 있음
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 ...

8년 초과 전 | 0

| 수락됨

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

8년 초과 전 | 2

| 수락됨

답변 있음
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 ...

8년 초과 전 | 0

답변 있음
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> ...

8년 초과 전 | 0

더 보기