Community Profile

photo

Ayush Gupta


Last seen: 5 dagen ago

MathWorks

22 total contributions since 2020

I am Application Support Engineer at Mathworks. My responsibility is to provide the best support for an application like ML,ADT,Image Processing and Deep Learning.

Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks.

Ayush Gupta's Badges

  • Revival Level 3
  • Knowledgeable Level 1
  • First Answer

View details...

Contributions in
View by

Answered
Audiorecorder not able to take input.
In order to communicate with the audio hardware on a given computer, Simulink uses the open source PortAudio library. The PortAu...

ongeveer 2 maanden ago | 0

Answered
What are the network requirements for Online Licensing?
Contact your sales representative to get detailed understanding about your license terms. If you don't know who your sales repre...

ongeveer 2 maanden ago | 0

Answered
How do I change the size of subplots in stackedplot
MATLAB has hold on feature which allows to plot multiple graphs on the same figure. Refer to the following link to know more abo...

ongeveer 2 maanden ago | 0

Answered
double forloop and plotting
The problem is here that you are overwriting values when you use [t,x] = ode45(dxdt, tspan, x1); As this line is outside of...

ongeveer 2 maanden ago | 0

| accepted

Answered
Simple question about symbolic limits
The limit specified is also dependent on c if c does not have small values. For small values of c, a simplified expression is yi...

ongeveer 2 maanden ago | 0

Answered
How to import a neural network from Matlab into fortran
There is no inherent functionality in the MATLAB for this but a quick google search yielded results for FORTRAN converters on Gi...

ongeveer 2 maanden ago | 0

Answered
Error while simulating a model containing PV array
Refer to the following link for the various steps that can be followed in order to resolve algebraic loops in Simulink model: ...

ongeveer 2 maanden ago | 1

Answered
Heat Dissipation from an Annular Fin
This equation can be simplified by fixing the known values and the relation between Re and Rb, Refer to the code below: x = [0...

ongeveer 2 maanden ago | 0

Answered
find peaks in power spectral density
Try following this approach, it returns the out array with frequency count of each peak: [pks,locs] = findpeaks(y1); un = ...

ongeveer 2 maanden ago | 0

Answered
Is there a way to run CCSv6 code as a Simulink block?
The s-functions can be leveraged for this. Refer to the following documentation of s-function, it might help https://www.ma...

ongeveer 2 maanden ago | 0

Answered
Plotting chemical 2d reaction in different colors
This problem can be tackled using the following approach. Suppose contour1.jpg is the first contour and cntour2.jpg is the secon...

ongeveer 2 maanden ago | 0

Answered
Interplolation of two different data set in a same grid interface
The hold on piece of code can be used for the interpolation of two different datasets in a same grid interface, for example: S...

ongeveer 2 maanden ago | 0

Answered
How to edit C++ code of a Simulink block?
There is no need to edit the code of the Simulink block. The ODE Solver can be changed in the Simulink model by going to the Con...

ongeveer 2 maanden ago | 0

Answered
Moving window with two conditions - Matlab
Try following this approach, it returns the regions in the moving window in between the defined thresholds: % Define sample da...

ongeveer 2 maanden ago | 0

Answered
1D diffusion equation with different dx and dt
The table function gives error because the u matrix is not created properly and in line u(j)=u(j)+dudt(j)*dt;%eulers method t...

2 maanden ago | 0

Answered
Forward difference and central difference help - expected rates of convergence
Try using with this code for section 2 x=[-10:0.01:20]; dt = 0.00001; values_y = [-10:0.01:20]; y1 = [-10:0.01:20]; va...

2 maanden ago | 0

Answered
Resample the output file of a simulation
The following procedure might help you, where X is the second column of the matrix which needs to be binned: bins = [start_pos...

2 maanden ago | 0

Answered
Use point data to plot a signal to use in Simulink
The following procedure might help you: In the MATLAB command prompt run your script and then open Simulink. Create a blank...

2 maanden ago | 0

Answered
using c++ in mATLAB
Try using with this code for section 2 g = 9.81; r = 0.7; theta = (0:0.04:pi); speed = sqrt(g/r); speeds = [0,0,0,0...

2 maanden ago | 0

Answered
Is there a way for me to access the files I saved on MATLAB online after my trial has expired?
The files can be accessed by going to drive.matlab.com and the files can be downloaded on the local machine. The m-files can be...

4 maanden ago | 0

Answered
Plotting truncated FS expansion
The following code is implemented with the assumption of C and L to be 1 as they are constants and it works fine and plots the g...

4 maanden ago | 0

Answered
Remove point from voronoiDiagram
I have brought this issue to the notice of our developers. They will investigate the matter further.

4 maanden ago | 0

| accepted