Community Profile

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

View details...

Contributions in
View by

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

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

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

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

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

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

Gaussian Elimination script question

18 días ago | 0

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

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

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

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

Visualising the results of a classification tree elsewhere

alrededor de 1 mes ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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