I am an Application Support Engineer at Mathworks, Hyderabad.

My main interests include Machine Learning, Parallel and Concurrent Programming, Wireless Networks.

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

Answered

Creating automated multiple variables to store excel table in a loop

Hi Naman, You can use readtable function to create table from an excel file and then create a loop e.g. - for i = 1:3 dat...

Creating automated multiple variables to store excel table in a loop

Hi Naman, You can use readtable function to create table from an excel file and then create a loop e.g. - for i = 1:3 dat...

2 days ago | 0

Answered

Superimpose the graph of a function onto a streamline field

Hey David, You can try using hold on function. One such example can be found here.

Superimpose the graph of a function onto a streamline field

Hey David, You can try using hold on function. One such example can be found here.

2 days ago | 0

Answered

Getframe very slow in loop

Hey Manav, getFrame captures the whole frame of the current figure and saves it into a struct. So, it is expected to take this ...

Getframe very slow in loop

Hey Manav, getFrame captures the whole frame of the current figure and saves it into a struct. So, it is expected to take this ...

5 days ago | 0

Answered

Counting the number of fine bubbles in a glass bottle/container

Hey Darwin, Kindly look at one such similar question and the suggested answer here which, in turn, would lead you to the follow...

Counting the number of fine bubbles in a glass bottle/container

Hey Darwin, Kindly look at one such similar question and the suggested answer here which, in turn, would lead you to the follow...

6 days ago | 0

Answered

Where can I find practical examples of unsupervised image super resolution?

Hey Nour, This is an example of supervised image super resolution. You can refer to it, can modify it according to your use cas...

Where can I find practical examples of unsupervised image super resolution?

Hey Nour, This is an example of supervised image super resolution. You can refer to it, can modify it according to your use cas...

6 days ago | 0

Answered

How to associate a variable according to the .mat file name

Hey, I assume that you already know the value of 'Nt' and stored the value in nt. char (nt + 'a' - 1) would return you the fi...

How to associate a variable according to the .mat file name

Hey, I assume that you already know the value of 'Nt' and stored the value in nt. char (nt + 'a' - 1) would return you the fi...

7 days ago | 1

Answered

How do I change the economy to Matt Lab Code?

Hi, You can refer to the link here for MATLAB version of counting sort.

How do I change the economy to Matt Lab Code?

Hi, You can refer to the link here for MATLAB version of counting sort.

7 days ago | 0

Answered

How to select select specify characterist for cluster ?

Hi Catalina, Assuming that the equation of your line is of the form y = mx + c. The equation can now be rewritten as y - mx - ...

How to select select specify characterist for cluster ?

Hi Catalina, Assuming that the equation of your line is of the form y = mx + c. The equation can now be rewritten as y - mx - ...

7 days ago | 0

Answered

I would like to know what is thendifference between generating a code using Quick Start o using Code Generate Advisor

Hi Unai, Starting with generated code - MATLAB can produce C/C++ code and executable programs for your algorithms. You can writ...

I would like to know what is thendifference between generating a code using Quick Start o using Code Generate Advisor

Hi Unai, Starting with generated code - MATLAB can produce C/C++ code and executable programs for your algorithms. You can writ...

7 days ago | 0

Answered

Debugging in application problem

Hey Berkay, This seems to be the expected behvaiour of the debugger. For the case in figure 1, I hope that the values in the v...

Debugging in application problem

Hey Berkay, This seems to be the expected behvaiour of the debugger. For the case in figure 1, I hope that the values in the v...

7 days ago | 0

| accepted

Answered

PCA Plot Script/Synthax

Hi, As can be seen in scatter3(Values(:,1),Values(:,2),Values(:,3), 20, y, 'filled') You are trying to plot y, which repres...

PCA Plot Script/Synthax

Hi, As can be seen in scatter3(Values(:,1),Values(:,2),Values(:,3), 20, y, 'filled') You are trying to plot y, which repres...

7 days ago | 0

| accepted

Answered

How do I plot the centers of stitched images?

Hi Elie, I would like to tell that the thing you are looking to do here is to have a perfect alignment. However, when you regi...

How do I plot the centers of stitched images?

Hi Elie, I would like to tell that the thing you are looking to do here is to have a perfect alignment. However, when you regi...

7 days ago | 0

Answered

fitnlm either runs perfectly or crashes with nearly identical data

Hi Clay, The roots returned in the latter case (fitnlm_broken.m) are imaginary, hence, you receive the error "JW must be scalar...

fitnlm either runs perfectly or crashes with nearly identical data

Hi Clay, The roots returned in the latter case (fitnlm_broken.m) are imaginary, hence, you receive the error "JW must be scalar...

8 days ago | 0

| accepted

Answered

Out of memory error when calling the same function in a for loop many times

Hi Yang, As the error suggests, you have exhausted all your memory when you try to run this function in a loop. I would advise...

Out of memory error when calling the same function in a for loop many times

Hi Yang, As the error suggests, you have exhausted all your memory when you try to run this function in a loop. I would advise...

9 days ago | 0

Answered

Classification Learner App k-Nearest Neighbor k-NN

Hi, The accuracy for any ML model (including KNN) is decided by mutiple factors, one of which is the dataset and its features. ...

Classification Learner App k-Nearest Neighbor k-NN

Hi, The accuracy for any ML model (including KNN) is decided by mutiple factors, one of which is the dataset and its features. ...

9 days ago | 0

Answered

How to parallelise sections of my for loop

Hi, Rather than using 4-6 for loops, you can try making a single for loop traversing through all the elements. For example - ...

How to parallelise sections of my for loop

Hi, Rather than using 4-6 for loops, you can try making a single for loop traversing through all the elements. For example - ...

9 days ago | 0

Answered

Is this parfor fixable?

Hi Jacob, Apparently, you cannot subtract the loop index (within parfor loop) from any other scalar/vector quantity. As a work...

Is this parfor fixable?

Hi Jacob, Apparently, you cannot subtract the loop index (within parfor loop) from any other scalar/vector quantity. As a work...

9 days ago | 0

Answered

how can i save the data after processing sequence of images?

Hey Shaik, You can save the data to a new file for each image rather than over-writing the '123.dat' file. For this, you can ...

how can i save the data after processing sequence of images?

Hey Shaik, You can save the data to a new file for each image rather than over-writing the '123.dat' file. For this, you can ...

28 days ago | 0

Answered

Computing the outer product (BLAS 2 operation) raised to the power k using the least number of flops

Hi Pascale, MATLAB supports LAPACK and BLAS functions/operations which can help you to reduce the number of FLOPS for your func...

Computing the outer product (BLAS 2 operation) raised to the power k using the least number of flops

Hi Pascale, MATLAB supports LAPACK and BLAS functions/operations which can help you to reduce the number of FLOPS for your func...

29 days ago | 0

Answered

Why does the same data occupy different sizes in different storage methods in the .mat file?

Hi, The reason behind three .mat files being stored in different sizes is - MATLAB saves mat files after c...

Why does the same data occupy different sizes in different storage methods in the .mat file?

Hi, The reason behind three .mat files being stored in different sizes is - MATLAB saves mat files after c...

29 days ago | 0

Answered

How to iterate a for loop starting from the previous element?

Hi Enrica, You should recheck lines 3 and 4 (o = find(times_biceps == ind33); o_previous = find(times_biceps == times_2r(i-1));...

How to iterate a for loop starting from the previous element?

Hi Enrica, You should recheck lines 3 and 4 (o = find(times_biceps == ind33); o_previous = find(times_biceps == times_2r(i-1));...

30 days ago | 0

Answered

How can i develop a ball tracking application?

Hi Hemil, You can go through the documentation here to develop a cricket ball tracking application. This document would help yo...

How can i develop a ball tracking application?

Hi Hemil, You can go through the documentation here to develop a cricket ball tracking application. This document would help yo...

30 days ago | 0

Answered

Plotting with lsqnonlin regression

Hi Valeria, You can look at the examples here to check how to plot and visualize the results.

Plotting with lsqnonlin regression

Hi Valeria, You can look at the examples here to check how to plot and visualize the results.

30 days ago | 0

Answered

Remove number from a matrix within a for loop

Hey Elijah, You can replace the third element by [ ] in the script. Example - a = [1 2 3]; a(3) a(3) = [ ] What you would...

Remove number from a matrix within a for loop

Hey Elijah, You can replace the third element by [ ] in the script. Example - a = [1 2 3]; a(3) a(3) = [ ] What you would...

30 days ago | 0

Answered

Standardize data for regression learner

Hi, You don't need to specifically standardize the data for SVR model. However, you can use different preprocessing steps ment...

Standardize data for regression learner

Hi, You don't need to specifically standardize the data for SVR model. However, you can use different preprocessing steps ment...

1 month ago | 0

Answered

Merging Multiple Point Clouds

Hi Tony, You should either register the two point clouds, or stitch the sequence of them. You can know more about stiching and ...

Merging Multiple Point Clouds

Hi Tony, You should either register the two point clouds, or stitch the sequence of them. You can know more about stiching and ...

1 month ago | 0

Answered

Best practice for multiple Matlab session that want to call the same function from an .m file ?

Hi Both of the methods would work fine without any changes in function (output behaviour) and/or performance. That's because M...

Best practice for multiple Matlab session that want to call the same function from an .m file ?

Hi Both of the methods would work fine without any changes in function (output behaviour) and/or performance. That's because M...

1 month ago | 0

| accepted

Answered

Pcg and Parallel Computing Toolbox

Hey Rosalba, Using Parallel Computing toolbox for very small problems or for large number of threads can prove to be of no use....

Pcg and Parallel Computing Toolbox

Hey Rosalba, Using Parallel Computing toolbox for very small problems or for large number of threads can prove to be of no use....

1 month ago | 1

Answered

Parfor Data Collection in Matlab

Hi John, In order to achieve what you want (ending up with a table with 10 columns, in parallel manner), you can run the outsid...

Parfor Data Collection in Matlab

Hi John, In order to achieve what you want (ending up with a table with 10 columns, in parallel manner), you can run the outsid...

1 month ago | 0

Answered

Parameters of multivariate multinomial distribution using Naive Bayes classifier

Hi Zeynab, You can refer to the example here to train naive bayes classifier using multinomial predictor. To visualize the dis...

Parameters of multivariate multinomial distribution using Naive Bayes classifier

Hi Zeynab, You can refer to the example here to train naive bayes classifier using multinomial predictor. To visualize the dis...

2 months ago | 0

| accepted