I am an Software Engineer at MathWorks.

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

Design IIR filter from absorption data

The fvtool could be what you are looking for. It will allow you to do the necessary visualizations. Hope this helps!

Design IIR filter from absorption data

The fvtool could be what you are looking for. It will allow you to do the necessary visualizations. Hope this helps!

1 year ago | 0

Answered

Trying to classify images with a CNN but getting errors

The variable ‘net’ already has the information regarding the layers. The function’s third input is expected to a numeric index o...

Trying to classify images with a CNN but getting errors

The variable ‘net’ already has the information regarding the layers. The function’s third input is expected to a numeric index o...

1 year ago | 1

| accepted

Answered

BCH decoding algorithm in comm.BCHDecoder

The Bibliography and Algorithm sections in the documentation for comm.BCHDecoder object could provide more details. Hope this h...

BCH decoding algorithm in comm.BCHDecoder

The Bibliography and Algorithm sections in the documentation for comm.BCHDecoder object could provide more details. Hope this h...

1 year ago | 0

Answered

Error when Using Crank-Nicolson method to solve Schrodinger Equation

The variables being initialized in this section of code: psi = zeros(nt, nx); psire = zeros (nt, nx); psiim = zeros (nt, nx...

Error when Using Crank-Nicolson method to solve Schrodinger Equation

The variables being initialized in this section of code: psi = zeros(nt, nx); psire = zeros (nt, nx); psiim = zeros (nt, nx...

1 year ago | 0

Answered

I have 2 different signals on a Amp(dB) vs (Hz) obtained after fft of exp data.These signals are over the same freq range but have different amplitude values. How can i calculate the attenuation of one signal as compared to the other?

Assuming the data is in a vector, you can use the findpeaks function to find the required peaks and their array indices. Given t...

I have 2 different signals on a Amp(dB) vs (Hz) obtained after fft of exp data.These signals are over the same freq range but have different amplitude values. How can i calculate the attenuation of one signal as compared to the other?

Assuming the data is in a vector, you can use the findpeaks function to find the required peaks and their array indices. Given t...

1 year ago | 0

Answered

Matlab Function In Simulink

This problem can be attributed to readtable not supporting code generation. The MATLAB Function Block first generates code for t...

Matlab Function In Simulink

This problem can be attributed to readtable not supporting code generation. The MATLAB Function Block first generates code for t...

1 year ago | 0

Answered

Undefined variable or function 'f'

The variable ‘f’ needs to be passed as an input argument in the function call. As has been mentioned, each function has its own ...

Undefined variable or function 'f'

The variable ‘f’ needs to be passed as an input argument in the function call. As has been mentioned, each function has its own ...

1 year ago | 0

Answered

Butterworth notch filter numerical errors

Hi, I believe your filter is behaving as expected. You could increase the stop band attenuation further if you want to reduce t...

Butterworth notch filter numerical errors

Hi, I believe your filter is behaving as expected. You could increase the stop band attenuation further if you want to reduce t...

1 year ago | 0

Answered

Spline question,more then 1 samplerate

This could be due to the digital representation of the ‘upSamp’ values. These values are recurring decimals, but due to the digi...

Spline question,more then 1 samplerate

This could be due to the digital representation of the ‘upSamp’ values. These values are recurring decimals, but due to the digi...

1 year ago | 1

Answered

Chirp as test gradient for MRI gradient system characterization

A similar question has been addressed here. Modifying the ‘f1’ and ‘f2’ values, and changing the sample rate to accommodate the ...

Chirp as test gradient for MRI gradient system characterization

A similar question has been addressed here. Modifying the ‘f1’ and ‘f2’ values, and changing the sample rate to accommodate the ...

1 year ago | 0

Answered

Filtering certain frequencies from EEG signal

You could try to increase the filter order or vary the passband ripple values to see if there is an improvement in the result. ...

Filtering certain frequencies from EEG signal

You could try to increase the filter order or vary the passband ripple values to see if there is an improvement in the result. ...

1 year ago | 0

Answered

How to use usb bluetooth adapter?

The block in Simulink is probably trying to access the minidrone using Bluetooth, as opposed to using the USB adapter. Initial t...

How to use usb bluetooth adapter?

The block in Simulink is probably trying to access the minidrone using Bluetooth, as opposed to using the USB adapter. Initial t...

1 year ago | 0

Answered

Can "audioread" read mp3 file correctly?

The variation could be due to the limitation highlighted here. There are instances when the software and hardware specifications...

Can "audioread" read mp3 file correctly?

The variation could be due to the limitation highlighted here. There are instances when the software and hardware specifications...

1 year ago | 0

Answered

How awgn add white noise on complex envolope signal

awgn(RX,SNR,'measured') adds noise to each sample of RX. If RX is a real vector, only the real component has noise added to it. ...

How awgn add white noise on complex envolope signal

awgn(RX,SNR,'measured') adds noise to each sample of RX. If RX is a real vector, only the real component has noise added to it. ...

1 year ago | 0

Answered

Downsampled frequency or original sampling frequency for signal filtering?

You can use the downsampled frequency for design of the required filter. You can look into the Filter Designer App for designin...

Downsampled frequency or original sampling frequency for signal filtering?

You can use the downsampled frequency for design of the required filter. You can look into the Filter Designer App for designin...

1 year ago | 0

| accepted

Answered

CA code for GPS PRN-1

You can use the comm.PNSequence object to generate the gold code for both generators. For the second generator, you will have to...

CA code for GPS PRN-1

You can use the comm.PNSequence object to generate the gold code for both generators. For the second generator, you will have to...

1 year ago | 0

| accepted

Answered

dsp.SpectrumAnalyzer in Frequency Doimain for Intermodulation Measurements

I have brought this issue to the notice of our developers. They will investigate the matter further.

dsp.SpectrumAnalyzer in Frequency Doimain for Intermodulation Measurements

I have brought this issue to the notice of our developers. They will investigate the matter further.

1 year ago | 0

Answered

create a matrix of elevations of some defined area

The Read Elevation Data Interactively documentation can help you get started on creating elevation maps. Using the appropriate r...

create a matrix of elevations of some defined area

The Read Elevation Data Interactively documentation can help you get started on creating elevation maps. Using the appropriate r...

1 year ago | 0

Answered

Reshape mean vector to 2D mean face image in matlab?

You can use the reshape function to change the vector into a 2-Dimensional array. Following this, you can use the imagesc functi...

Reshape mean vector to 2D mean face image in matlab?

You can use the reshape function to change the vector into a 2-Dimensional array. Following this, you can use the imagesc functi...

1 year ago | 0

Answered

DOA estimation real time

A similar problem has been addressed here. The example provided would need few modifications to accommodate sound waves, instead...

DOA estimation real time

A similar problem has been addressed here. The example provided would need few modifications to accommodate sound waves, instead...

1 year ago | 0

Answered

Out of Memory on classify(...,'ExecutionEnvironment','cpu') on SUSE Linux

This response is just for future reference: Modifying the Name-Value pair, ‘MiniBatchSize’, to a lower value can help with this...

Out of Memory on classify(...,'ExecutionEnvironment','cpu') on SUSE Linux

This response is just for future reference: Modifying the Name-Value pair, ‘MiniBatchSize’, to a lower value can help with this...

1 year ago | 0

| accepted

Answered

How do I know the baseband (BB) from FFT?

If you have the frequency-domain samples, you can use the ifft function to get the time-domain samples. Following this, use the ...

How do I know the baseband (BB) from FFT?

If you have the frequency-domain samples, you can use the ifft function to get the time-domain samples. Following this, use the ...

1 year ago | 0

| accepted

Answered

Continuos Wavelet Transform representation

Yes, that is what we would expect. A factor that can affect this is the stopband attenuation of the filter in question. The larg...

Continuos Wavelet Transform representation

Yes, that is what we would expect. A factor that can affect this is the stopband attenuation of the filter in question. The larg...

1 year ago | 1

| accepted

Answered

How can I detect notes using a spectrogram?

You can assign a variable to spectrogram to extract the values. Then use the findpeaks function on each column of the output of ...

How can I detect notes using a spectrogram?

You can assign a variable to spectrogram to extract the values. Then use the findpeaks function on each column of the output of ...

1 year ago | 0

Answered

5G Dynamic time division duplex on Matlab?

For the transmitting end, the 5G NR-TM and FRC Waveform Generation example is a good place to start from. It allows the option t...

5G Dynamic time division duplex on Matlab?

For the transmitting end, the 5G NR-TM and FRC Waveform Generation example is a good place to start from. It allows the option t...

1 year ago | 1

| accepted

Answered

How to normalize a vector considering both maximum and the sum of values?

You can use the normalize function with the ‘range’ method to preserve the shape of your normalized plot. This will consider val...

How to normalize a vector considering both maximum and the sum of values?

You can use the normalize function with the ‘range’ method to preserve the shape of your normalized plot. This will consider val...

1 year ago | 0

Answered

Warning while trying to filter RGB values on a picture

Assuming you are using the Live Editor, as a workaround, you can add the following command immediately after your plotting comma...

Warning while trying to filter RGB values on a picture

Assuming you are using the Live Editor, as a workaround, you can add the following command immediately after your plotting comma...

1 year ago | 4

| accepted

Answered

USRP x310 with MATLAB R2018B

The latest versions of MATLAB, R2019A and R2019B, support UHD 3.13. Upgrading to any of these versions are possible alternatives...

USRP x310 with MATLAB R2018B

The latest versions of MATLAB, R2019A and R2019B, support UHD 3.13. Upgrading to any of these versions are possible alternatives...

1 year ago | 0

| accepted

Answered

Reading certain rows from txt file.

The following code will read the data as you require: % Setup the Import Options opts = delimitedTextImportOptions("NumVariabl...

Reading certain rows from txt file.

The following code will read the data as you require: % Setup the Import Options opts = delimitedTextImportOptions("NumVariabl...

1 year ago | 0

| accepted

Answered

How can I modify this to receive the same data after demodulation?

You could look into this example to carry out the same operation. Just modify the channel coefficient values to (1,1) and should...

How can I modify this to receive the same data after demodulation?

You could look into this example to carry out the same operation. Just modify the channel coefficient values to (1,1) and should...

1 year ago | 0