Community Profile

photo

Abhishek Gupta

MathWorks

Last seen: 3 years 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 4
  • 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 years 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...

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

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

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

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

3 years ago | 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years 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()...

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

3 years 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/...

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

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

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

3 years 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 =...

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

3 years ago | 2

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

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

3 years ago | 0

| accepted

Load more