Community Profile

# Dheeraj Singh

### MathWorks

54 total contributions since 2019

I am an Application Support Engineer in EDG Mathworks .

Disclaimer : Any advice or opinions here are my own and in no way reflect that of Mathworks .

View details...

Contributions in
View by

How to save a neural network to test on a new dataset?
save will generally save all the variables present in the workspace at point of time. So, instead of saving the model inside th...

1 year ago | 0

| accepted

Code for capturing angle of knee. hip and ankle using motion capture.
You can refer to the following link to get started on Motion Tracking and estimation: https://in.mathworks.com/help/vision/trac...

1 year ago | 0

for loop mixing the results with the previous loops
The issue is that for loop variable ind is outside the for loop You can try the following code: converted = table2array(import...

1 year ago | 0

1 year ago | 0

struct with timeseries fields to Excel
You can use the following code for implementing the above: arr = struct2array(test_data); t = array2table([arr.Time;arr.Data],...

1 year ago | 0

How to prepare the Input for feedforward neural network?
You can refer to the following example where Machine Learning techniques have been used on EEG data: https://in.mathworks.com/c...

1 year ago | 0

On my iMac Pro, Matlab 2019b just cannot open.

1 year ago | 0

Simulating vehicles that doesn't collide with each other
One of basic approaches, as you have suggested, can be based on Euclidean distance between the two vehicles. This can be achieve...

1 year ago | 1

| accepted

Worst-case linear-time order statistics Selecting
You can simply do something like this: array=randperm(100,21) noOfGroups=ceil(numel(array)/5); medianGroup=zeros(noOfGroups...

1 year ago | 0

How to find the maximum of a normalized fit of a histogram
You can use histcountsto find the frequency of each bin. N=histcounts(All_Data,200); Then use max to find the max value and th...

1 year ago | 0

Circumvent the 'array exceeds maximum array size preference' error
You can have a look at imageDatastore. It can be useful for managing a collection of image files, where each individual file fit...

1 year ago | 0

LSTM with data sequence including NaN values
Too much padding can have negative impact on the network performance. To prevent the training process from adding too much paddi...

1 year ago | 0

spectralcluster error during kmeans for large number of clusters
For estimating the number of clusters, you can use the following Tips: Consider using spectral clustering when the clusters in ...

1 year ago | 0

Account problems installing on a Mac

1 year ago | 0

I am trying to install R2019a but it wont let me open the app it only redirects me to the activation module to fill out over and over again. Anyone know how to fix this?

1 year ago | 0

Graph Shortest Path (Non-Negative Directed Graph)
There can be two issues: There is no path without including the edge There are other edges with higher edge_weights due to w...

1 year ago | 0

I installed statistics and machine learning tool box but it won't work

1 year ago | 0

1 year ago | 0

licensing error with campus licence, Error: -5,357

1 year ago | 0

| accepted

Challenges Installing Online Files

1 year ago | 0

1 year ago | 0

2 variables in single cell
You can try the following approach: First you can make cell for all processes and populate it with duration of all processes i...

1 year ago | 0

Can't use Symbolic Toolbox after buying it and installing it

1 year ago | 0

I have a large array of small integer inputs and want to create a small array of Double outputs. Best machine learning approach?
As the number of data samples are less than no of features, if we use all the features then it can degrade the prediction perfor...

1 year ago | 1

| accepted

reading and Image and classifying This using KNN stages
To answer your question first we need to understand what KNN is and how it works. KNN stands for K-nearest neighbors, which is ...

1 year ago | 0

| accepted

How to classify tree seedlings with machine learning
For removing the background, you can refer to the following example for colored Images: https://in.mathworks.com/help/images/co...

2 years ago | 0

How to extract data and use the curve fitting toolbox to do a regression analysis?
For finding frequency of events you can use tabulate . You can then load the data using the curve fitting toolbox and then use R...

2 years ago | 0

| accepted

What is the difference between the fit functions of regression model and the train regression models in regression learner app?
As per the documentation of fitrensemble it returns the trained regression ensemble model object (Mdl) that contains the results...

2 years ago | 0