Community Profile

# Shubham Rawat

### MathWorks

Last seen: 7 days ago Active 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 badges

#### Content Feed

View by

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

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

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

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

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

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

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

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

10 months ago | 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 months 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;...

12 months ago | 1