Community Profile

photo

Asvin Kumar

MathWorks

Last seen: 2 years ago Active since 2019

Hi, I'm an Applications Support Engineer at Mathworks.

My areas of interest are signal processing and communications. I've also spent a little while on reinforcement learning, machine learning and deep learning.

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

Statistics

  • Revival Level 3
  • Knowledgeable Level 4
  • 6 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
Navigating Struct and Double issues
This is a lot of code to debug and not in format that invites help from the community. Please have a look at this post on the be...

2 years ago | 0

Answered
Align digraph EdgeCData with correct edges
You need to transpose the CData matrix before passing it into nonzeros. nonzeros generates a list of non-zero elements by trave...

2 years ago | 1

| accepted

Answered
Extracting a timestamp from a header in a text file that also contains tabular data
There's no single function which does this. You can easily put together a script. Use the Import Tool to read the data (Fp1, F...

2 years ago | 0

| accepted

Answered
how to calculate time lag from cross correlation data for 365 days?
I'm not a 100% clear on what you're trying to achieve but this sounds like a good use case for xcorr. You can look at the usage ...

2 years ago | 1

| accepted

Answered
How to extract perticular variable from multiple netcdf files (daily data). And merge them together as a one .mat file.
I'm not sure if there is a single function to do that. Here are some functions you can use to create a script for yourself. nc...

2 years ago | 0

| accepted

Answered
I am novice in Matlab . I'm trying hard to load a log file (that too, from specific line number to specific line number ) into Matlab and store that data in it into a variable.
You can use the Import Tool to read data from your log file. You can read the data into a table. You can then convert the tabl...

2 years ago | 0

Answered
Why i get 100% accuracy using CVPartion and SVM
Your usage of cvpartition is correct. You are not using the same data for training and testing. Your SVM jusr seems to be work...

2 years ago | 0

| accepted

Answered
How do I time shift an audio signal?
When you select the second subplot, you need to use the plot command again to plot the audio signal. Here's a modified version ...

2 years ago | 1

| accepted

Answered
Matlab program for Correlation between two images
It’s not entirely clear what you mean by correlation. If you’re looking to compute the cross-correlation between two images, you...

2 years ago | 1

Answered
Help with data mapping
Read the empty table in Mapping.xlsx using readtable or the Import Tool. If you are using readtable, create a SpreadsheetImportO...

2 years ago | 0

| accepted

Answered
How do I modify my student license to have administrator privilege to setup minGW64 compiler
If you refer to this section, I think it says that your Windows user should have administrator privileges. It does not say that ...

2 years ago | 0

Answered
How to Design a MATLAB GUI program to make a watermarking image of original images which are given in jpeg format.
Looks like something App Designer can handle. There's a great amount of Documentation to help you out. You can shart here: Devel...

2 years ago | 0

Answered
How to plot XScale in log in boxplot? I used set(gca,'XScale','log') but the scale width are unequal. Kindly help.
You were right to set the 'XScale' axes property to 'log'. The reason it didn't behave as expected was becasuse the positions of...

2 years ago | 0

Answered
Command to import column vectors
Stephen's comment is correct. Each variable in a table is a column vector. You can see this by selecting the "Generate Script"...

2 years ago | 0

Answered
How should i prepare an excel to be imported to fuzzy logic toolbox? Also, what program to write for import data from excel and export the output into an excel?
You can read from an Excel sheet using readmatrix. See example here. You can pass the MxN matrix as an input to the evafis func...

2 years ago | 0

| accepted

Answered
Aerobalence Code , how do i get the code to output just 1 answer
The 7 outputs are because you have an assignment statement inside a for loop that runs 7 times. You are not suppressing the outp...

3 years ago | 0

Answered
"Error While Evaluating UIControl Callback"
If I understand correctly, you just want to update the plot. You can do that by calling the plot function in your callback with ...

3 years ago | 0

Answered
How to extracts the data from .dat extension and create necessary equations
The import tool should do the job for you. The linked page shows examples on how to use the tool. Here's another doc page whic...

3 years ago | 0

| accepted

Answered
Reverting Referenced Subsystems back to normal Subsystems
Hi Marvin, I can confirm that the feature to expand referenced subsystems was removed in R2020a. So, it looks like the best w...

3 years ago | 0

| accepted

Answered
How to visualize 4D .nii file?
nii files follow the NIfTI image format. You can use the niftiread function to read these files. MATLAB also offers other functi...

3 years ago | 0

Answered
Matlab barchart question.
Hi Pappu, It seems you've contacted Tech Support via email. I'll capture the workaround that we provided you over here for eve...

3 years ago | 0

| accepted

Answered
Numerical integration (trapz) between patch
The reason I1 and I2 are negative is because the H values are negative. trapz numerically integrates over the specified range by...

3 years ago | 0

Answered
Line plots from netcdf files
I'm not entirely clear as to what you want to plot. Since you seem like you're new to the language, let me give you a brief outl...

3 years ago | 0

Answered
Error in readInput - unrecognized function or variable 'swallow_csv'
Have a look at https://adared.ch/efficient-csv-reader-for-matlab/ The swallow_csv mex which was generated for windows will not...

3 years ago | 0

Answered
Getting dltargets.internal.getNetworkInputSizes error when trying to quantize trained network
[EDIT] David figured out that he needed GPU Coder Interface for Deep Learning Libraries. More details on the requirements fo...

3 years ago | 0

| accepted

Answered
Setting LSTM time serie prediction
Have a look at the Classification, Prediction, and Forecasting section from this page on LSTMs. As the page explains, you broadl...

3 years ago | 1

Answered
LSTM sequence-to-one regression
If you could share the code that you've written so far, the community will be able to help you better. If I still had to guess...

3 years ago | 0

Answered
Multiple inputs to ANFIS
You could use a for loop. Simple and straightforward. You could move your statements into a function block and write a script ...

3 years ago | 0

Answered
how to give weighted average method for defuzzification
This question posted earlier might be relevant to you: https://www.mathworks.com/matlabcentral/answers/479624-add-custom-defuzzi...

3 years ago | 0

Answered
I get an error with copyfile loop
Thanks for providing additional info. I'm not entirely sure why you're seeing this error. There are some pieces of information w...

3 years ago | 0

Load more