Community Profile

photo

Dinesh Yadav


Last seen: 1 day ago

MathWorks

117 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

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

View details...

Contributions in
View by

Answered
How I can convert huge matrix into small blocks
First read your text file into matrix. An example is in the link below https://in.mathworks.com/matlabcentral/answers/216671-re...

15 days ago | 0

Answered
Converting Matlab code to C without using Matlab coder.
Hi Ratnesh, You will have to use MATLAB coder inorder to get the C code for your use. As dsp.VariableFractionalDelay is a funct...

15 days ago | 1

Answered
Speed up my function
Try MATLAB Online. It will run your code on fast MATLAB servers.

16 days ago | 0

Answered
Brace indexing is not supported for variables of this type.
Split up your last line of code into two line. indexes = app.AccelSNEditField == mergetables{:,1} to get logical values for th...

16 days ago | 0

Answered
Vectorization of a loop that uses past values
You cannot vectorize the above code as you have cyclic dependency in your code.

16 days ago | 0

| accepted

Answered
What is wrong with my code
Change to the following code len = length(N) %N is 1x100 you want i to go from 1 to 100 therefore change to length...

16 days ago | 0

Answered
Stack saved .fig for comparison
Hi Kindly go through the following links with similar questions https://in.mathworks.com/matlabcentral/answers/333909-how-to-pl...

16 days ago | 0

Answered
imageInputLayer normalization problem matlab
Hi what you are doing is correct but I will not recommend this method. Kindly have a look at the following example and see how h...

16 days ago | 0

| accepted

Answered
How can I calculate the areas between these two curves?
To calculate the area B change the follwing line of code AArea = trapz(AF{:,1},AF{:,2}); to AArea = abs(trapz(AF{:,1},(AF{:,2...

17 days ago | 0

Answered
Information criteria application for model structure selection
AIC penalizes complex models less, meaning that it may put more emphasis on model performance, on the training dataset and in tu...

18 days ago | 0

Answered
Plotting an Intensity profile out of a 3D Matrix
Hi Have a look at the following link. Hope it helps.

18 days ago | 0

Answered
Scale points on scaled image
The location of points remain the same as you are not using the image II anywhere. All operations are performed on I itself. In ...

18 days ago | 0

| accepted

Answered
How to run multiple MATLAB tasks?
Hi Kindly go through the following same discussion threads https://www.mathworks.com/matlabcentral/answers/2081-how-to-execut...

2 months ago | 0

Answered
How to create Simulink Stateflow to test cases for Test departement
Hi I kindly follow the links below to create test cases in Simulink, you can modify them accrodingly to your needs for Simscap...

2 months ago | 0

Answered
How to update Simscape library?
No, there is no way you can upgrade from v4.0 to v4.5 without upgrading MATLAB itself as each particular update employs a large ...

2 months ago | 0

Answered
Error in first line, looks fine though
On top of what Mohammad Sami said, after moving the matrix A and B just above second last line of your code so all variable defi...

2 months ago | 0

Answered
Evaluating the computational complexity of two algorithms
Depends which algorithm you are using for matrix multiplication. For two matrices Normal Matrix Multiplication - O(). Strass...

2 months ago | 0

Answered
Show and hide variable of interest/ unimportant in workspace ?
Hi Tuong Kindly refer to the following threads regarding the same https://www.mathworks.com/matlabcentral/answers/301355-show-...

2 months ago | 0

Answered
how can i convert a 3d figure to obj file formate ?
Kindly have a look at links below https://www.mathworks.com/matlabcentral/answers/295969-how-to-convert-to-obj-format Hope it ...

2 months ago | 1

Answered
"not recognized as an internal or external command, operable program or batch file"
I think your operating system is Windows on which MATLAB is installed therefore its not recognizing the command 'nproc' as its a...

2 months ago | 0

Answered
Genetic algorithm to optimize hyperparameters in a Deep learning net
Hi Renita, Kindly go through the following code in File Exchange https://www.mathworks.com/matlabcentral/fileexchange/72283-h...

2 months ago | 0

| accepted

Answered
AlexNet for Semantic segmentation
Hi Raza Ali, You can refer to the following implementation https://www.mathworks.com/matlabcentral/fileexchange/65851-semantic...

2 months ago | 0

| accepted

Answered
How to include a multi-file C++ library to S-function builder?
Hi Gabriel, I think the above error is more related to the path. If you have included the "script.h" it includes the internal i...

2 months ago | 0

Answered
What are some important Matlab tool boxes which are important for mechanical engineer?
It totally depends on what your subjects are or what you want to achieve with a particular projet. MATLAB provides an array of d...

2 months ago | 0

Answered
how to upload toolbox in matlab my matlab version R2020a
You have to write the code in a way function is written. Think of what are the possible inputs you want the user can give, then ...

2 months ago | 0

Answered
Amplitude spectrum from Excel
Hi Anton Kindly refer to the following link on how to read data from excel file into MATLAB. Below is the code to replicate th...

2 months ago | 0

Answered
Need to find difference in maximum and minimum concentration
As Darova pointed out just use minConc = min(c); maxConc = max(c); to get minium and maximum concentration at t = 0. And it...

2 months ago | 0

Answered
Speed and Refractive index of signal propegation
Propagation of signals depend upon a lot of factors, refer to the following documentation. However the refractive index of a bui...

2 months ago | 0

| accepted

Answered
Segmentation of Collarbone in CT - volume
Hi Alba, I am aware of one method i.e when you know the location of points for the region of interest (i.e. collar bone) you ca...

2 months ago | 0

Answered
Finding pairs in an array of points.
Hi Joshua, You can refer to the dsearchn function in MATLAB. Include x,y pair of data from both sets to make data points, then ...

2 months ago | 0

Load more