Community Profile

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.

View details...

Contributions in
View by

How I can convert huge matrix into small blocks

15 days ago | 0

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

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

16 days ago | 0

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

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

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

Stack saved .fig for comparison

16 days ago | 0

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

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

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

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

18 days ago | 0

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

How to run multiple MATLAB tasks?

2 months ago | 0

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

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

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

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

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

how can i convert a 3d figure to obj file formate ?

2 months ago | 1

"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

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

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

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

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

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

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

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

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