photo

Yash Sharma


Last seen: 8 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Poisson process: exponential inter arrival time vs exponential holding time
To simulate a system where arrivals follow a Poisson process and service durations are exponentially distributed, you'll use MAT...

26 days ago | 0

Answered
What optimization/search method is used in wblfit?
The wblfit function in MATLAB likely uses a gradient-based optimization method such as the Newton-Raphson method or Quasi-Newton...

26 days ago | 0

Answered
Problem with the cluster/linkage function
To achieve your goal of clustering nodes based on price differences while considering the adjacency matrix, you'll need to adapt...

26 days ago | 0

Answered
Neural network for regression task: Circuit modeling
Hi Simone, To adapt your current deep learning model to take into account the "memory" effect of your electrical circuit by usi...

26 days ago | 0

Answered
How to get standard error bars in the weights of neural network model predictions
Obtaining standard error bars for the weights of a neural network model to indicate confidence intervals or uncertainty in predi...

1 month ago | 0

Answered
Confidence intervals in QQplot
To include confidence intervals in a Q-Q plot for a distribution fit, you can follow these steps. MATLAB's qqplot function doesn...

1 month ago | 0

Answered
Generating a plot of showing points directed towards PC1
Hi Stephen To plot your data points along the first principal component (PC1) and show eigenvectors as arrows directed towards ...

1 month ago | 0

Answered
Feature Extraction in Time-Frequency Domain - Audio Classification
To convert audio signals to Discrete Wavelet Transform (DWT) images and save them according to their labels, you can modify the ...

2 months ago | 0

Answered
How to vectorise a knnsearch loop to find nearest neighbours
Vectorizing the loop in your MATLAB code can significantly improve its performance, especially with larger datasets. Here's a wa...

2 months ago | 0

Answered
Using Parallel Reference Code Generation with Embedded Coder
To improve code generation speed for a large Simulink model with nested model references, even after enabling parallel builds, c...

2 months ago | 0

Answered
How to write append a few lines in model_initialize function for a MATLAB function block in Simulink?
To insert custom code into the model_initialize function for a MATLAB Function block in Simulink without creating a separate ini...

2 months ago | 0

Answered
How to train one agent and don't update another one in multi-agent reinforcement learning setup?
You can train AgentB in a multi-agent reinforcement learning environment while keeping AgentA's policy unchanged. This approach ...

2 months ago | 0

Answered
Neural Clustering Tool Testing Output
Hi Sydney, To obtain and analyze the output matrix for your test data in a Self-Organizing Map (SOM) in MATLAB 2020b, follow th...

2 months ago | 0

Answered
Reinforcement Learning Implementation using DQN
To implement a Deep Q-Network (DQN) agent for reinforcement learning in the latest versions of MATLAB, you can leverage the Rein...

2 months ago | 0

Answered
how to feed "MachineData.mat" raw data from "anomaly detection" into biLSTMAutoencoder ?
Hi juliette, To correctly shape your data for a biLSTM network in MATLAB, ensure it follows the [sequenceLength, numFeatures, n...

2 months ago | 0

Answered
How to take negative of the neural network function for maximization?
To maximize the output of a neural network using a genetic algorithm (GA) in MATLAB, where optimization defaults to minimization...

2 months ago | 0

Answered
Which equation is solved with ThermalModel?
For thermal analysis, the thermalModel object in MATLAB simplifies the process of setting up and solving heat transfer problems....

2 months ago | 0

Answered
resuscitation bag medical ventilator
I understand that you want to simulate a simple medical ventilator using Simscape/Simulink that involves creating a model that c...

3 months ago | 0

Answered
my dlgradient returns all "0"
When dlgradient returns zeros for all gradients, it usually indicates that the loss function's gradient with respect to the netw...

3 months ago | 0

Answered
Lateral Driver does not drive full circle
Hi Simon, Dealing with the discontinuity in yaw angle (heading) that jumps from (\pi) to (-\pi) (or vice versa) is a common iss...

3 months ago | 0

Answered
Incorrect focal length by Camera Calibrator?
The discrepancy you are observing might be due the fact that OpenCV spatial coordinate system specifies the upper-left pixel cen...

3 months ago | 0

Answered
Applying weighted regression for Parameter estimation in Simulink
In Simulink, when performing parameter estimation with multiple outputs that have different levels of importance or reliability,...

4 months ago | 0

Answered
Using CSCVN to interpolate
Hi, The cscvn function in MATLAB generates a parametric cubic spline from a set of points. When using this function, the result...

4 months ago | 0

Answered
How to conduct Friedman test to compare metaheuristics and which data sets I should consider?
In practice, the mean or median values are more commonly used for statistical comparisons in algorithm performance because they ...

4 months ago | 0

Answered
Can i use FitPosterior for a cell?
Hi Fabrizo, The error message you're seeing indicates that fitPosterior is being called with an input argument of type 'cell', ...

4 months ago | 0

Answered
Machine learning model (neural network or SVM) for unequal feature matrices size
Hi Preetham, Combining different feature matrices with varying dimensions into a single classifier for each feature descriptor ...

4 months ago | 0

Answered
using a dendrogramm to cluster columns of a matrix with complex entries
Hi Gabriel, Since the linkage function in MATLAB doesn't support complex numbers directly, you'll need to find a workaround. On...

4 months ago | 0

Answered
Response of a SDOF damped system subjected to harmonic base excitation
It seems that you're trying to plot the transmissibility (T_d) as a function of the frequency ratio (r) for a single degree of f...

5 months ago | 0

Answered
Quadcopter Project Aerodynamic Effects
According to me there is no direct way to simulate drag effect or ground effect in simulink. However, you can still simulate the...

5 months ago | 0

Answered
How to change the input Dataset (Drivecyclespeed) in Glider Model
Hi Gurudesh, The driver is connected to an inport block named "drivecyclesSpeed[mph]", Double-click on the inport block and you...

5 months ago | 0

Load more