Community Profile

photo

Abhishek Gupta

MathWorks

Last seen: 3 meses ago Active since 2020

I am an Engineer at Mathworks.

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

Statistics

  • Knowledgeable Level 3
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How do I write inequality constraints within NSGA-II
Hi, As per my understanding, you want to add a constraint to your function. You can do the same using "if, elseif, else" as fol...

3 meses ago | 0

Answered
Cannot import trained network
Hi, As per my understanding, you are getting an error while importing a network. If your network doesn't have a loss layer, t...

4 meses ago | 0

Answered
I specified more parameters to GA in order to speed up my code execution by using (optimoptions), I want to know the best values ​​for these parameters and the meaning of it
Hi, Referring to the following documentation link, which might help you resolve the issue: - https://www.mathworks.com/help/ga...

4 meses ago | 0

Answered
Export a trained NN from Matlab to Python
Hi, Referring to the following MATLAB Answer link, which might help you in resolving the issue: - How do I export a Neural Net...

4 meses ago | 0

Answered
How to use AutoML (Automated Machine Learning) for my training data ?
Hi, Referring to the following resources, which might help you in resolving the issue: - AutoML Explained Getting Started wit...

4 meses ago | 0

Answered
Problem with convolutionUnit function
Hi, You are getting this error because MATLAB doesn't recognize the 'convolutionalUnit' as the name of a function on the MATLAB...

5 meses ago | 1

| accepted

Answered
How can I add vggish features to the array?
Hi, As per my understanding, you want to write variable size arrays (feature vectors) to a CSV file. You can do the same as fol...

5 meses ago | 0

Answered
Iterative loop function for FEA
Hi, As per my understanding, you would like to implement an iterative loop to update 'r,' 'alpha,' and 'Xn.' To achieve this ta...

5 meses ago | 0

Answered
How do i plot scalogram 3d
Hi, This error indicates that MATLAB doesn't recognize the 'helperPlotScalogram3d' as the name of a function on the MATLAB path...

5 meses ago | 0

Answered
Saving output from function in different categories
Hi, As per my understanding, you want to efficiently save "GUD" and "GUDID" variables in every loop iteration. One way would b...

5 meses ago | 0

| accepted

Answered
Extracting smaller matrix from larger one, using a coordinate systrem
Hi, As per my understanding, you want to extract a part of a matrix. Referring to the following MATLAB Answer, which might help...

5 meses ago | 0

Answered
Neural Net training function parameters
Hi, Referring to the following MATLAB Answer, which might help you in resolving the issue: - https://www.mathworks.com/matlabc...

5 meses ago | 0

| accepted

Answered
How to I know this file? It is a .p file.
Hi, Referring to the following resources, which might help you in resolving the issue: - https://www.mathworks.com/help/matlab...

5 meses ago | 0

Answered
How to get output using a function with two parameters of different range
Hi, As per my understanding, you want to display a surface plot between a, b, and x. You can do the same as follows: - a = lin...

5 meses ago | 0

| accepted

Answered
read formated text file
Hi, As per my understanding, you want to read a text file with 8 header lines. You can scan the text as follows: - fid = fopen...

5 meses ago | 0

| accepted

Answered
how to write a code that will calculate the Fourier Transform of a signal
Hi, Referring to the following documentation link, which might help you in achieving the task: - https://www.mathworks.com/hel...

5 meses ago | 0

Answered
Solving first order differential equation
Hi, You can solve the given ODE as follows: - syms x(t); ode = 2*diff(x,t) + 7*x == t; cond = x(0) == 4; xSol(t) = dso...

5 meses ago | 0

Answered
How to read multiple audio files (MIR toolbox)?
Hi, Referring to the following MATLAB Answer, which might help you achieve the task: - https://www.mathworks.com/matlabcentral...

5 meses ago | 0

Answered
help to get input dataset
Hi, Referring to the following documentation, which might help you in achieving the task: - Create Simple Deep Learning Networ...

5 meses ago | 0

| accepted

Answered
Transfer learning on images for regression
Hi, In trainNetwork(), the first argument (i.e., Predictors, features, images, or sequences) must be a numeric array, datastore...

5 meses ago | 0

| accepted

Answered
Inverse Laplace Transform plot
Hi, Referring to the following MATLAB documentation links, which might help you achieve the task: - exp() cosh() sinh() plot()...

5 meses ago | 0

Answered
Save Multiple Matrices from For Loop
Hi, You can solve the issue as follows: - Folder = 'C:\My\Folder\Here'; FileList = dir(fullfile(Folder, '*.nc')); output ...

5 meses ago | 0

| accepted

Answered
Create a line using 10 points
Hi, Referring to the following documentation, which might help you resolve the issue: - https://www.mathworks.com/help/matlab/...

5 meses ago | 0

| accepted

Answered
Simple for loop in Simulink
Hi, You can use a For Iterator Subsystem block. Referring to the following documentation, which might help you achieve the ment...

5 meses ago | 0

Answered
Factorial using a while or for loop?
Hi, Here is the MATLAB Answer for the question similar to the one asked by you: - https://www.mathworks.com/matlabcentral/answ...

5 meses ago | 0

Answered
How to save previous runs
Hi, You can save the graphs with the save name having input variables, as follow: - saveas(gcf, strcat('angles', {' '}, strjoi...

5 meses ago | 0

Answered
How to induce loop index in the X-label also with changing label name at each iteration?
Hi, You can use the sprintf inside the xlabel in the following manner: - a = [1, 2]; label = {'label1', 'label2'}; for k =...

5 meses ago | 0

| accepted

Answered
Tick marks when I set "box on".
Hi, Here is an example, which only displays tick marks on the left and bottom axes: - figure; plot(1:20); % get handle t...

5 meses ago | 1

| accepted

Answered
What is The default kernel in fitcsvm(X,Y) function?
Hi, As per my understanding, you want to know the default value of 'KernelFunction' in the 'fitcsvm()' function. It's as follow...

7 meses ago | 0

Answered
Filtering out the noise in the observations by applying a low pass filter
Hi, As per my understanding, you want to remove noise from your data using low-pass filter. You can do the same using the 'lowp...

7 meses ago | 0

| accepted

Load more