I am an Application Support Engineer at MathWorks.

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

Answered

How to plot test error for different hyper parameter settings?

Hi Israt, As per my understanding, You may want to combine plots into a single graph. For this you may use hold on. You may loo...

How to plot test error for different hyper parameter settings?

Hi Israt, As per my understanding, You may want to combine plots into a single graph. For this you may use hold on. You may loo...

3 mois ago | 0

Answered

Multiple 2D contour plots in a single 3D plot

Hi, As per my understanding, you will not be able to do this. There is no Property as such. You are plotting contour on XY axi...

Multiple 2D contour plots in a single 3D plot

Hi, As per my understanding, you will not be able to do this. There is no Property as such. You are plotting contour on XY axi...

3 mois ago | 0

Answered

Failed to Call Regression Learner's Testing Function

Hi Abhinav, In the picture I can clearly see that error is bacause of unrecognized table variable: For this please check the f...

Failed to Call Regression Learner's Testing Function

Hi Abhinav, In the picture I can clearly see that error is bacause of unrecognized table variable: For this please check the f...

3 mois ago | 0

Answered

Plotting two networks in the same layer using "graph"

Hi Nelson, You may do like this: %creating first graph s = [1 1 2 3 3 3 4 4 5 6 7 7 8]; t = [2 3 6 4 6 8 5 8 9 7 8 9 9]; G ...

Plotting two networks in the same layer using "graph"

Hi Nelson, You may do like this: %creating first graph s = [1 1 2 3 3 3 4 4 5 6 7 7 8]; t = [2 3 6 4 6 8 5 8 9 7 8 9 9]; G ...

3 mois ago | 0

| accepted

Answered

Can someone please help me with this matrix question that I cant answer?

Hi John, You can do like this, but first I will suggest you to watch basic MATLAB from here MATLAB Onramp - MATLAB & Simulink T...

Can someone please help me with this matrix question that I cant answer?

Hi John, You can do like this, but first I will suggest you to watch basic MATLAB from here MATLAB Onramp - MATLAB & Simulink T...

3 mois ago | 0

| accepted

Answered

How to plot derivative vectors on a parabolic trajectory?

Hi Alexander, You may look at this code. I have created tangents at some points of the curve. %at these point of time creating...

How to plot derivative vectors on a parabolic trajectory?

Hi Alexander, You may look at this code. I have created tangents at some points of the curve. %at these point of time creating...

3 mois ago | 0

Answered

Regression Learner Application Testing

Hi Nicholas, There is no option of testing in Regression Learning App. You have to first export the model and save it as mentio...

Regression Learner Application Testing

Hi Nicholas, There is no option of testing in Regression Learning App. You have to first export the model and save it as mentio...

3 mois ago | 0

Answered

How to extract powers of a symbolic polynomial?

Hi Alina, You may first find coefficients of all variables like this: coef = sym2poly(y); Then you can find all the index of ...

How to extract powers of a symbolic polynomial?

Hi Alina, You may first find coefficients of all variables like this: coef = sym2poly(y); Then you can find all the index of ...

3 mois ago | 0

Answered

How to merge overlapping rectangles ?

Hi Rajeshwar, There is no as such function which can remove inscribed rectancles. But you may write a similar code like this ...

How to merge overlapping rectangles ?

Hi Rajeshwar, There is no as such function which can remove inscribed rectancles. But you may write a similar code like this ...

3 mois ago | 0

Answered

Trying to plot contourf onto hgtransform is now blank

Hi, I had found that we cannot use makehgtform in non-square matrices. So, you are not able to produce results. HG.Matrix = ma...

Trying to plot contourf onto hgtransform is now blank

Hi, I had found that we cannot use makehgtform in non-square matrices. So, you are not able to produce results. HG.Matrix = ma...

3 mois ago | 0

| accepted

Answered

for loop reference solution (from coursera) question

Hi Sara, Comment is correct only inside for loop the variable n is instantiated. You may look into this documentation for furt...

for loop reference solution (from coursera) question

Hi Sara, Comment is correct only inside for loop the variable n is instantiated. You may look into this documentation for furt...

3 mois ago | 0

Answered

Expected one output from a curly brace or dot indexing expression, but there were 2 results, when re-initialize an object array

Hi Cheng-Hung, You had done spelling mistake inside the clearArr() function in the following line: obj.obj1_arr = classObj1.em...

Expected one output from a curly brace or dot indexing expression, but there were 2 results, when re-initialize an object array

Hi Cheng-Hung, You had done spelling mistake inside the clearArr() function in the following line: obj.obj1_arr = classObj1.em...

3 mois ago | 0

| accepted

Answered

How can I export Ground Truth in KITTI format (.txt) using Ground Truth Labeler App

Hi Arghya, Here what are you exporting as '.mat' file is of groundTruthLidar object. You can export only content of Labels and ...

How can I export Ground Truth in KITTI format (.txt) using Ground Truth Labeler App

Hi Arghya, Here what are you exporting as '.mat' file is of groundTruthLidar object. You can export only content of Labels and ...

3 mois ago | 0

Answered

Comparing two matrices, as fast as possible

Hi Altemur, I have written a code and I had done intersction of both the matrices column wise without using the for loop. %loa...

Comparing two matrices, as fast as possible

Hi Altemur, I have written a code and I had done intersction of both the matrices column wise without using the for loop. %loa...

3 mois ago | 0

Answered

How to save multiple outputs of segmented in a different folder

Hi Srinidhi, For saving a particular file in different folder you may use this: save(['C:\Users\Abinaya Giri\OneDrive\Desktop\...

How to save multiple outputs of segmented in a different folder

Hi Srinidhi, For saving a particular file in different folder you may use this: save(['C:\Users\Abinaya Giri\OneDrive\Desktop\...

3 mois ago | 0

| accepted

Answered

Finding critical/equilibrium Points of a nonlinear System

Hi Anthony, I assume equilibrium occurs when Dx1 and Dx2 are equal to zero. Now you may calculate the values of x1 and x2 by u...

Finding critical/equilibrium Points of a nonlinear System

Hi Anthony, I assume equilibrium occurs when Dx1 and Dx2 are equal to zero. Now you may calculate the values of x1 and x2 by u...

3 mois ago | 0

Answered

find the global optimum

Hi, You may use this code for your reference: %initializing variables x = optimvar('x'); y = optimvar('y'); prob = optimpro...

find the global optimum

Hi, You may use this code for your reference: %initializing variables x = optimvar('x'); y = optimvar('y'); prob = optimpro...

4 mois ago | 0

Answered

How to auto tune the PID controller using fuzzy logic?

Hi Snehashis, You may look into the similar question here: How can I tune PID controller using Fuzzy logic .......???? - MATLA...

How to auto tune the PID controller using fuzzy logic?

Hi Snehashis, You may look into the similar question here: How can I tune PID controller using Fuzzy logic .......???? - MATLA...

4 mois ago | 0

Answered

how to Integral function with two independent variables ?

Hi, You are using variables and but your limits are on . So I am not able to figure out who are the variables which you want ...

how to Integral function with two independent variables ?

Hi, You are using variables and but your limits are on . So I am not able to figure out who are the variables which you want ...

4 mois ago | 0

Answered

how to do background modelling using for a video using gray relational analysis?

Hi, You may use this file exchange links: https://www.mathworks.com/matlabcentral/fileexchange/41033-background-frame-extracti...

how to do background modelling using for a video using gray relational analysis?

Hi, You may use this file exchange links: https://www.mathworks.com/matlabcentral/fileexchange/41033-background-frame-extracti...

4 mois ago | 0

Answered

R2020b Embedded Coder uses De Morgan's laws for NAND and NOR blocks

Hi Martin, In my information we cannot change this behaviour to old version. Even if we use basic AND and OR gates and create ...

R2020b Embedded Coder uses De Morgan's laws for NAND and NOR blocks

Hi Martin, In my information we cannot change this behaviour to old version. Even if we use basic AND and OR gates and create ...

4 mois ago | 0

| accepted

Answered

Does Xcode version 12.4 works as compiler?

Hi, You may look into these documentation for this query: Is MATLAB compatible with Mac OS X 10.11 (El Capitan)? - MATLAB Answ...

Does Xcode version 12.4 works as compiler?

Hi, You may look into these documentation for this query: Is MATLAB compatible with Mac OS X 10.11 (El Capitan)? - MATLAB Answ...

4 mois ago | 0

Answered

Unrecognized function or variable 'ResetParamButton_Callback' one the buttons I initially created in GUI

Hi Shirley, Looks like you are accessing old finalWar.m in which there is no function called ResetParamButton_Callback. You may...

Unrecognized function or variable 'ResetParamButton_Callback' one the buttons I initially created in GUI

Hi Shirley, Looks like you are accessing old finalWar.m in which there is no function called ResetParamButton_Callback. You may...

4 mois ago | 0

Answered

Simulation 3D Lidar Z-coordinate is wrong

Hi, I have used an example Lidar SLAM in 3D Simulation and I have found that minimum value of Z axis -1.5938. You may run this ...

Simulation 3D Lidar Z-coordinate is wrong

Hi, I have used an example Lidar SLAM in 3D Simulation and I have found that minimum value of Z axis -1.5938. You may run this ...

4 mois ago | 0

Answered

symbolic integer, Why doesn't it work?

Hi Katalin, You may try this: syms k t evalin(symengine,'assume(n,Type::Integer)'); n = 3; %taking input from workspace ...

symbolic integer, Why doesn't it work?

Hi Katalin, You may try this: syms k t evalin(symengine,'assume(n,Type::Integer)'); n = 3; %taking input from workspace ...

4 mois ago | 0

Answered

Did not start the server

Hi Shweta, You may look into the following asked question, which has some of the workarounds: Did not start the server. Desire...

Did not start the server

Hi Shweta, You may look into the following asked question, which has some of the workarounds: Did not start the server. Desire...

4 mois ago | 0

Answered

The units of the eig function

Hi Johannes, In my point of view eigenvalues should be unit less. As it comes from following equation: So, if Identity matri...

The units of the eig function

Hi Johannes, In my point of view eigenvalues should be unit less. As it comes from following equation: So, if Identity matri...

4 mois ago | 0

Answered

How to set a general ylabel in the right side of a figure composed of various tiles?

Hi Gerardo, You may use this code snippet to label Xlabel with left label and right label at a time: for i=1:2 set( get(subpl...

How to set a general ylabel in the right side of a figure composed of various tiles?

Hi Gerardo, You may use this code snippet to label Xlabel with left label and right label at a time: for i=1:2 set( get(subpl...

4 mois ago | 0

Answered

how to store more than one value in same cell array when we loop

Hi, Yes we can create a cell array with elements in it having different lengths. You may look at the code: Cell_array = cell(3...

how to store more than one value in same cell array when we loop

Hi, Yes we can create a cell array with elements in it having different lengths. You may look at the code: Cell_array = cell(3...

4 mois ago | 0

Answered

How to solve equation AX=B where A is symmetric like matrix ?

Hi Phanindra, You may look use this code for your reference: syms b1 b2 x1 x2 A = magic(4); %random 4*4 matrix x = [x1;x2;4;...

How to solve equation AX=B where A is symmetric like matrix ?

Hi Phanindra, You may look use this code for your reference: syms b1 b2 x1 x2 A = magic(4); %random 4*4 matrix x = [x1;x2;4;...

4 mois ago | 1