Community Profile

photo

Ayush Gupta

MathWorks

Last seen: plus de 3 ans il y a Actif depuis 2020

Followers: 0   Following: 0

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.

Statistiques

  • Knowledgeable Level 4
  • 3 Month Streak
  • Revival Level 3
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
plotting Y1(2t) to get the correct figure instead of Y1(t)
The code works fine and there is no problem in it. One possible reason for this could be that these equations or functions are b...

plus de 3 ans il y a | 0

A répondu
MATLAB Syntex Problem for optimization
The MATLAB’s optimization toolbox can be used to solve this problem. We can define a problem using optimproblem function in MAT...

plus de 3 ans il y a | 0

| A accepté

A répondu
How do I open an m-file 1 from another m-file 2 and write a multi-line on m-file 1 at a specific position from m-file 2?
It is possible to edit a m file with the help of another. If we know to edit a single m file, then we can iterate over all such ...

plus de 3 ans il y a | 0

A répondu
why Matlab show me INI_PHASE must be a real scalar?
The current documentation for qamdemod function doesn’t use INI_PHASE and since you are using a previous version, you should be ...

plus de 3 ans il y a | 0

A répondu
About Table Comparing in matlab code
The data in excel file can be read using the readmatrix function in MATLAB. The Test_data in the second sheet can be given value...

plus de 3 ans il y a | 1

A répondu
How to import data and remove headers
The data from the text file can be imported using importdata function in MATLAB. To ignore the header of the file we can use the...

plus de 3 ans il y a | 0

A répondu
How to simplify non-linear equations for lsqnonlin
To simplify equations in MATLAB, simplify function can be used for it. To read about it and have some examples to check how it w...

plus de 3 ans il y a | 0

A répondu
Make for loop and extract data from different tables within a structure.
The excel files here can be read directly with the help of readmatrix function. Suppose there is an excel file of name abc.xlsx,...

plus de 3 ans il y a | 0

A répondu
While Loop goes to debug
The script is working fine and does not go into debugging mode on 2019b version. To refer to how to use while loop and its docum...

plus de 3 ans il y a | 1

| A accepté

A répondu
Operator '*' is not supported for operands of type 'cell' after changing the cell
The two values we are trying to multiply are cell array and one cannot multiply cell arrays. You might be able to use Cell1{...

plus de 3 ans il y a | 0

A répondu
How to set axis limit as a function of time with fanimator
I have brought this issue to the notice of our developers. They will investigate the matter further.

plus de 3 ans il y a | 0

A répondu
Intlinprog, how to see some parametr
Optimization tools like intlinprog find ONE solution to a problem. They are not designed to search your space and return multipl...

plus de 3 ans il y a | 0

A répondu
MATLAB Application Server version 8.3 could not be initialised
A similar question has been answered here. If this does not help, please share the reproduction steps so we can have a deeper in...

plus de 3 ans il y a | 0

A répondu
Align the Legend Title to the Legend body
The legend title is by-default left aligned to legend body. Refer to the code below which generates the following picture and re...

plus de 3 ans il y a | 0

A répondu
How to use the classification learner app?
Type classification Learner in command line and classification learner app will open. Make sure to load the data in the workspac...

plus de 3 ans il y a | 0

A répondu
Controlchart function with the conditional variance?
The problem that is arising here is because of the fact the argument given to sigma that is v1 is, it can’t take multiple output...

plus de 3 ans il y a | 0

A répondu
How can I create a table containing all iterations?
To create a table, store every instance of iter, xr, func(xr), and es at each iteration into a list that is globally and append ...

plus de 3 ans il y a | 1

| A accepté

A répondu
I need help in developing a function file GE_m(A,b) to determine the pivot row r such that a(rk) is the first nonzero entry among a(kk),a(k+1)...a(n,k). if a(kk)=a(k+1,k)=a(nk)=0 then pivot out that 'A is not invertible' and quit.
The following problem can be solved by using nested for loop. Refer to the following code to see how to solve this: function [...

plus de 3 ans il y a | 0

| A accepté

A répondu
it won't run as it keeps showing illegal use of the word else
The problem here is with the syntax of while loop, where else is being used inside while loop without using if first. Read about...

plus de 3 ans il y a | 0

A répondu
how to show A is non singular using GE and ut function files. im using this code and its showing error in line 3 which is n=length(b);
Calculating determinant is a terribly inefficient thing for larger arrays. So, a nice alternative is to use the product of the d...

plus de 3 ans il y a | 0

| A accepté

A répondu
I can't insert latex equation in live script
This could be the browser issue because it seems to work fine in windows for me. Changing the browser can solve the problem.

plus de 3 ans il y a | 0

| A accepté

A répondu
Importing .bin file and doing Time Domain Analysis
 A bin file can be imported in MATLAB using fread function. Suppose we have a bin file named input.bin, refer to the following c...

plus de 3 ans il y a | 0

A répondu
How to calculate P at each x values?
The problem with the approach suggested above is only the values of last iteration of x will be stored in P values. So, to keep ...

plus de 3 ans il y a | 0

A répondu
Fitted error vs error of original fit
There seems to be a confusion between error of original fit which is calculated previously whereas fitted error of a fit is the ...

plus de 3 ans il y a | 0

A répondu
Function not taking updated value of variable when it is passed to it
The problem in the above code is the variable kin that is changing with every iteration, it is not being used anywhere for plott...

plus de 3 ans il y a | 0

A répondu
for loop, if loop, while loop or combination?
 Refer to the following code on how to do this: det_rate = [0.3, 0.2, 0.5, 0.1]; T = 8; % T is total searching ti...

plus de 3 ans il y a | 0

| A accepté

A répondu
ANYONE KONWS HOW SIMPLENAR_DATASET IS GENERATED?
The simplenar_dataset is a nonlinear 2-delay feedback relationship, it is generated by a user defined function which returns the...

plus de 3 ans il y a | 0

A répondu
How does the algorithm of the residualSimilarityModel looks like?
1-step prediction for a model is for a time series IT = {Y1, Y2 ,…, YT }. At time T, we want to forecast YT+1, YT+2, YT+1, YT+2...

plus de 3 ans il y a | 1

| A accepté

A répondu
Can I do a curve fit tool in a for loop?
 The model coefficients for a Gaussian fit can be found out directly from the model. Refer to the following code on how to get t...

plus de 3 ans il y a | 0

| A accepté

A répondu
I am trying to store the values of each iteration of 0.01 in my for loop into a matrix. Could anyone help?
The history of tolerance and corresponding x values can be stored if we treat them as vectors and in each iteration of for loop ...

plus de 3 ans il y a | 0

Charger plus