I am an Application Support Engineer at MathWorks. My main responsibilities are working on questions posted on MATLAB Answers.

My area of interest are Deep Learning and Autonomous Driving Vehicles.

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

Answered

Using wcompress in Matlab

Hi Rhania, There could be one of multiple reasons for the above error. The variable or function definition of "Encoded_wtbx_D...

Using wcompress in Matlab

Hi Rhania, There could be one of multiple reasons for the above error. The variable or function definition of "Encoded_wtbx_D...

4 days ago | 0

Answered

code a fractional ODE's ( caputo derivative ) using the finite difference method

Kindly go through the following links https://www.mathworks.com/matlabcentral/fileexchange/39961-finite-difference-methods-in-m...

code a fractional ODE's ( caputo derivative ) using the finite difference method

Kindly go through the following links https://www.mathworks.com/matlabcentral/fileexchange/39961-finite-difference-methods-in-m...

4 days ago | 0

Answered

integration equvilants for diff() and dsolve()?

Hi jg, As diff is used for differentiataion, similarly the command int is used for integration. As for dsolve it solves for a s...

integration equvilants for diff() and dsolve()?

Hi jg, As diff is used for differentiataion, similarly the command int is used for integration. As for dsolve it solves for a s...

5 days ago | 0

Answered

How to plot a series of returns, and how to comapre two different Sharpe ratio on the same graphs

Hi, I am not sure what you mean by "instead of for series of returns". How I understand it is lets say there are two series dat...

How to plot a series of returns, and how to comapre two different Sharpe ratio on the same graphs

Hi, I am not sure what you mean by "instead of for series of returns". How I understand it is lets say there are two series dat...

6 days ago | 0

Answered

Matlab solver for Stiff Stochastic Differential Equation

Hi For solving Stiff ODE's you can refer to the following link. https://www.mathworks.com/help/matlab/math/solve-stiff-odes.ht...

Matlab solver for Stiff Stochastic Differential Equation

Hi For solving Stiff ODE's you can refer to the following link. https://www.mathworks.com/help/matlab/math/solve-stiff-odes.ht...

6 days ago | 0

Answered

How can I solve the coupled differential equation with variable coefficients?

Hi Vellapandi, Continuing from David Goodmanson's comment you can solve it numerically. Below is the code for it. tspan = [0 5...

How can I solve the coupled differential equation with variable coefficients?

Hi Vellapandi, Continuing from David Goodmanson's comment you can solve it numerically. Below is the code for it. tspan = [0 5...

6 days ago | 0

| accepted

Answered

Bounding Box Not Drawn/Some Variables Are Empty

Hi Matpar, Even though you have loaded and trained on the data without error, the reason your bounding box shows empty is becau...

Bounding Box Not Drawn/Some Variables Are Empty

Hi Matpar, Even though you have loaded and trained on the data without error, the reason your bounding box shows empty is becau...

6 days ago | 0

Answered

How can I built a database in Matlab?

Hi Mariana, You can use the Database Toolbox to interactively build your Database and subsequent queries. Kindly go through the...

How can I built a database in Matlab?

Hi Mariana, You can use the Database Toolbox to interactively build your Database and subsequent queries. Kindly go through the...

7 days ago | 0

Answered

How can we separate incoming real time data in MATLAB?

Hi Mohan, I am not sure what exactly you are trying to do here, but if you just want to plot data belonging to two thousand and...

How can we separate incoming real time data in MATLAB?

Hi Mohan, I am not sure what exactly you are trying to do here, but if you just want to plot data belonging to two thousand and...

1 month ago | 0

Answered

How do i plot annual histograms where year(x axis) and rainfall(y-axis)?

Hi Flora, Kindly go through the following links. It will help you bring dates to MATLAB from excel. https://www.mathworks.com/...

How do i plot annual histograms where year(x axis) and rainfall(y-axis)?

Hi Flora, Kindly go through the following links. It will help you bring dates to MATLAB from excel. https://www.mathworks.com/...

1 month ago | 0

Answered

how to extract feature from an image using pca for face recognition

Kindly go through the following links https://www.mathworks.com/matlabcentral/fileexchange/45750-face-recognition-using-pca ht...

how to extract feature from an image using pca for face recognition

Kindly go through the following links https://www.mathworks.com/matlabcentral/fileexchange/45750-face-recognition-using-pca ht...

1 month ago | 0

| accepted

Answered

How can I append different mat file data set to be able to do the analysis

Hi Enoch Go through the following link and check the answer by Guillaume and a comment by Leigh Martin. https://www.mathwork...

How can I append different mat file data set to be able to do the analysis

Hi Enoch Go through the following link and check the answer by Guillaume and a comment by Leigh Martin. https://www.mathwork...

1 month ago | 1

| accepted

Answered

How do I convert a .csv to a .dat using MATLAB (SWAN Modeling)

Hi, Try reading the data from the .csv file into a table in MATLAB and then write that table into a .dat file. The following ...

How do I convert a .csv to a .dat using MATLAB (SWAN Modeling)

Hi, Try reading the data from the .csv file into a table in MATLAB and then write that table into a .dat file. The following ...

2 months ago | 0

Answered

How to implement backward Euler's method?

Hi, Kindly go through the following existing posts for backward euler method. https://www.mathworks.com/matlabcentral/answers/...

How to implement backward Euler's method?

Hi, Kindly go through the following existing posts for backward euler method. https://www.mathworks.com/matlabcentral/answers/...

2 months ago | 1

Answered

Wrote this file to compute ABD matrix, running into index/array issue

Hi Kevin, The error here is occurs in ReduceStiffnessMatrix function in the 7th line where you are accessing Q(3,3) but at that...

Wrote this file to compute ABD matrix, running into index/array issue

Hi Kevin, The error here is occurs in ReduceStiffnessMatrix function in the 7th line where you are accessing Q(3,3) but at that...

2 months ago | 0

| accepted

Answered

Solving an integration problem at specific time points

Hi, The issue here is vpa gives a symbolic output, to use it with a function like plot,there is a need to convert the output of ...

Solving an integration problem at specific time points

Hi, The issue here is vpa gives a symbolic output, to use it with a function like plot,there is a need to convert the output of ...

2 months ago | 0

Answered

How to use Gillespie's algorithm in MATLAB to display chemical reactions

Hi Yuhong Kindly go through the following links for existing implementations. https://www.mathworks.com/matlabcentral/answers/...

How to use Gillespie's algorithm in MATLAB to display chemical reactions

Hi Yuhong Kindly go through the following links for existing implementations. https://www.mathworks.com/matlabcentral/answers/...

2 months ago | 0

| accepted

Answered

How to extract partial derivatives of some specific layer in the back-propagation of a deep learning model?

Hi Kindly go through the following link and examples in it. https://www.mathworks.com/help/deeplearning/ref/dlarray.dlgradient...

How to extract partial derivatives of some specific layer in the back-propagation of a deep learning model?

Hi Kindly go through the following link and examples in it. https://www.mathworks.com/help/deeplearning/ref/dlarray.dlgradient...

2 months ago | 0

Answered

Gaussian Elimination script question

Kindly go through the following links. https://www.mathworks.com/matlabcentral/answers/43397-performing-gauss-elimination-with-...

Gaussian Elimination script question

Kindly go through the following links. https://www.mathworks.com/matlabcentral/answers/43397-performing-gauss-elimination-with-...

2 months ago | 0

Answered

looping identical numbers and getting row indices

Find the attached code file for the solution. Hope it helps.

looping identical numbers and getting row indices

Find the attached code file for the solution. Hope it helps.

2 months ago | 0

Solved

Counting Sequence

Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

3 months ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 months ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

3 months ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 months ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 months ago

Answered

step by step to run LEACH code in Matlab

Hi, LEACH code implemenation can be found in the links below https://www.mathworks.com/matlabcentral/fileexchange/66574-leach...

step by step to run LEACH code in Matlab

Hi, LEACH code implemenation can be found in the links below https://www.mathworks.com/matlabcentral/fileexchange/66574-leach...

3 months ago | 0

Answered

What is the difference between wrcoef/upcoef/appcoef in wavelet analysis?

Hi, If your purpose is solely reconstructing the signal on a certain level use any of the two wrcoef/appcoef. If you want some ...

What is the difference between wrcoef/upcoef/appcoef in wavelet analysis?

Hi, If your purpose is solely reconstructing the signal on a certain level use any of the two wrcoef/appcoef. If you want some ...

3 months ago | 0

Answered

SVM Classifier using GLCM features

Hi, you already have extracted features, I am also assuming you have corresponding outputs related to extracted feature vectors....

SVM Classifier using GLCM features

Hi, you already have extracted features, I am also assuming you have corresponding outputs related to extracted feature vectors....

3 months ago | 0

Answered

Visualising the results of a classification tree elsewhere

Hi, this link will help you adding data to a table. https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-var...

Visualising the results of a classification tree elsewhere

Hi, this link will help you adding data to a table. https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-var...

3 months ago | 0

Answered

Need some project help

Hi, this problem can be solved with the approach of moving object detection using background subtraction. Kindly go through the ...

Need some project help

Hi, this problem can be solved with the approach of moving object detection using background subtraction. Kindly go through the ...

3 months ago | 0