photo

Ayush Anand


Active since 2023

Followers: 0   Following: 0

My interest areas include Deep Learning and Artificial Intelligence. DISCLAIMER: Any advice or opinions here are my own , and in no way reflect that of MathWorks.

Programming Languages:
Python, C++, C
Spoken Languages:
English
Pronouns:
He/him

Statistics

  • Knowledgeable Level 4
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Is Contact Forces Libray enough for lateral dynamics on a 4-wheeled vehicle model ?
Hi, The Sphere to Plane contact forces block is a more generalised block and it may not accurately capture the complex interact...

4 months ago | 1

Answered
How to show latex by override `disp` in classdef?
I think there is a mistake in your class definition, as the class name and the constructor names are different in the snippet pr...

4 months ago | 0

Answered
How to add one more hitch to model of Vehicle Body 3DOF Three Axles?
Hi Timothy, The "Hitch force" input port is indeed there in the Vehicle Body 3DOF Three Axles. If it does not show up for you b...

4 months ago | 0

Answered
Linear Neural Network add another linear layer
You can add a hidden layer between input and output using "feedforwardnet" function (https://www.mathworks.com/help/releases/R20...

6 months ago | 0

Answered
Using gensim for dlnetwork
The gensim function in MATLAB is typically used to generate a Simulink model from a Simulink Control Design linear model (say, m...

6 months ago | 0

Answered
Fullscreen animation files montage
You can use the set function with the figure handle to adjust its Position property to fill the screen. Here's how you can do i...

6 months ago | 0

Answered
Plotting the preview from webcam in the matlab app window in real time.
You can do this using the webcam support in MATLAB (https://in.mathworks.com/help/releases/R2023a/supportpkg/usbwebcams/ug/webca...

6 months ago | 0

Answered
BVP Error, help with explaination
The magnitude of the exponential function exp(y(1)*log(10)/A) blows up very rapidly as A is . This is most probably causing the ...

6 months ago | 0

Answered
CNN1d Speech Emotion Recognition
Hi Young, I think the problem is with the data itself and not the training parameters. I analysed the data file attached and it...

6 months ago | 1

Answered
The estimation error is strangely obtained from Simpson's 1/3 rule
There is a mistake with your formulae for estimation of . The formula for the error estimate in Simpson's rule is generally give...

6 months ago | 1

| accepted

Answered
No convergence during training using an TD3 RL agent
The reward continuously droppng to zero suggests that the agent might be struggling with either the complexity of the task, the ...

6 months ago | 0

Answered
S2P file to csv file conversion
Hi, You can read through the s2p file using fopen and fscanf functions and store the data in a temporary variable, which you ca...

7 months ago | 0

| accepted

Answered
Rearranging a vector into a matrix according to other two vectors
You can do this by defining a new concentration_matrix of shape (78,2241) with NaN values and iterating through the indices of t...

7 months ago | 0

Answered
Matlab editor settings: notify undefined variables
Hi, MATLAB editor will not flag this like it flags unused variables. A couple of reasons I can think of are that the variable "...

7 months ago | 0

| accepted

Answered
Averaging of rows from excel table
Hi, You can read the data into MATLAB using "readtable" and extract the unique combinations of "Name" and "Date" using the "un...

7 months ago | 1

| accepted

Answered
How can I determine number of samples?
Hi, The Kolmogorov-Smirnov test producing a result of 1 indicates that, under the significance level used by the test (commonl...

7 months ago | 1

| accepted

Answered
Matrix versus Scalar Input Into Functions Using Symbolic Toolbox
Hi, The discrepancy you observe is due to the difference in mathematical evaluation of matrix algebra (matrix exponentiation an...

7 months ago | 1

Answered
BVP4c error. Would anyone help to find any error and correct this ?
Hi, You need to replace the comma before ypp with a semi-colon to create a 4-column vector %Replace dydx=[y4;y2p;y3p,ypp]; wi...

7 months ago | 0

Answered
Finding the index k of square nilpotent matrix A
Hi, You can do away with the binary search entirely and do a simple linear search if n is not large: function k = nilIndex(A)...

8 months ago | 1

Answered
Triple intergral for the array valued function
Hi, You need to integrate each component of your array-valued function separately and then combine the results. You can call "i...

8 months ago | 0

Answered
The Tsunami model 's question
The solution still remains Mathematically valid but the physical scenario it represents will be very different, or in practicali...

8 months ago | 0

Answered
How do I create an abstract smooth 3-D shape using known points?
Hi, "surf" requires the data passed to form a grid for a smooth plot. If the data does not naturally form a grid, one common ap...

8 months ago | 0

Answered
Extract variables from table and function with loop
Hi, When you are using "M3a(:,'i')", MATLAB is interpreting 'i' as a literal character, not the variable 'i' from your loop. Yo...

8 months ago | 1

| accepted

Answered
zero phase error control
Hi, You can typically invert the discrete transfer function simply by swapping the numerator and denominator. However, if the d...

8 months ago | 0

Answered
How to remove unsteady reflections in images ?
Hi, You can achieve the sliding average operation in MATLAB using the "fspecial" and "imfilter" functions: kernel = fspecial('...

8 months ago | 0

Answered
Histogram plot and Gaussian
Hi, When you multiply the PDF by N*50, you're assuming each bin of the histogram represents an equal division of the probabilit...

8 months ago | 0

Answered
How to delete every alternate rows?
Hi, You can do sz_new = sz(2:2:end, :); This will do the job.

8 months ago | 0

| accepted

Answered
Prediction of full cycle using partial cycle data
Hi, Predicting the remaining cycle data when you already have data for the initial part of the cycle can be approached through...

8 months ago | 0

Answered
How to create a cyclic color palette
Hi, You can use the "hsv" function to create a cyclic rainbow color palette, as the HSV color space is naturally cyclic with re...

8 months ago | 0

| accepted

Answered
Positioning a figure
Hi, In MATLAB, when you dock figures MATLAB's IDE manages their layout, and direct control over the positioning of docked figur...

8 months ago | 0

Load more