Community Profile

photo

Rohit Pappu

Last seen: 1 month ago Active since 2020

Programming Languages:
C++, Javascript

Statistics

All
  • CUP Challenge Master
  • Knowledgeable Level 4
  • Revival Level 3
  • 6 Month Streak
  • MATLAB Central Treasure Hunt Finisher
  • Introduction to MATLAB Master
  • Promoter
  • Solver
  • First Answer

View badges

Content Feed

View by

Answered
Export data via data inspector
Hi Beni, As of R2023a, Simulink.sdi.exportRun accepts vector of runID as input argument. Please refer to this documentation ...

11 months ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

Answered
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

3 years ago | 0

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

3 years ago | 1

| accepted

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

3 years ago | 0

| accepted

Answered
How to convert augmented datastore to image datastore?
For augmening input data in the pixelLabelImageDatastore, the Data Augmentation property of pixelLabelImageDatastore can be set....

3 years ago | 0

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

3 years ago | 0

| accepted

Answered
How to solve a transcendental differential equation?
Please refer to this community answer

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

Answered
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

3 years ago | 0

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

3 years ago | 0

Answered
Monitor Deep Learning Training Progress
I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

3 years ago | 0

| accepted

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

3 years ago | 0

Answered
offboard control using Mavlink message
Please refer to this link

3 years ago | 0

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

3 years ago | 0

Answered
Solve symbolic differential equation
Please refer to Solve Differential Equation

3 years ago | 0

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

3 years ago | 2

Answered
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

3 years ago | 0

Answered
When does Matlab consider a Neural Network deep?
trainNetwork works with Deep Learning Layers. Additional Information can be found here

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 2

| accepted

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

3 years ago | 0

| accepted

Answered
Mac Bic Sur + R2020b
Gatekeeper could be preventing the installation of MATLAB. Please refer to this answer for a workaround

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

Load more