Answered
How to write C code generation for ' not available function for standalone generation' ?
Do you need to change your filter over the simulation, if not, then the |coder.extrinsic| approach, as outlined in the error mes...

9 years ago | 2

| accepted

Answered
Map array values relative to another array
Maybe something like this? b2 = reshape(interp1(a(:),b(:),a2(:),'linear','extrap'),size(a2)) HTH

9 years ago | 0

| accepted

Answered
How to use a designed filter to convolve a signal.
You may want to use filtered_signal = filter(Hd,signal); |filter| and |conv| is essentially the same except that |filter...

9 years ago | 1

| accepted

Answered
Matlab to read text fine line by line
Have you tried |fgetl|? <https://www.mathworks.com/help/matlab/ref/fgetl.html> HTH

9 years ago | 0

Answered
Can´t declare strings - Doublequotes are invalid characters
According to release notes, declaring string using double quotes is introduced in R2017a, so you will not be able to use it in R...

9 years ago | 0

| accepted

Answered
create echo radar pulses
The following example may serve as a good starting point. You need Phased Array System Toolbox to run the example. <https://w...

9 years ago | 0

Answered
Phased Array Toolbox: Problem with Free space channel in implementing FSK radar. Phase shift depends only on carrier frequency and not on the base band signal
The FreeSpace channel assumes all signals are at the same frequency, or at least can be considered as in the same frequency. In ...

9 years ago | 0

Answered
Time delay Calculation using FFT-Based Algorithm
You are using |max(z)| in your delay computation. But that gives you the maximum correlation, yet what you want is the location ...

9 years ago | 3

| accepted

Answered
Findpeaks outputs random values for distant targets!!
Haven't got chance to run your model. But what is the wrong value it reports when the target at 299m is not detected? Is it very...

9 years ago | 0

| accepted

Answered
Process Data obtained from Staggered PRF
I'm not sure what you mean by simultaneously processing the data from two different PRFs, but what the example does is to proces...

9 years ago | 0

Answered
Time Delay of Arrival of two acoustic signals from an array using Phased Toolbox
The default frqeuency range for the hydrophone is between 0 and 200 kHz. However, in your example, the carrier is set at 300 kHz...

9 years ago | 0

| accepted

Answered
How to create steering vector for MUSIC algorithm for Time of Arrival
I'm not sure if I follow your algorithm. Do you have a reference? The steering vector in some sense captures the system configur...

9 years ago | 0

Answered
How to plot array beampattern with Frost beamformer weights?
You can consider translating the weights to frequency domain to obtain the appropriate frequency response. Then you can compute ...

9 years ago | 0

| accepted

Answered
Filterdesign of a given magnitude response
The following example might be helpful to you <https://www.mathworks.com/help/dsp/examples/arbitrary-magnitude-filter-design....

9 years ago | 0

| accepted

Answered
I can use “phased.SumDifferenceMonopulseTracker”to create a MonoPulse tracker, but how to plot the Sum or Difference beam?
The SumDifferenceMonopulseTracker only gives out the angle. It does not provide sum and difference result at this point. One way...

9 years ago | 0

| accepted

Answered
Using the 'Radar Waveform Analyzer' in phased array toolbox how do I specify my own phased-coded pulse?
The Radar Waveform Analyzer does not take custom waveform at this point. However, all the analysis can be done using tools in Ph...

9 years ago | 0

| accepted

Answered
Matched Filter for FMCW radar?
In general, matched filter is defined as the conjugated reversed waveform and that definition applies to FMCW waveform too. Howe...

9 years ago | 0

| accepted

Answered
how can i plot axis with origin at a random point other than (0,0) as origin
Here is an example plot(0:9,0:9); set(gca,'XTickLabel',get(gca,'XTick')+98); set(gca,'YTickLabel',get(gca,'YTick')+10...

9 years ago | 0

Answered
Subarray Simulation have different output by using similar method
Conceptually the two approach is equivalent. The discrepancy you see is related to how you generate the custom antenna in your s...

9 years ago | 0

| accepted

Answered
Forming a block diagonal matrix of one certain matrix?
eval(sprintf('Out = blkdiag(A%s);',repmat(',A',1,99))) HTH

9 years ago | 0

Answered
plotting sinuos curve using matlab
looks like it should be polarplot(phi,r) instead of polarplot(r,phi) HTH

9 years ago | 0

Answered
Envelope(signal,np,'peak') error in Matlab R2015b
Do you have another |envelope| function on your path? What does which envelope return? If it does not point to the one u...

9 years ago | 0

Answered
Matrix with binomial permutation
dec2bin(0:2^K-1)-'0'+1 HTH

9 years ago | 2

| accepted

Answered
simpler way to make new matlab function compatible to early version
I believe in a function, MATLAB does some static analysis so it sees flip first as a variable, even though it represents an anon...

9 years ago | 0

Answered
matlab code to generate frequency signal with RF values
I'm not sure what you mean but you can generate a 3000 Hz signal like below f = 3000; N = 1000; % number of samples in ...

9 years ago | 0

Answered
Undefined function or variable 'aviread'. >> aviread('traffic.avi'); Undefined function or variable 'aviread'.
|aviread| is not part of MATLAB installation provided by MathWorks. You can find it in File Exchange. However, if your goal is t...

9 years ago | 1

Answered
how to get only the important bandwidth of a sound
You may want to look into either |powerbw| or |obw| instead <https://www.mathworks.com/help/signal/ref/obw.html> <https://...

9 years ago | 1

| accepted

Answered
Question about utilizing FFT, convolution and LTI systems
The FFT corresponds to the circular convolution rather than the linear convolution. I would do the following N = numel(o_t)...

9 years ago | 0

| accepted

Answered
array average every 30 values
squeeze(mean(reshape(A,30,48,31))) Assuming |A| is the matrix HTH

9 years ago | 0

| accepted

Answered
Is it possible to perform acoustic beamforming with a 2 microphone ULA for real world speech ?
I'm not an expert on microphone arrays but here is how I look at it. The performance of a beamforming algorithm depends on th...

9 years ago | 0

Load more