I am an Application Support Engineer at Mathworks. My main responsibilities are supporting customers by answering in MATLAB Answers and also supporting developement teams at Mathworks.

My areas of interest are Simulink, MATLAB, Image processing, Computer Vision and Deep Learning.

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

Answered

Fixed Point Iteration in Numerical Methods for any equation

Hi, If you want to get the equation through string input you could use "str2func" to convert the string to function. The functi...

Fixed Point Iteration in Numerical Methods for any equation

Hi, If you want to get the equation through string input you could use "str2func" to convert the string to function. The functi...

3 månader ago | 0

Answered

RoadRunner Project Version Control Issues

I think you have not enabled the "Export markings as <line>" checkbox during your OpenDrive Export, which might be the reason wh...

RoadRunner Project Version Control Issues

I think you have not enabled the "Export markings as <line>" checkbox during your OpenDrive Export, which might be the reason wh...

3 månader ago | 0

| accepted

Answered

Can the constant and gain block be saved as C code variables using the Simulink coder?

Hi, You could always change your code after code generation using simulink coder. But if you want to save as variable in gain a...

Can the constant and gain block be saved as C code variables using the Simulink coder?

Hi, You could always change your code after code generation using simulink coder. But if you want to save as variable in gain a...

3 månader ago | 0

Answered

Solve System of Equations for Mesh Circuit Analysis in S-Domain

Hi, The reason you are getting an empty value from the solve function is because it cannot find a solution for the given set of...

Solve System of Equations for Mesh Circuit Analysis in S-Domain

Hi, The reason you are getting an empty value from the solve function is because it cannot find a solution for the given set of...

3 månader ago | 0

Answered

Remove intermittent text when reading in a table from a .dat file

Hi, Please refer to the following similar question which could be helpful to you. How do I read data (from a .dat file) sepera...

Remove intermittent text when reading in a table from a .dat file

Hi, Please refer to the following similar question which could be helpful to you. How do I read data (from a .dat file) sepera...

3 månader ago | 0

| accepted

Answered

How to make MATLAB use a gui program 1000 times and thin export some specific results into tables

Hi, I don't understand your usecase properly but you could always run a gui program 1000 times and get the input and store it i...

How to make MATLAB use a gui program 1000 times and thin export some specific results into tables

Hi, I don't understand your usecase properly but you could always run a gui program 1000 times and get the input and store it i...

3 månader ago | 0

Answered

Write "BIT" data type to existing PostgreSQL table from Matlab

Hi, Try using the following code. my_table = table("0", 'VariableNames', {'value_parameter'}); You were getting the error bec...

Write "BIT" data type to existing PostgreSQL table from Matlab

Hi, Try using the following code. my_table = table("0", 'VariableNames', {'value_parameter'}); You were getting the error bec...

3 månader ago | 1

Answered

Level Set Method for Image Segmentation Using Fuzzy Clustering

Hi, You could use individual slices of the 3D Image for segmentation. The slice of 3D image becomes a 2D image which you could ...

Level Set Method for Image Segmentation Using Fuzzy Clustering

Hi, You could use individual slices of the 3D Image for segmentation. The slice of 3D image becomes a 2D image which you could ...

3 månader ago | 0

Answered

Calculating a 3D Mean-Trajectory from an Array

Hi, You could interpolate the data to create a continuous trajectory from the set of points. You could use curve fitting toolbo...

Calculating a 3D Mean-Trajectory from an Array

Hi, You could interpolate the data to create a continuous trajectory from the set of points. You could use curve fitting toolbo...

3 månader ago | 0

Answered

Real time data transfer between MATLAB and Raspberrypi

Hi, Refer to the following link to know about transferring data from MATTLAB to Raspberry PI Transmit and Receive Data Using R...

Real time data transfer between MATLAB and Raspberrypi

Hi, Refer to the following link to know about transferring data from MATTLAB to Raspberry PI Transmit and Receive Data Using R...

3 månader ago | 0

Answered

Plotting the probability of drawing a Spade

Hi, Probability of drawing spades from 100 draws is still one single value. You can try adding a for loop over the for loop wit...

Plotting the probability of drawing a Spade

Hi, Probability of drawing spades from 100 draws is still one single value. You can try adding a for loop over the for loop wit...

3 månader ago | 0

Answered

how to allign plot figure and annotation

Hi, You could change the position of annotation by changing the X and Y properties of the annotations. These values represent t...

how to allign plot figure and annotation

Hi, You could change the position of annotation by changing the X and Y properties of the annotations. These values represent t...

3 månader ago | 0

Answered

6 DOF block change axis

Refer to this Solution provided by the MathWorks Staff for a similar type of question. I hope this answer would be helpful in so...

6 DOF block change axis

Refer to this Solution provided by the MathWorks Staff for a similar type of question. I hope this answer would be helpful in so...

3 månader ago | 0

Answered

Real Time plotting in MATLAB GUI

Hi, You could point all the points in one iteration and change their locations in the next second. So suppose you plot 60 point...

Real Time plotting in MATLAB GUI

Hi, You could point all the points in one iteration and change their locations in the next second. So suppose you plot 60 point...

3 månader ago | 1

Answered

Lorentzian Fitting with .s2p file

Hi, MATLAB handles Touchstone files as S-Parameter objects, which require RF Toolbox to be extracted. To get the data from the...

Lorentzian Fitting with .s2p file

Hi, MATLAB handles Touchstone files as S-Parameter objects, which require RF Toolbox to be extracted. To get the data from the...

3 månader ago | 0

Answered

ValueChangedFcn on uieditfield (uifigure based app)

Hi, As you have tried all the possible solutions, one possible workaround is to add a manual search button which the user could...

ValueChangedFcn on uieditfield (uifigure based app)

Hi, As you have tried all the possible solutions, one possible workaround is to add a manual search button which the user could...

4 månader ago | 0

| accepted

Answered

Save and rename part of files in plot

Hi, You could add the file name as a tag before plotting the line and also add a Onclick callback. So when you click the line, ...

Save and rename part of files in plot

Hi, You could add the file name as a tag before plotting the line and also add a Onclick callback. So when you click the line, ...

4 månader ago | 0

| accepted

Answered

Cursors in uiaxes that is able to move horisontally along the x-axis according to mouseclicks by the user?

Hi, One way to make sure the two cursors move horizontally is to replot the two cursors with different locations by changing th...

Cursors in uiaxes that is able to move horisontally along the x-axis according to mouseclicks by the user?

Hi, One way to make sure the two cursors move horizontally is to replot the two cursors with different locations by changing th...

4 månader ago | 0

Answered

Fread com device too slow

Hi, Refer to the following existing solutions, Fread performance is slow. Why? - MATLAB Answers - MATLAB Central (mathworks.co...

Fread com device too slow

Hi, Refer to the following existing solutions, Fread performance is slow. Why? - MATLAB Answers - MATLAB Central (mathworks.co...

4 månader ago | 0

Answered

Simulink bus not working the way i intended

Hi, You could refer to the following question. Struct as input to a Simulink MATLAB Function block - MATLAB Answers - MATLAB C...

Simulink bus not working the way i intended

Hi, You could refer to the following question. Struct as input to a Simulink MATLAB Function block - MATLAB Answers - MATLAB C...

4 månader ago | 0

Answered

How to cut a polygonal mesh by a line? (Tips needed)

Hi, You could use 'polyxpoly' function to find the intersection points of the line on the polygon edges which would probably h...

How to cut a polygonal mesh by a line? (Tips needed)

Hi, You could use 'polyxpoly' function to find the intersection points of the line on the polygon edges which would probably h...

4 månader ago | 0

| accepted

Answered

Stl files - see inner and outer contours for gaps and holes

Hi, This question seems to be similar to your question. Find holes and gaps in .stl files - MATLAB Answers - MATLAB Central (m...

Stl files - see inner and outer contours for gaps and holes

Hi, This question seems to be similar to your question. Find holes and gaps in .stl files - MATLAB Answers - MATLAB Central (m...

4 månader ago | 0

Answered

How do i calcualte Image Fidelity Using this equation?

Hi, You could use "for" loops for doing the summation of the values and storing the P and S variables as 2 dimensional arrays w...

How do i calcualte Image Fidelity Using this equation?

Hi, You could use "for" loops for doing the summation of the values and storing the P and S variables as 2 dimensional arrays w...

4 månader ago | 0

Answered

How evaluate an image after segmentation?

You could use the evaluateSemanticSegmentation function to evaluate different performance metrics which you require.

How evaluate an image after segmentation?

You could use the evaluateSemanticSegmentation function to evaluate different performance metrics which you require.

5 månader ago | 0

Answered

change variable in a class

Hi, As kanal object is a private variable in sender class, any user will not be able to access that object and set any variable...

change variable in a class

Hi, As kanal object is a private variable in sender class, any user will not be able to access that object and set any variable...

5 månader ago | 0

| accepted

Answered

Weibull Fit for Dataset in Excel

Hi, From 2020b MATLAB supports height function for arrays as well, but it seems like you are using a previous version so its be...

Weibull Fit for Dataset in Excel

Hi, From 2020b MATLAB supports height function for arrays as well, but it seems like you are using a previous version so its be...

6 månader ago | 0

Answered

How can I measure the curvature of a 2D image?

Hi, You could use Edge Detection methods from Image Processing Toolbox to find the edges in the image. You will recieve a binar...

How can I measure the curvature of a 2D image?

Hi, You could use Edge Detection methods from Image Processing Toolbox to find the edges in the image. You will recieve a binar...

6 månader ago | 0

Answered

How to pack a mlapp with more sub-folders

Hi, You could refer to the following link to know how to use package your app along with the folders and convert to app instal...

How to pack a mlapp with more sub-folders

Hi, You could refer to the following link to know how to use package your app along with the folders and convert to app instal...

6 månader ago | 0

| accepted

Answered

find an inclined plane from 3D data and plot it

Hi, You have to create an inclined plane surface matrix using meshgrid and then put those x,y,z values in the slice function as...

find an inclined plane from 3D data and plot it

Hi, You have to create an inclined plane surface matrix using meshgrid and then put those x,y,z values in the slice function as...

6 månader ago | 0

Answered

Problem in using the integral function to compute a partial expectation

Hi, If you change the integral function a bit it will give out the result same as your other plot. You just have to increase t...

Problem in using the integral function to compute a partial expectation

Hi, If you change the integral function a bit it will give out the result same as your other plot. You just have to increase t...

6 månader ago | 0