Community Profile

photo

Dinesh Yadav


MathWorks

51 total contributions since 2019

I am an Application Support Engineer at MathWorks. My main responsibilities are working on questions posted on MATLAB Answers.
My area of interest are Deep Learning and Autonomous Driving Vehicles.
DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of MathWorks.

Dinesh Yadav's Badges

  • 3 Month Streak
  • Solver
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How do I convert a .csv to a .dat using MATLAB (SWAN Modeling)
Hi, Try reading the data from the .csv file into a table in MATLAB and then write that table into a .dat file. The following ...

16 días ago | 0

Answered
How to implement backward Euler's method?
Hi, Kindly go through the following existing posts for backward euler method. https://www.mathworks.com/matlabcentral/answers/...

17 días ago | 1

Answered
Wrote this file to compute ABD matrix, running into index/array issue
Hi Kevin, The error here is occurs in ReduceStiffnessMatrix function in the 7th line where you are accessing Q(3,3) but at that...

17 días ago | 0

| accepted

Answered
Solving an integration problem at specific time points
Hi, The issue here is vpa gives a symbolic output, to use it with a function like plot,there is a need to convert the output of ...

17 días ago | 0

Answered
How to use Gillespie's algorithm in MATLAB to display chemical reactions
Hi Yuhong Kindly go through the following links for existing implementations. https://www.mathworks.com/matlabcentral/answers/...

18 días ago | 0

| accepted

Answered
How to extract partial derivatives of some specific layer in the back-propagation of a deep learning model?
Hi Kindly go through the following link and examples in it. https://www.mathworks.com/help/deeplearning/ref/dlarray.dlgradient...

18 días ago | 0

Answered
Gaussian Elimination script question
Kindly go through the following links. https://www.mathworks.com/matlabcentral/answers/43397-performing-gauss-elimination-with-...

18 días ago | 0

Answered
looping identical numbers and getting row indices
Find the attached code file for the solution. Hope it helps.

18 días ago | 0

Solved


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

alrededor de 1 mes ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 1 mes ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

alrededor de 1 mes ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

alrededor de 1 mes ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 1 mes ago

Answered
step by step to run LEACH code in Matlab
Hi, LEACH code implemenation can be found in the links below https://www.mathworks.com/matlabcentral/fileexchange/66574-leach...

alrededor de 1 mes ago | 0

Answered
What is the difference between wrcoef/upcoef/appcoef in wavelet analysis?
Hi, If your purpose is solely reconstructing the signal on a certain level use any of the two wrcoef/appcoef. If you want some ...

alrededor de 1 mes ago | 0

Answered
SVM Classifier using GLCM features
Hi, you already have extracted features, I am also assuming you have corresponding outputs related to extracted feature vectors....

alrededor de 1 mes ago | 0

Answered
Visualising the results of a classification tree elsewhere
Hi, this link will help you adding data to a table. https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-var...

alrededor de 1 mes ago | 0

Answered
Need some project help
Hi, this problem can be solved with the approach of moving object detection using background subtraction. Kindly go through the ...

alrededor de 1 mes ago | 0

Answered
solution of ODE using Euler's all 3 methods
Hi, I would recommend going through the following links which have all the three methods and try to modify the implementation to...

alrededor de 1 mes ago | 0

Answered
Can I run java from matlab?
Yes, it is possible to run java code from MATLAB environment. Kindly go through the following link https://www.mathworks.com/ma...

alrededor de 1 mes ago | 0

Answered
I want to debug a Matlab function block in Simulink
Hi, I am attaching the files where i have done debugging in a simple program in simulink using MATLAB functions. First step is ...

alrededor de 2 meses ago | 0

Answered
Share variables between two level 2 s-function blocks
There are 2 methods only to solve your problem and both you already know either give a physical connection between the two block...

alrededor de 2 meses ago | 0

Answered
Missing Windows header file in Matlab 2019a for MacOS
mex files that are generated while compiling are different for different operating systems. You can find more about that in this...

alrededor de 2 meses ago | 0

Answered
Using chrono in s-functions
You can use chrono library inside S-Functions as long as the compiler you are using knows about those libraries. Check your comp...

alrededor de 2 meses ago | 0

Answered
How to determine the sequence of generated code?
I hope the following links gives an idea you may be looking for https://www.mathworks.com/matlabcentral/fileexchange/7047-block...

alrededor de 2 meses ago | 0

Answered
while or for loop
Assuming you know length of the sequence using for loop would be better as it would iterate over the entire sequence to find the...

alrededor de 2 meses ago | 0

Answered
Why are the results from conv2d and multiplication in Fourier Domain not the same?
conv2 will have negligible rounding off errors as compared to taking fft then taking ifftn and taking real part. Simply because ...

alrededor de 2 meses ago | 0

Answered
Given an array A of n elements. We need to change the array into a permutation of numbers from 1 to n using minimum replacements in the array.
Hi, I am attaching a code file for the above question. Hope it helps.

alrededor de 2 meses ago | 0

| accepted

Answered
compute the average power of a discrete-time signal
Hi, what you can try is first find the length of your audio samples file. Which would be samplingRate*timeLength of signal. Now...

alrededor de 2 meses ago | 0

Answered
Save variables while using ode solver
What you can try is at every iteration save the variables into a .mat file save('odef.mat', 'constant1', '-append') This will ...

alrededor de 2 meses ago | 0

| accepted

Load more