Community Profile

photo

Nitin Khola

MathWorks

Last seen: 2 months ago Active since 2015

I am a machine learning developer at MathWorks.

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How to add points to a trained GP?
Hi Jonathan, You are on the right track. I agree that this can be very tedious. Figuring out the right parameters to pass to ...

3 years ago | 1

Answered
How can I specify position and exclude repeated characters using regexp?
Thanks for providing a detailed question. From what I understand, I think you are just looking for sequences that have only ...

6 years ago | 0

Answered
How do I calculate the static Kalman gain (= steady-state Kalman gain)?
A popular FileExchange submission "Kalman Filter Package" might have some functionality coded for you. The following is the link...

6 years ago | 0

Answered
sum matrix by group using logical operators and "if"
As you mentioned towards the end of your question, you can append to your original data matrix, another column of group IDs and ...

6 years ago | 0

| accepted

Answered
Why is my plot plotting blank?
As Walter has mentioned, Vx in this case is a scalar. Refer to the last bullet in the description for plot(X,Y) by following the...

6 years ago | 0

Answered
what is the detailed code/theory behind the cpsd function?
Hi Yang, If you type, "edit cpsd" on your command window. The function "cpsd" will open in editor. As you will be able to se...

6 years ago | 0

Answered
Why do I receive NaN values with the tsmovavg function from Financial Toolbox 5.6?
Hi Matthew, This is expected behavior. In the Answers post you mentioned in your question, the reason for such a behavior ha...

6 years ago | 0

| accepted

Answered
Problem with syntax of Errorbar function
My understanding is that in one of the plots you wish to have errorbars and in the other, you want to have some markers at the e...

6 years ago | 0

Answered
How do I formulate soft margin SVM in primal form for quadprog function?
My answer is based on the following Wikipedia article and documentation links. Refer to these links for notation related questio...

6 years ago | 1

Answered
How can I model a ground floor on 2nd generation for a drone?
My understanding is that you want to model a floor. To achieve that you will have to implement your own contact forces library. ...

6 years ago | 0

Answered
Neural Network input error
This appears to be a dimension mismatch issue. If you are new to using the Neural Network Toolbox, I would strongly recommend us...

6 years ago | 0

Answered
Does anyone know how the Hammerstein-Wiener model represents the piecewise nonlinear functions?
Refer to the following documentation link. It covers some of the concepts that might be of help to you: http://www.mathworks.co...

6 years ago | 0

Answered
Repmat converts '' to []
Thanks for bringing this to the fore. At this instance, this appears to be an issue with the variable editor and not "repmat". Y...

6 years ago | 0

| accepted

Answered
Datacursor in a for-loop surface plot
You can use the "text" object to place your text at a specific data point in your plot. In your case, I think the text contains ...

6 years ago | 0

Answered
Plotting the contours of 1D dimensional data
I am assuming that f3(x,y) is a function of f1(x,y) and f2(x,y) i.e. for f3 = Fcn(f1,f2), implying there exists one value of f3 ...

6 years ago | 0

Answered
How to read *.inp file and replace specific lines in the file
My understanding is that you want to read a file and modify data. A workflow that I can suggest is to start with the import tool...

6 years ago | 0

Answered
"Reshaping" matrix
My understanding is that you want to reshape an array that is of size "CxDxB", xgrid to another array of size "AxDxB". So that y...

6 years ago | 0

Answered
Vector Newton Raphson Method coding help
The error message that you are getting has been discussed here: http://www.mathworks.com/matlabcentral/answers/93586-why-do-i-...

6 years ago | 0

Answered
Library pane in Report Generator is gone?!?!
If the Report Explorer window opens with only two panes, one of the panes is hidden. You can move the vertical boundaries betwee...

6 years ago | 0

Answered
ODE45 and dsolve result discrepency
Hey Ridwad, I understand you are facing discrepancies in solutions from "dsolve" and "ode45" for zero initial conditions. It...

6 years ago | 2

| accepted

Answered
How can I get fsolve to not display duplicate answers in a loop?
I understand that you wish to solve your system of equations for a set of values of parameters a and b. I tried to solve the ...

6 years ago | 0

Answered
How can I add a workspace variable that is generated in a loop?
A possible approach to solve this issue is to generate report using components in the Report Generator app. For your case, the c...

6 years ago | 1

| accepted

Answered
Computational Fluid Dynamics (CFD) and Matlab?
Yes, MATLAB can be used to visualize data for turbulent flows. One of the examples would be the MATLAB code available on the Joh...

6 years ago | 3

Answered
how do I interpret power density/FFT plot of a temperature-time series?
The fast Fourier transform (fft) is an algorithm for calculating a discrete Fourier transform of a sequence. The Fourier transfo...

6 years ago | 0

Answered
Solving a 9x9 matrix in which all values are a 1x361 matrix
I understand that you are trying to solve a system of linear equations for every angle using the backslash operator. I am assumi...

6 years ago | 0

Answered
How can I change the color of a map given shapefile and values?
As per my understanding, you wish to change the 'FaceColor' of polygons depicting provinces, as per some particular data values,...

6 years ago | 1

Answered
Fitness limit check in genetic algorithm
I am assuming you are using the Optimization app. As per my understanding, you wish to confirm if Fitness Limit is a stopping cr...

6 years ago | 0

Answered
How to encompass a half-hour block of time?
As per my understanding, you wish to retrieve indices corresponding to values within a half hour interval, from a matrix which h...

6 years ago | 0

| accepted

Answered
how to set background of the color map with shape file/image in hand
As per my understanding, you wish to set the background of the given colormap to a map outline imported from a shapefile. I am a...

6 years ago | 1