I am an Application Support Engineer at MathWorks in the Engineering Development Group.

My areas of interest are Signal Processing, Wireless and Satellite Communications, Radar Signal Processing and Image Processing.

DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks.

Answered

Loss stops calculating with custom layer (weighted cross entropy function)

Whenever the loss value is either “NaN” or “Inf”, the value is not plotted on the curve. On similar lines, the accuracy is near ...

Loss stops calculating with custom layer (weighted cross entropy function)

Whenever the loss value is either “NaN” or “Inf”, the value is not plotted on the curve. On similar lines, the accuracy is near ...

19 days ago | 0

| accepted

Answered

Classifying ECG into separate segments

As I understand it, each type of wave has a specific frequency characteristic. Based on this, bandpass filters can be designed t...

Classifying ECG into separate segments

As I understand it, each type of wave has a specific frequency characteristic. Based on this, bandpass filters can be designed t...

20 days ago | 0

Answered

Time-frequency spectral coherence analysis (desperate need of help)

As has already been suggested by Daniel, the mscohere function can be used. If you are using a custom window, generate the vecto...

Time-frequency spectral coherence analysis (desperate need of help)

As has already been suggested by Daniel, the mscohere function can be used. If you are using a custom window, generate the vecto...

20 days ago | 0

Answered

How do I plot a constant value over multiple different intervals ?

To plot an overlapping line onto the figure, an x-axis vector would need to be specified and provided to the “plot” function alo...

How do I plot a constant value over multiple different intervals ?

To plot an overlapping line onto the figure, an x-axis vector would need to be specified and provided to the “plot” function alo...

20 days ago | 0

Answered

Help with echo effect to audio signal code?

The Audio Toolbox has an Echo object that could cater to your needs. Create the object using the following code: echoObject = a...

Help with echo effect to audio signal code?

The Audio Toolbox has an Echo object that could cater to your needs. Create the object using the following code: echoObject = a...

21 days ago | 0

Answered

designAuditoryFilterBank - Error "Undefined function or variable"

The designAuditoryFilterBank function is available from the MATLAB R2019B release version. If you are using an older version, th...

designAuditoryFilterBank - Error "Undefined function or variable"

The designAuditoryFilterBank function is available from the MATLAB R2019B release version. If you are using an older version, th...

21 days ago | 0

| accepted

Answered

Frequency spectrum of a sound signal

Using a test sound file of my own, I was able to generate the plots attached. The function “audioread” works if the suffix of th...

Frequency spectrum of a sound signal

Using a test sound file of my own, I was able to generate the plots attached. The function “audioread” works if the suffix of th...

21 days ago | 0

Answered

BER depends on TotalFrame count in QPSK Transmitter and Receiver example

The variability is due to timing synchronization and carrier frequency offset (CFO). Timing synchronization becomes much difficu...

BER depends on TotalFrame count in QPSK Transmitter and Receiver example

The variability is due to timing synchronization and carrier frequency offset (CFO). Timing synchronization becomes much difficu...

21 days ago | 1

Answered

Collection of all the signals by Phased.collector

Yes, the “collector” can be used for all the signals from angles by specifying the second input argument as shown as shown here....

Collection of all the signals by Phased.collector

Yes, the “collector” can be used for all the signals from angles by specifying the second input argument as shown as shown here....

22 days ago | 0

| accepted

Answered

Remove unwanted narrowband interference

Increasing the order of the Butterworth filter could help improve the response. Alternatively, the buttord function can be used ...

Remove unwanted narrowband interference

Increasing the order of the Butterworth filter could help improve the response. Alternatively, the buttord function can be used ...

22 days ago | 0

Answered

Plotting a matrix / Plotear una matriz

I am assuming you are trying to have multiple axes on a single figure window, where a few of the subplots will be used to plot m...

Plotting a matrix / Plotear una matriz

I am assuming you are trying to have multiple axes on a single figure window, where a few of the subplots will be used to plot m...

23 days ago | 1

| accepted

Answered

append cell array #2 to cell array #1 to get a final cell array of cells

The operations carried out by either: C = [A B]; C = horzcat(A,B); C = cat(2,A,B); Should work for your requirement. There i...

append cell array #2 to cell array #1 to get a final cell array of cells

The operations carried out by either: C = [A B]; C = horzcat(A,B); C = cat(2,A,B); Should work for your requirement. There i...

23 days ago | 0

| accepted

Answered

Normalize/scale in range

The code below can help perform matrix normalization where you have to specify the appropriate -1, 0 and 1 values in variables "...

Normalize/scale in range

The code below can help perform matrix normalization where you have to specify the appropriate -1, 0 and 1 values in variables "...

23 days ago | 0

| accepted

Answered

How to set the FIR filter specifications?

You can use the Filter Designer app to get started on the Filter design. You can select the FIR filter option, specify order or ...

How to set the FIR filter specifications?

You can use the Filter Designer app to get started on the Filter design. You can select the FIR filter option, specify order or ...

23 days ago | 0

| accepted

Answered

Matlab and USB2.0 Protocol data aquisition

To read data from a USB, you can use the serial port object to initialize communication between device and MATLAB, followed by u...

Matlab and USB2.0 Protocol data aquisition

To read data from a USB, you can use the serial port object to initialize communication between device and MATLAB, followed by u...

3 months ago | 0

Answered

Help needed for Plotting Confusion Matrix as given in the sample image

I have brought this issue to the notice of our developers. They will investigate the matter further. For the time being, you co...

Help needed for Plotting Confusion Matrix as given in the sample image

I have brought this issue to the notice of our developers. They will investigate the matter further. For the time being, you co...

3 months ago | 0

| accepted

Answered

単相誘導機の特性曲線フィッティング

You can use the Curve Fitting app documentation to get started. Hope it helps!

単相誘導機の特性曲線フィッティング

You can use the Curve Fitting app documentation to get started. Hope it helps!

3 months ago | 0

| accepted

Answered

how can i filter my signal if the fft looks like this?

For plotting the FFT output, the x-axis must be defined in a vector. Ideally this vector is defined as follows: x = (0: 1/nFFT ...

how can i filter my signal if the fft looks like this?

For plotting the FFT output, the x-axis must be defined in a vector. Ideally this vector is defined as follows: x = (0: 1/nFFT ...

3 months ago | 0

| accepted

Answered

QPSK modulator and demodulator

To perform QPSK modulation and demodulation, you can use the “pskmod” and “pskdemod” functions by setting the order of modulatio...

QPSK modulator and demodulator

To perform QPSK modulation and demodulation, you can use the “pskmod” and “pskdemod” functions by setting the order of modulatio...

3 months ago | 0

Answered

How to hold previous selection in masked block

The solution to this problem has been addressed in this thread. Hope this helps!

How to hold previous selection in masked block

The solution to this problem has been addressed in this thread. Hope this helps!

3 months ago | 0

Answered

Plot BER & SNR of LTE

To obtain the BER values for a LTE channel, refer to the example elaborated upon here. Click on “Try it in MATLAB” to get the M-...

Plot BER & SNR of LTE

To obtain the BER values for a LTE channel, refer to the example elaborated upon here. Click on “Try it in MATLAB” to get the M-...

3 months ago | 0

| accepted

Answered

Examples of matlab2016

You can find the documentation of previous MATLAB releases in the Archived MathWorks Documentation here. Hope this helps!

Examples of matlab2016

You can find the documentation of previous MATLAB releases in the Archived MathWorks Documentation here. Hope this helps!

3 months ago | 0

| accepted

Answered

Syntax error in Simulink Fcn

Make sure the variables “c1”, “c2”, “u”, “c3”, “cw”, “A” and “rho” are defined in the MATLAB workspace or in one of the callback...

Syntax error in Simulink Fcn

Make sure the variables “c1”, “c2”, “u”, “c3”, “cw”, “A” and “rho” are defined in the MATLAB workspace or in one of the callback...

3 months ago | 0

Answered

Analysing the results of a fullfactorial experiment

A possible workflow for this could be to normalize each of the factor values using the “normalize” function elaborated here. Se...

Analysing the results of a fullfactorial experiment

A possible workflow for this could be to normalize each of the factor values using the “normalize” function elaborated here. Se...

3 months ago | 0

Answered

Fine Tuning Kalman Filter Using Simulink Design Optimization

A similar query regarding the Q and R matrices’ optimization was addressed and elaborated upon here. It is important to model th...

Fine Tuning Kalman Filter Using Simulink Design Optimization

A similar query regarding the Q and R matrices’ optimization was addressed and elaborated upon here. It is important to model th...

3 months ago | 0

Answered

I am trying to use the frequency offset calibration for receivers code available in MATLAB to process a set of IQ data I received from a spectrum analyzer. I tried running the code but I am experiencing difficulty with the pilot tone expected.

Given that MATLAB carries out Baseband Processing, based on the Bluetooth Standard, the Bandwidth could be 1MHz in the case of B...

I am trying to use the frequency offset calibration for receivers code available in MATLAB to process a set of IQ data I received from a spectrum analyzer. I tried running the code but I am experiencing difficulty with the pilot tone expected.

Given that MATLAB carries out Baseband Processing, based on the Bluetooth Standard, the Bandwidth could be 1MHz in the case of B...

3 months ago | 0

Answered

Using bisection to determine unknown parameter

The results of function_Q2(a) and function_Q2(b) are negative, therefore no root exists within the interval [a,b]. The “if” cond...

Using bisection to determine unknown parameter

The results of function_Q2(a) and function_Q2(b) are negative, therefore no root exists within the interval [a,b]. The “if” cond...

3 months ago | 0

Answered

Filtering of frame by frame IQ data from SDR

To filter the frame-based samples, you can use the “filter” function with a “filter” object as shown here. By appropriately assi...

Filtering of frame by frame IQ data from SDR

To filter the frame-based samples, you can use the “filter” function with a “filter” object as shown here. By appropriately assi...

3 months ago | 0

| accepted

Answered

how to impliment pseudo random binary singal in simulink ?

A general way to generate a random binary signal would be to use the “Random Number” block that has been elaborated here, follow...

how to impliment pseudo random binary singal in simulink ?

A general way to generate a random binary signal would be to use the “Random Number” block that has been elaborated here, follow...

3 months ago | 0

Answered

FFT analysis through powergui block is showing empty in signal options.

Hi, Given that I have been unable to reproduce this issue, a possible workaround I have identified would be to connect the outp...

FFT analysis through powergui block is showing empty in signal options.

Hi, Given that I have been unable to reproduce this issue, a possible workaround I have identified would be to connect the outp...

4 months ago | 0