# Mohith Kulkarni

### MathWorks

I am an Application Support Engineer at Mathworks.

Disclaimer: Any articles/ ideas/ opinions here are my own and in no way reflect that of Mathworks.

**Statistics**

RANK**1 126**

of 246 842

REPUTATION**42**

CONTRIBUTIONS

**0** Questions

**31** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**3**

RANK

of 17 218

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to use Grid search to find the optimal hyperparameters ?

Use the 'OptimizeHyperparameters' Name-Value pair argument to specify the Parameters to optimize when creating the 'Classificati...

12 månader ago | 0

How do I interpolate values within a while loop?

You can use the interp1 function to interpolate the vector in the iteration when a new non zero value is added to the vector. Yo...

12 månader ago | 0

| accepted

Problem while simulating control surfaces of an aircraft in simulink (Code Attached)

If there is a division by 0 or may be trigonometric infinity solutions. Here 'NaN' is the breakpoint. To solve these type of er...

12 månader ago | 0

How can I convert Stereo Image Rectification into a Simulink Model?

You can include MATLAB code in models that generate embeddable C code by using the MATLAB function block. Include MATLAB code ...

12 månader ago | 0

Recreating a one-mass model from study

Simulink provides Transfer Fcn block in the Simulink/Continuous Library. The Transfer Fcn block models a linear system by a tran...

12 månader ago | 0

PCA_Principal component analysis -Dimension reduction

The pca function returns the principal component coefficients, also known as loadings, for the n-by-p data matrix X. Rows of X c...

12 månader ago | 0

How to save each iteration of a nested for loop into a matrix

You are trying to create a result matrix which stores the max value of each row in each record. In what you are trying to do the...

12 månader ago | 0

| accepted

Some apps missing from app gallery in Simulink

Contact your sales representative to get detailed understanding of your license terms. If you don't know who your sales represen...

ungefär ett år ago | 0

| accepted

How to save different mat files from different folders in a cell array

If the goal is to store each mat file in a separate cell with the data of the variables each of the mat files concatenated into ...

ungefär ett år ago | 0

| accepted

How should I do to use `readBinaryOccupancyGrid`?

OccupancyGrid is the custom MATLAB implementation of nav_msgs/OccupancyGrid type. readBinaryOccupancyGrid is a method of Occupan...

ungefär ett år ago | 0

Speed up a running code

The following provides information on tools within MATLAB that can help you optimize the performance of your code. 1. The first...

ungefär ett år ago | 0

Calculating per year slope using daily time series data

Here is the workaround to get your desired B matrix. This code runs a loop through the TT1 to find the next time stamp of the 30...

ungefär ett år ago | 0

graphing with a matrix using matlab

To plot the equation, refer to the code below. A = [1 0 0 3; 0 1 0 6; 0 0 1 5] B = A(:,end) %last column for a,b,c x =...

ungefär ett år ago | 0

Matlab Fuzzy Logic Toolbox - OR statement in one input

The addrule function is supporting only one membership function for each input. Even if you add the rule with OR connectiion bet...

ungefär ett år ago | 0

restrict the number of threads MATLAB starts?

By default, MATLAB uses the multithreading capabilities of the computer on which it is running. You can specify the startup op...

ungefär ett år ago | 0

Target time on model status bar will not update.

Hello, You can enable the target time updating by executing the below MATLAB command in the MATLAB command window as the error ...

ungefär ett år ago | 0

Input Process Settings fitnet not working properly

Hi Aditya, Unfortunately, this seems likely to be a bug. I have brought this issue to the notice of our developers. They wil...

ungefär ett år ago | 0

| accepted

lstm regression (Initial learning rate and training options)

The parameter is 'InitialLearnRate' and not 'InitialLearningRate'. check Solver Options section of the trainingOptions function...

ungefär ett år ago | 0

| accepted

Perform Co-Simulation between Simulink and Gazebo

The multiSensorPluginTest.world is located in /home/user/src/GazeboPlugin/world folder. This world file includes the Gazebo plug...

ungefär ett år ago | 1

How to Make Simpsons Rule UDF

It is a valid simpsons rule implementation. Let me break the line down. sr=(h/3)*(f(x(1))+2*sum(f(x(3:2:end-2)))+4*sum(f(x(2:2:...

ungefär ett år ago | 0

How to use the steepest descent method to solve a function to find the unknown parameters value

You have to post the error you are facing and post the code using the editor as it is hard to read this way. I have tried to ru...

ungefär ett år ago | 0

How to clear CurrentCharacter

You can use a temporary figure to check for key press. Refer to the code below for a workaround if Z == 1 if ZZ == 1 ...

ungefär ett år ago | 0

How bayesopt find kernel parameters

By default the optimize parameter is set to 0 for the fitrgp KernelFunction and KernelScale hyperparmeters. Refer to the below c...

ungefär ett år ago | 0

Help with loop and tracking values.

Hi, you are trying to find the values of "zeta2" for which the values in "B" are <= 0.05 for the last 151 rows(concluded this fr...

ungefär ett år ago | 0

How to import data from excel to be used on a 3-D lookup table in Simulink?

Hi, You can create a spreadsheetDatastore object to read data from multiple sheets into MATLAB. Refer to the example code below...

ungefär ett år ago | 0

Aggregate multiple CSV files as an average for each cell individually and result in one CSV file with different rows in each source file.

Hi Sherwan, Here is the solution to your problem. I have made changes to the solution you posted. files = ls ('E:\test\*.csv')...

ungefär ett år ago | 0

| accepted

Modelling Open Circuit Test of Single Phase Transformer using Simulink

Hello, You will have to install Simscape and Simscape electrical from the simulink add-on explorer to access the transformer bl...

ungefär ett år ago | 0

evalin data dictionary design data unable to use parameters on rhs of expression

The "evalin" function for data dictionary section does not support the expressions where the value contains data entries as of n...

mer än ett år ago | 1

| accepted

Matlab Function into Python

You can call user scripts from python in the same way. You have to save the MATLAB script in the current folder and call it from...

mer än ett år ago | 0

manually label data from a variable while looping through and save the labelled data in a new variable

Hi, you would like to review each plot in the loop and store the good samples. To do this, you can use "pushbutton" style proper...

mer än ett år ago | 1

| accepted