Community Profile

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

10 days 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...

10 days 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 "...

12 days 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...

12 days 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...

12 days 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...

12 days 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...

13 days 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)...

15 days 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...

15 days 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...

18 days 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...

18 days 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...

18 days 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...

23 days 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('...

23 days 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...

23 days ago | 0

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

23 days 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...

23 days 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...

23 days 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...

23 days ago | 0

Answered
Matlab figures of same size still appear different in a LaTex document
Hi, The error could be arising in either MATLAB or Latex. You would have to check the vertical alignment in minipage or any env...

24 days ago | 1

Answered
Could you fix this code? I am trying to generate the Gaussian noise that is changing over time. X(t)=5+10*cos(2*pi*t+pi/6)+G(sigma,t)
Hi Byungho, The error you are getting is because you are trying to assign a vector 5+10*cos(2*pi*time+pi/6)+15*randn(1) to a si...

24 days ago | 0

| accepted

Answered
Error while setting up phaser cn0566 in matlab
Hi, The error message you're encountering suggests that there's an issue with the setup or initialization process for the ADAR1...

24 days ago | 0

Answered
C2000: Viewing variables in Simulink and Embedded Coder
Hi Richard, Viewing ADC results in real-time as your code generated from Simulink is running on a Texas Instruments F28379D pro...

24 days ago | 0

| accepted

Answered
Gaussian fitting, peak value, and FWHM measurement method.
Hi, Here are the answers to the questions you asked above: To set the x-axis range to be from -300 to 300 for all histograms,y...

4 months ago | 0

Answered
What is the right formula for the RBF 'KernelScale' of fitcsvm?
Hi, The RBF kernel function is defined as : The "Ker...

4 months ago | 1

| accepted

Answered
Combining kernels for Gaussian Process Regression
Hi, You can combine multiple predefined kernels for GPR using simple addition or multiplication. Gaussian kernels are inherentl...

4 months ago | 0

Answered
audio waves energetic attenuation diagram
Hi, To create a log Power vs. time plot as shown in the picture provided, you could sum the power across all frequencies at eac...

4 months ago | 0

Answered
Why is MATLAB2023b slow to start?
Hi, There could be several reasons why MATLAB 2023b might boot up slower than MATLAB 2018b on your computer. Here are some poss...

4 months ago | 0

Answered
False size for row vector
Hi Sveva, The MATLAB command window has a default width that determines how many columns of a vector it will display on one lin...

4 months ago | 1

Answered
Change 'yolov4ObjectDetector' from read-only settings.
Hi Rodrigo, In MATLAB, the "Network" property of the "yolov4ObjectDetector" is read-only, which means you cannot directly modif...

4 months ago | 0

| accepted

Load more