# Mohith Kulkarni

### MathWorks

Last seen: 3 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

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.

#### Feeds

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

4 years 前 | 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...

4 years 前 | 0

| 已接受

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

4 years 前 | 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 ...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 0

| 已接受

Some apps missing from app gallery in Simulink

4 years 前 | 0

| 已接受

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

4 years 前 | 0

| 已接受

How should I do to use `readBinaryOccupancyGrid`?
OccupancyGrid is the custom MATLAB implementation of nav_msgs/OccupancyGrid type. readBinaryOccupancyGrid is a method of Occupan...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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 =...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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 ...

4 years 前 | 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...

4 years 前 | 0

| 已接受

lstm regression (Initial learning rate and training options)
The parameter is 'InitialLearnRate' and not 'InitialLearningRate'. check Solver Options section of the trainingOptions function...

4 years 前 | 0

| 已接受

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

4 years 前 | 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:...

4 years 前 | 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...

4 years 前 | 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 ...

4 years 前 | 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...

4 years 前 | 1

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

4 years 前 | 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...

4 years 前 | 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')...

4 years 前 | 0

| 已接受

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

4 years 前 | 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...

4 years 前 | 1

| 已接受

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

4 years 前 | 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...

4 years 前 | 1

| 已接受