Community Profile

# Shubham Rawat

### MathWorks

104 total contributions since 2020

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.

View details...

Contributions in
View by

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...

alrededor de 1 mes ago | 0

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...

alrededor de 1 mes ago | 0

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...

alrededor de 2 meses ago | 0

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 ...

alrededor de 2 meses ago | 0

| accepted

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

alrededor de 2 meses ago | 0

| accepted

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...

alrededor de 2 meses ago | 0

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...

alrededor de 2 meses ago | 0

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 ...

alrededor de 2 meses ago | 0

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 ...

alrededor de 2 meses ago | 0

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...

alrededor de 2 meses ago | 0

| accepted

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...

alrededor de 2 meses ago | 0

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...

alrededor de 2 meses ago | 0

| accepted

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 ...

alrededor de 2 meses ago | 0

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...

alrededor de 2 meses ago | 0

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\...

alrededor de 2 meses ago | 0

| accepted

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...

alrededor de 2 meses ago | 0

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

3 meses ago | 0

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...

3 meses ago | 0

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 ...

3 meses ago | 0

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...

3 meses ago | 0

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 ...

3 meses ago | 0

| accepted

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...

3 meses ago | 0

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...

3 meses ago | 0

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 ...

3 meses ago | 0

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 ...

3 meses ago | 0

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...

3 meses ago | 0

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...

3 meses ago | 0

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...

3 meses ago | 0