I am working as an Application Support Engineer in MathWorks.

My research work includes development of Parallel Algorithms using API's like openMP, MPI -Message Passing Interface, GPU-cuda for computational fluid dynamics (CFD).

Disclaimer: Any advice or opinions here are my own, and in no way reflects that of MathWorks.

답변 있음

color coding error_ellipse

'error_ellipse' is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product us...

color coding error_ellipse

'error_ellipse' is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product us...

3달 전 | 0

답변 있음

mean, standard deviance, variance simplify the code if possible?

You can read the values from the matrix and calculate the mean in one line to clean up some code. For examples, replace ...

mean, standard deviance, variance simplify the code if possible?

You can read the values from the matrix and calculate the mean in one line to clean up some code. For examples, replace ...

3달 전 | 0

답변 있음

Storing error values every iteration

Hello Griffin, Please refer to the last two lines of the code: err_every_iter = iter_error; % iter_error is stored here err...

Storing error values every iteration

Hello Griffin, Please refer to the last two lines of the code: err_every_iter = iter_error; % iter_error is stored here err...

3달 전 | 0

답변 있음

How to plot a differential equation?

Hello, You need to save the result of 'dsolve' and use it for plotting. Refer to the following code which will help you under...

How to plot a differential equation?

Hello, You need to save the result of 'dsolve' and use it for plotting. Refer to the following code which will help you under...

3달 전 | 0

답변 있음

How do I connect data points with a line?

Hello Byeongchan, It is not clear that what you want to achieve from your code. Especially, increment of iterator 'i' inside ...

How do I connect data points with a line?

Hello Byeongchan, It is not clear that what you want to achieve from your code. Especially, increment of iterator 'i' inside ...

3달 전 | 0

답변 있음

fplot change plot axes (y versus x)

Hello Giorgia, 'fplot' is mostly used to plot a curve defined by y=f(x) where 'x' is input and 'y' is output which is the sta...

fplot change plot axes (y versus x)

Hello Giorgia, 'fplot' is mostly used to plot a curve defined by y=f(x) where 'x' is input and 'y' is output which is the sta...

3달 전 | 0

답변 있음

use of polyxpoly to find roots

Hello Vipul, Refer to the following documentation for understanding how 'ployxpoly' works: https://www.mathworks.com/help/ma...

use of polyxpoly to find roots

Hello Vipul, Refer to the following documentation for understanding how 'ployxpoly' works: https://www.mathworks.com/help/ma...

3달 전 | 0

답변 있음

How can I solve this question

Hello, As mentioned in the above comments, there are enough hints in question. This exercise will benefit you in understanding ...

How can I solve this question

Hello, As mentioned in the above comments, there are enough hints in question. This exercise will benefit you in understanding ...

3달 전 | 0

답변 있음

How can I connect my equations for a shear/bending moment diagram?

Hello, I would recommend you to take a look at this question which deals with the similar issue of plotting shear force and b...

How can I connect my equations for a shear/bending moment diagram?

Hello, I would recommend you to take a look at this question which deals with the similar issue of plotting shear force and b...

3달 전 | 0

답변 있음

Figuring out the stimulus of FitzHugh Nagumo equations with ode45

Hello Kate, Refer to the following documentation link to understand how to solve system of differential equations. Also refer t...

Figuring out the stimulus of FitzHugh Nagumo equations with ode45

Hello Kate, Refer to the following documentation link to understand how to solve system of differential equations. Also refer t...

5달 전 | 0

답변 있음

ode45 for Thwaites Method

Hello Zachary, Refer to the following documentation link of ‘ode45’ function. This will give your better insights into how to u...

ode45 for Thwaites Method

Hello Zachary, Refer to the following documentation link of ‘ode45’ function. This will give your better insights into how to u...

5달 전 | 0

답변 있음

How can I get this function to run with a Tolerance of 10^-7 while keeping the same numerical outputs

Hello Savana, I am assuming that the above question in the extension of your earlier question (https://www.mathworks.com/matlab...

How can I get this function to run with a Tolerance of 10^-7 while keeping the same numerical outputs

Hello Savana, I am assuming that the above question in the extension of your earlier question (https://www.mathworks.com/matlab...

5달 전 | 0

답변 있음

How to get this help file to run

Hello Savana, The issue which you are facing is not clear from your question and code. I found a similar question you posted ...

How to get this help file to run

Hello Savana, The issue which you are facing is not clear from your question and code. I found a similar question you posted ...

5달 전 | 0

답변 있음

Numerical simulation of population growth

Hello Clementine, As mentioned above, if you are dealing with ODE refer to following documentation of 'ode45' to solve the ODE:...

Numerical simulation of population growth

Hello Clementine, As mentioned above, if you are dealing with ODE refer to following documentation of 'ode45' to solve the ODE:...

5달 전 | 0

답변 있음

How to input this Gauss-seidel problem into the following code( code might need work)

Hello Steven, I am assuming that you are using the code written by someone else for your homework question. For your problem,...

How to input this Gauss-seidel problem into the following code( code might need work)

Hello Steven, I am assuming that you are using the code written by someone else for your homework question. For your problem,...

5달 전 | 0

답변 있음

How do I set up code for an RK4 Method?

Hello Christina, Refer to following MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/434525-how-to-create-rung...

How do I set up code for an RK4 Method?

Hello Christina, Refer to following MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/434525-how-to-create-rung...

5달 전 | 0

답변 있음

Euler method and Graph

Hello Nasir, Refer to the following function which takes ‘dt’ and ‘y0’ as an input argument and returns the ‘y’ as solution f...

Euler method and Graph

Hello Nasir, Refer to the following function which takes ‘dt’ and ‘y0’ as an input argument and returns the ‘y’ as solution f...

5달 전 | 0

답변 있음

algorithm for computing ? is due to Archimedes: how steps can be repeated

Hello Anastasia, As mentioned in the above comments, I would recommend you to follow the docum...

algorithm for computing ? is due to Archimedes: how steps can be repeated

Hello Anastasia, As mentioned in the above comments, I would recommend you to follow the docum...

5달 전 | 0

답변 있음

Improving performance of a complex for loop

Hello Rafi, From your code and data structure used it is clear that there are two for loops: Outside for loops iterates over t...

Improving performance of a complex for loop

Hello Rafi, From your code and data structure used it is clear that there are two for loops: Outside for loops iterates over t...

5달 전 | 0

| 수락됨

답변 있음

lsqnonlin with vector input and multiple equations.

Hello Emma, The error mentioned is caused because of the way 'function handle' is used (steadystate=@(x) f(x);). In your case...

lsqnonlin with vector input and multiple equations.

Hello Emma, The error mentioned is caused because of the way 'function handle' is used (steadystate=@(x) f(x);). In your case...

5달 전 | 0

답변 있음

fminsearch giving results below initialisation point

Hello Udi, I think this can happen because it depends on the function and starting point (Since 'fminseach' function uses heu...

fminsearch giving results below initialisation point

Hello Udi, I think this can happen because it depends on the function and starting point (Since 'fminseach' function uses heu...

6달 전 | 1

| 수락됨

답변 있음

Is there a way to get the confidence bounds when fitting curves using optimisation toolbox

Hello Kieran, As you noted correctly curve fitting toolbox ('fit') gives the 'goodness of fit' metric whereas optimization ap...

Is there a way to get the confidence bounds when fitting curves using optimisation toolbox

Hello Kieran, As you noted correctly curve fitting toolbox ('fit') gives the 'goodness of fit' metric whereas optimization ap...

6달 전 | 0

답변 있음

Coupled ODE Solver Producing Unexpected Graph

Hello Brooke, Please refer to following documentation for solving coupled system of ODEs https://www.mathworks.com/help/symb...

Coupled ODE Solver Producing Unexpected Graph

Hello Brooke, Please refer to following documentation for solving coupled system of ODEs https://www.mathworks.com/help/symb...

6달 전 | 0

답변 있음

How do convert the following set of time dependent differential equations into a set of discrete equations? Please provide code.

Hello Varun, I am assuming the constant time step 'dt'. Please refer following snipet to get an idea and write the code x(k+...

How do convert the following set of time dependent differential equations into a set of discrete equations? Please provide code.

Hello Varun, I am assuming the constant time step 'dt'. Please refer following snipet to get an idea and write the code x(k+...

6달 전 | 0

답변 있음

1D PDE in Matlab with pdepe, first order

Hello JulianK, ‘pdepe’ is used to solve system of parabolic and elliptic PDEs with one temporal and one spatial variable (Make ...

1D PDE in Matlab with pdepe, first order

Hello JulianK, ‘pdepe’ is used to solve system of parabolic and elliptic PDEs with one temporal and one spatial variable (Make ...

6달 전 | 0

답변 있음

GPU coder : When I use GPU coder to any function, Do I need to type coder.gpu.kernelfun in all subfunctions in the main function?

Hello Lim, I think, Dynamic kernel invocation i.e calling kernels from within kernels is not supported by GPU coder yet. Theref...

GPU coder : When I use GPU coder to any function, Do I need to type coder.gpu.kernelfun in all subfunctions in the main function?

Hello Lim, I think, Dynamic kernel invocation i.e calling kernels from within kernels is not supported by GPU coder yet. Theref...

7달 전 | 0

| 수락됨

답변 있음

Plotting Streamlines that start from the origin for each streamline

Hello Omar, I suggest you to refer this documentataion for plotting streamlines. ~Pravin

Plotting Streamlines that start from the origin for each streamline

Hello Omar, I suggest you to refer this documentataion for plotting streamlines. ~Pravin

7달 전 | 0

답변 있음

How do I create a function to select the right excel table and data from this table with given parameters?

Hello, Refer following code to load the data in MATLAB workspace: [~,sheet_name]=xlsfinfo('Book1.xlsx'); % 'Book1.xlsx' is t...

How do I create a function to select the right excel table and data from this table with given parameters?

Hello, Refer following code to load the data in MATLAB workspace: [~,sheet_name]=xlsfinfo('Book1.xlsx'); % 'Book1.xlsx' is t...

8달 전 | 0

답변 있음

Write a function file finds real roots for any function f(x).

Hello Timothy, Please refer to following documentation which may help you in writing the function: https://www.mathworks.com...

Write a function file finds real roots for any function f(x).

Hello Timothy, Please refer to following documentation which may help you in writing the function: https://www.mathworks.com...

8달 전 | 0

답변 있음

Can someone help us modify our current code in order to store all of the desired output variables as columns of a single file?

Hello Steve, The objective mentioned in the question can be easily achieved by using the ‘save’ command. Refer following exam...

Can someone help us modify our current code in order to store all of the desired output variables as columns of a single file?

Hello Steve, The objective mentioned in the question can be easily achieved by using the ‘save’ command. Refer following exam...

8달 전 | 0