photo

Ayush Aniket


Last seen: 19 days ago Active since 2017

Followers: 1   Following: 0

Programming Languages:
MATLAB

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to use index an image using color inequality?
One of the ways you can do this is by computing the Euclidean distance between each pixel's color and the target RGB, and then c...

18 days ago | 0

Answered
How does multithresh and imquantize works
In MATLAB, multithresh is used to compute multiple threshold values for image segmentation. It is an extension of Otsu's method,...

18 days ago | 0

Answered
Regarding Regression cofficient in ANN
In the context of Artificial Neural Networks (ANN) in MATLAB, the regression plot typically shows the correlation coefficient (R...

19 days ago | 0

Answered
How is ComponentProportion calculated by fitgmdist
The ComponentProportion values in a Gaussian Mixture Model (GMM) created using fitgmdist in MATLAB do not directly reflect the o...

19 days ago | 0

| accepted

Answered
Could I use a function to achieve this task?
To automate the generation of multiple wave sources along a diagonal line and introduce a time delay between each, you can defin...

19 days ago | 0

Answered
Hi, help with bootsrap
You want to draw 10,000 samples of size 120 from a vector of size 532 with replacement following bootstrap resampling. Using the...

21 days ago | 0

Answered
How to plot a function using gradient descent method?
To plot function and iterative value of the variables in MATLAB using gradient descent, you need to: Define the function. Com...

23 days ago | 0

Answered
How will an Optimization Algorithm search inside an already trained neural network??
You can write a custom objective function and use it in the fmincon MATLAB function to link a trained ANN with an optimization a...

24 days ago | 0

Answered
Correct anova1 application
In the context of your simulations and the use of one-way ANOVA in MATLAB, the concept of "groups" is crucial for setting up you...

25 days ago | 0

Answered
How to quantify variance explained from PCA?
To quantify the variance explained by PCA and apply the principal components derived from your training data to your test data, ...

25 days ago | 0

Answered
Adjust classifier performance (sensitivity & specificity)
To balance the sensitivity and specificity of your classifier, especially in the context of imbalanced binary data, you can try ...

25 days ago | 0

Answered
Apply 'rotatefactors' on the observations to represent them in the new factorial design (PCA)
Yes, your approach to compute the new scores after applying a rotation to the principal components is correct. When you apply ro...

26 days ago | 0

Answered
How to specify same length scale for different predictors in fitrgp?
To fix the same length scale for certain predictors in a Gaussian Process Regression (GPR) model using MATLAB's fitrgp, you can ...

26 days ago | 0

Answered
Is there an alternative for biplot to plot Principle Component Analysis (PCA) scores (like frequency/density score plot)?
When dealing with large datasets, plotting all the data points can indeed exhaust your system's memory. Here are a few strategie...

27 days ago | 0

Answered
How to decide value of 'ndim' when using ,[residuals,reconstructed] = pcares(X,ndim) , for Feature size reduction using PCA?
In MATLAB, you can experiment with different values of ndim (the number of retained components) to see which works best for your...

27 days ago | 0

Answered
How do I test the significance of a population correlation coefficient?
There is no direct fundtion in MATLAB for testing the significance of the population correlation coefficient. To assess the si...

28 days ago | 0

Answered
Translating values to gradient color scale
To translate the values of "Component 1" from your PCA results into a color gradient map and use it for color-coding another plo...

2 months ago | 0

Answered
How to access each classifier's predicted class and accuracy from the 'fitcensemble' function generated model?
In ensemble methods like bagging, MATLAB combines votes using majority voting (averaging) for classification. Each classifier in...

2 months ago | 0

Answered
Error Invalid Training Data- Predictors must be a N-by-1 cell array of sequences?
Based on the error message, the error occurs due to discrepancy between the expectda data format and the format of your data. T...

2 months ago | 0

Answered
How to do a cyber attack and validate if the mitigation is correct?
To simulate a cyber attack on a digital twin system and evaluate your mitigation strategies, you can use Simulink to create a mo...

2 months ago | 0

Answered
Output equation of fitnet
The reason behind the discrepancy between the output of the trained neural network and the analytical equation you are using is ...

2 months ago | 0

Answered
Integral of Transfer function in Laplace domain
To compute the integral of the squared magnitude of a transfer function over the frequency domain, you can use Parseval's theore...

2 months ago | 0

Answered
LSIM initial condition code
Staring from MATLAB R2024b, one of the ways you can specify the initial conditions for simulating a state-space model in the lsi...

2 months ago | 0

Answered
Being able to export ANN without retraining
To use a pre-trained Artificial Neural Network (ANN) for testing on new data without retraining, you need to save the trained ne...

2 months ago | 0

| accepted

Answered
Mvregress and choice of the estimation algorithm
The choice of algorithm in multivariate regression can indeed influence the results, particularly the estimation of standard err...

2 months ago | 0

| accepted

Answered
How to caculate numWeightElements in network?
The discrepancy in the calculation of the number of weight elements net.numWeightElements arises from the structure of the neura...

2 months ago | 1

| accepted

Answered
Effect of GA population size and Number of generation with many variables
Increasing the population size or number of generations leads to increase in execution time as well. Taking the population size ...

2 months ago | 0

Answered
identifying the corresponding node number to each element for meshed geometry.
To create a connectivity matrix for a triangular mesh in MATLAB, where each row represents an element and the columns represent ...

2 months ago | 0

Answered
Require code for local sensitivity analysis of ode-based model
Introduced in MATLAB R2024a, the odeSensitivity MATLAB function can be used to perform sensitivity analysis on the parameters of...

2 months ago | 0

Answered
Changing predefined values in simulink examples
The pre-defined values can be changed in the existing examples in Simulink. In Simulink, the storage location of variables depe...

2 months ago | 0

Load more