# Rohit Pappu

### MathWorks

**Programming Languages:**

C++, Javascript

**Statistics**

RANK**559**

of 247.112

REPUTATION**104**

CONTRIBUTIONS

**0** Questions

**87** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**9**

RANK

of 17.228

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

Injecting (and combining) a sine wave after a period of time

A plausible solution is as follows Generate the required sinusoidal signal %define sine wave %%Time specifications: Fs = ...

8 meses ago | 0

finding peaks in Simulink

findpeaks accepts only vector data as it's input arguments. A possible workaround would be to use a Buffer block in between Simu...

8 meses ago | 0

User Defined Montage but filling 12x8 Array

A possible workaround is as follows % Create an empty cell array of size 12x8 imgList = cell(96); % calculate the cell arra...

8 meses ago | 0

Calculate mean distance between lines in an image

For extracting the straight lines, a plausible solution is as follows Find edges in the image using edge function Apply hough ...

8 meses ago | 0

How to create 95 and 99 percent confidence ellipses around my data

Please refer to this answer for leads on how to plot confidence ellipses

9 meses ago | 0

Plot 2D Gaussian spot and histograms of horizontal and vertical axis in one figure

The above diagram can be created using subplot (for creating the grid of plots) and camroll (for rotating the histogram) % Crea...

9 meses ago | 1

| accepted

Finding circle in image

Please refer to the following answer for some tips on how to improvecircle detection using regionprops https://www.mathworks.co...

9 meses ago | 0

| accepted

How to convert augmented datastore to image datastore?

For augmening input data in the pixelLabelImageDatastore, the Data Augmentation property of pixelLabelImageDatastore can be set....

9 meses ago | 0

Which App in Machine Learning and Deep Learning is best for strongly nonlinear and chaotic data?

For Nonlinear datasets, it is recommended to use fitnlm. An example about predicting using non linear regression can be found he...

9 meses ago | 0

| accepted

How to solve a transcendental differential equation?

Please refer to this community answer

9 meses ago | 0

how can we generate a vector of length 100 with random number in between 0 and 1 with uniform probability such that sum of these numbers/100 is equal to 0.75

Please use randfixedsum, available on the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vecto...

9 meses ago | 0

| accepted

How to create a dataset with an Epsilon Skew Normal distribution?

Currently, there isn't any MATLAB function to generate Epsilon Skew Normal DIstribution, but there is a workaround for it. Plea...

9 meses ago | 0

How can we solve this, how to convert mupad to live script?

Please refer to the following link - https://www.mathworks.com/help/symbolic/convert-mupad-notebooks-to-matlab.html

9 meses ago | 0

relative error of machine epsilon

According to the formal definition, the approximation of Machine Epsilon is as follows epsilon = 1.0; while (1.0 + 0.5 * eps...

10 meses ago | 0

Create a function myPrimes that returns the first n primes as a vector, given a positive integer. For example, if the positive integer is 5, the vector returned would include 1, 2, 3, 5, 7. In your script, prompt the user for the positive integer val

Refactor the first two lines to clc; n=input('Prime Numbers until:'); output = myPrimes(n) Edit : Addressed @Rik 's feedba...

10 meses ago | 0

Monitor Deep Learning Training Progress

I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

10 meses ago | 0

| accepted

What is the triangular and rectangle block symbols in this model, from the two pictures?

The triangular block is a Gain Block while the Temperature Sensor could be a subsystem. As an alternative option, Ideal Temperat...

10 meses ago | 0

Reduce read (characteristic) timeout for BLE

As of the current release, the default timeout of read cannot be configured. If a given characteristic supports 'Notify' attrib...

10 meses ago | 0

Solve symbolic differential equation

Please refer to Solve Differential Equation

10 meses ago | 0

Lanczos kernel for image resizing (imresize function)

The Lanczos-2 algorithm precalculates the coefficients based on the resize factor. The model calls the lanczos2_coeffi.m script ...

10 meses ago | 2

MatLab r2020b from Database Toolbox - How to Configure Data Source from Microsoft 2016 MSExcel(64Bit) & MSAccess(64bit)

The data source configuration can be done using configureODBCDataSource. Additional documentation can be found here

10 meses ago | 0

When does Matlab consider a Neural Network deep?

trainNetwork works with Deep Learning Layers. Additional Information can be found here

10 meses ago | 0

How can I solve mini-batch size issue in my LSTM network?

A plausible solution would be to Change the MiniBatch SIze to 114 Convert Xcell, Ycell, and XTestCell to double type Xcell = ...

10 meses ago | 0

| accepted

Can't use laplace transformed expression with transfer function.

A plausible solution is as follows % Collect the coefficients of r2 h = collect(r2); % Split the coefficients into numerator ...

10 meses ago | 2

| accepted

optical power vs distance

A plausible solution clf; figure; % Create a distance vector of range 1m to 3m distance = linspace(1,3,101); hold on % plo...

10 meses ago | 0

| accepted

Mac Bic Sur + R2020b

Gatekeeper could be preventing the installation of MATLAB. Please refer to this answer for a workaround

10 meses ago | 0

How to plot a sphere using PLOTCUBE command?

A possible solution is as follows clf; figure hold on tic % Using spherical coordinates to plot the cubes for r = linspace...

10 meses ago | 0

Power spectrum of an image

To plot the power spectrum of an image, periodogram can be used. An example usage I = imread('dummy.jpg'); % Plots the perio...

10 meses ago | 0

PLotting Fibonacci Ratios against phi

Refactored version of your code % Ratio comparer% Phi = ((1 + sqrt(5))/2); GR = 1; i = 1; error =abs(Phi-GR) % Initialize t...

10 meses ago | 0