Community Profile

Kaashyap Pappu

MathWorks

142 total contributions since 2019

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.

View details...

Contributions in
View by

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

6 hours ago | 0

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 day ago | 0

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

27 days ago | 0

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

28 days ago | 0

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

28 days ago | 0

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

28 days ago | 0

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

28 days ago | 0

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

29 days ago | 1

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

29 days ago | 0

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

30 days ago | 0

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

30 days ago | 0

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

1 month ago | 0

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 month ago | 0

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 month ago | 0

| accepted

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 month ago | 0

| accepted

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 month ago | 0

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 1

| accepted

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 2

| accepted

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

3 months ago | 0

| accepted

Reading certain rows from txt file.
The following code will read the data as you require: % Setup the Import Options opts = delimitedTextImportOptions("NumVariabl...

3 months ago | 0

| accepted

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

3 months ago | 0