Application Support Engineer in Engineering Development Group at Mathworks.

Disclaimer: Any advice and opinions here are my own and in no ways reflect that of Mathworks.

Answered

draw human hand using geometrical figures?

Complex three-dimensional objects can be created, displayed and their appearance can be controlled using MATLAB graphics. Refe...

draw human hand using geometrical figures?

Complex three-dimensional objects can be created, displayed and their appearance can be controlled using MATLAB graphics. Refe...

16 days ago | 1

| accepted

Answered

Making ODE45 stop at periodic solutions?

Event Functions can be used to determine an appropriate time to stop the solution but it does have few limitations. Delay Diffe...

Making ODE45 stop at periodic solutions?

Event Functions can be used to determine an appropriate time to stop the solution but it does have few limitations. Delay Diffe...

16 days ago | 0

Answered

Problem in Matlab (solved)

System of differential equations can be solved in multiple ways. On the ways is to use dsolve function from Symbolic Math Toolbo...

Problem in Matlab (solved)

System of differential equations can be solved in multiple ways. On the ways is to use dsolve function from Symbolic Math Toolbo...

17 days ago | 0

| accepted

Answered

Solving a system of Non-linear equations for Combustion

Non-linear equations can be solved using Optimization Toolbox. Refer the following link which has examples for solving system...

Solving a system of Non-linear equations for Combustion

Non-linear equations can be solved using Optimization Toolbox. Refer the following link which has examples for solving system...

20 days ago | 0

Answered

smoothing basic shapes and calculating curvature graphs

Refer the following link which has an answer to calculate curvature of a shape. https://www.mathworks.com/matlabcentral/answers...

smoothing basic shapes and calculating curvature graphs

Refer the following link which has an answer to calculate curvature of a shape. https://www.mathworks.com/matlabcentral/answers...

2 months ago | 0

Answered

Summation of Container Values

The code below provides a generalized approach to merge maps and if there is a collision because of same key add those values. ...

Summation of Container Values

The code below provides a generalized approach to merge maps and if there is a collision because of same key add those values. ...

2 months ago | 0

Answered

How do simulink models convert to exe files?

Simulink Coder (formerly, Real-Time Workshop) can be used to generate C code from Simulink model and use them as standalone exec...

How do simulink models convert to exe files?

Simulink Coder (formerly, Real-Time Workshop) can be used to generate C code from Simulink model and use them as standalone exec...

2 months ago | 0

Answered

how to activate matlab, my windows use name has changed,what should I do

Refer to the following link for transferring a MATLAB license to a new PC. https://www.mathworks.com/matlabcentral/answers/1423...

how to activate matlab, my windows use name has changed,what should I do

Refer to the following link for transferring a MATLAB license to a new PC. https://www.mathworks.com/matlabcentral/answers/1423...

2 months ago | 0

Answered

Could there arise issues by running the same function in MATLAB pc and online at the same time?

MATLAB Desktop and MATLAB Online will have separate workspace so will not interfere each other. Or even creating two instances o...

Could there arise issues by running the same function in MATLAB pc and online at the same time?

MATLAB Desktop and MATLAB Online will have separate workspace so will not interfere each other. Or even creating two instances o...

2 months ago | 0

| accepted

Answered

roots finding graphically methode

roots function can be used to find roots of a polynomial. Refer the following link for several different methods to calculate ...

roots finding graphically methode

roots function can be used to find roots of a polynomial. Refer the following link for several different methods to calculate ...

2 months ago | 0

Answered

Schedule siumlation from Matlab

Refer to the following link which has an answer for running all files from a folder one after other and checking the result. h...

Schedule siumlation from Matlab

Refer to the following link which has an answer for running all files from a folder one after other and checking the result. h...

2 months ago | 0

Answered

IEEE 14 and 30 bus system in phasor

Refer to the following link which has an answer for IEEE Model for a 30 Bus system. https://www.mathworks.com/matlabcentral/an...

IEEE 14 and 30 bus system in phasor

Refer to the following link which has an answer for IEEE Model for a 30 Bus system. https://www.mathworks.com/matlabcentral/an...

2 months ago | 0

Answered

I wanted to use the Powertrain Blockset on a student license. Is it possible?

Use ver command to check the Version information for the MathWorks Products. And check if Powertrain Blockset is present in the ...

I wanted to use the Powertrain Blockset on a student license. Is it possible?

Use ver command to check the Version information for the MathWorks Products. And check if Powertrain Blockset is present in the ...

2 months ago | 0

Answered

Vertically align bottom edge of subplots

I was able to reproduce the problem using your code. ax = axes('Position',[.1+(counter-1)*0.3 0 0.25 1]); the above line of...

Vertically align bottom edge of subplots

I was able to reproduce the problem using your code. ax = axes('Position',[.1+(counter-1)*0.3 0 0.25 1]); the above line of...

2 months ago | 0

Answered

plot flight path on MATLAB

ECEF data can be converted into LLA using ecef2lla function. And the converted data can be plotted using MATLAB.

plot flight path on MATLAB

ECEF data can be converted into LLA using ecef2lla function. And the converted data can be plotted using MATLAB.

2 months ago | 0

Answered

how to forecast time series data using convolution2dlayer

Refer to the following link which illustrates an example of Time Series Forecasting Using LSTM network. https://www.mathworks....

how to forecast time series data using convolution2dlayer

Refer to the following link which illustrates an example of Time Series Forecasting Using LSTM network. https://www.mathworks....

2 months ago | 0

Answered

How to draw a second order cone relaxation using matlab?

patch() function can be used to create a polynomial fitting to the open end of the cone and putting it over it. Following code ...

How to draw a second order cone relaxation using matlab?

patch() function can be used to create a polynomial fitting to the open end of the cone and putting it over it. Following code ...

3 months ago | 0

Answered

How can I extract sets of data (coordinates for each plot) from multiple plots in one figure??

Refer the Following links for extracting data from MATLAB figures and multiple plots. https://www.mathworks.com/matlabcentral/a...

How can I extract sets of data (coordinates for each plot) from multiple plots in one figure??

Refer the Following links for extracting data from MATLAB figures and multiple plots. https://www.mathworks.com/matlabcentral/a...

3 months ago | 0

Answered

Tilde character underneath a letter in Matlab charts

The following code may be able to help you. ylabel('$\stackrel{a}{\tilde{}}$','Interpreter','latex');

Tilde character underneath a letter in Matlab charts

The following code may be able to help you. ylabel('$\stackrel{a}{\tilde{}}$','Interpreter','latex');

3 months ago | 0

| accepted

Answered

GA optimization within constraints

Maximization can be achieved by multiplying the desired function with -1 and then using the minimization approach using Genetic ...

GA optimization within constraints

Maximization can be achieved by multiplying the desired function with -1 and then using the minimization approach using Genetic ...

3 months ago | 0

| accepted

Answered

How to create a simple Agent Based Model with Simulink

SimEvents toolbox can be used for modelling the proposed scenario. Refer SimEvents Examples to see illustrations of various scen...

How to create a simple Agent Based Model with Simulink

SimEvents toolbox can be used for modelling the proposed scenario. Refer SimEvents Examples to see illustrations of various scen...

3 months ago | 0

Answered

Points to STL file

stlwrite user a triangulation object has one its parameter. Refer triangulation for making a triangulation object from the dat...

Points to STL file

stlwrite user a triangulation object has one its parameter. Refer triangulation for making a triangulation object from the dat...

3 months ago | 0

Answered

Extract multiple tables of different lengths from word document

Extraction of data from a table in word document can be done using Text Analytics Toolbox. Refer the following links for readin...

Extract multiple tables of different lengths from word document

Extraction of data from a table in word document can be done using Text Analytics Toolbox. Refer the following links for readin...

4 months ago | 0

Answered

Trajectory input manipulation for Simulink model

Driving Scenario Designer can be used to simulate driving systems. Set the waypoints to specify the desired path. To dynamically...

Trajectory input manipulation for Simulink model

Driving Scenario Designer can be used to simulate driving systems. Set the waypoints to specify the desired path. To dynamically...

4 months ago | 0

Answered

How to log a block in simulink-model programmatically?

Simulink doesn’t support block logging. Rather one can log the signals coming out of the blocks for all required purposes.

How to log a block in simulink-model programmatically?

Simulink doesn’t support block logging. Rather one can log the signals coming out of the blocks for all required purposes.

4 months ago | 0

| accepted

Answered

Are SimScape models idealistic or realistic?

Realistic models can be created using Symscape by setting appropriate Block parameters, initial conditions and understanding the...

Are SimScape models idealistic or realistic?

Realistic models can be created using Symscape by setting appropriate Block parameters, initial conditions and understanding the...

4 months ago | 0

| accepted

Answered

Testmanager, How is it possible to sort testcases within testsuite?

Test case can be rearragned inside a test suite. Following code sorts the test cases in descending and random order. s = matl...

Testmanager, How is it possible to sort testcases within testsuite?

Test case can be rearragned inside a test suite. Following code sorts the test cases in descending and random order. s = matl...

4 months ago | 0

Answered

Processing of LiDAR point cloud data

Use pcread to read point cloud from PLY or PCD file. And extract the selected portion of data points using findPointsInROI. An t...

Processing of LiDAR point cloud data

Use pcread to read point cloud from PLY or PCD file. And extract the selected portion of data points using findPointsInROI. An t...

4 months ago | 0

| accepted

Answered

Matlab Mobile: Plot a walking path in cartesian

The entire code looks fine.Just a minor mistake in using geodeticenu function. Use geodetic2enu instead for getting the desired ...

Matlab Mobile: Plot a walking path in cartesian

The entire code looks fine.Just a minor mistake in using geodeticenu function. Use geodetic2enu instead for getting the desired ...

5 months ago | 1

| accepted

Answered

How to warp texture onto a part of an object (for example the cylinder) ?

One possible workaround will be to rotate the image using imrotate and then use warp function for wrapping around the cylinder...

How to warp texture onto a part of an object (for example the cylinder) ?

One possible workaround will be to rotate the image using imrotate and then use warp function for wrapping around the cylinder...

5 months ago | 0

| accepted