Community Profile

photo

Athul Prakash


Last seen: 4日 前

MathWorks

63 2019 年以降の合計貢献数

I am an Associate Application Support Engineer at MathWorks.

My areas of interest are Deep Learning and Computer Vision.

DISCLAIMER: The advice and opinions here are my own and not in any way that of MathWorks.

Athul Prakash's バッジ

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

詳細を表示...

貢献した分野
表示方法

解決済み


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2ヶ月 前

回答済み
Having trouble rewriting a DICOM file with metadata: converting table to structure
Hi Johnathan, Your issue may be solved this way: % If 'T' is the variable holding the table, C = table2cell(T); C = C'; C...

3ヶ月 前 | 2

回答済み
How can I speed up nested loops?
Hi Yeray, I have a few suggestions for this vectorization, In the calculation of 'A' and 'B', the functions sind and cosd ca...

3ヶ月 前 | 0

回答済み
Error: "Subscripted assignment dimension mismatch."
I think you need to clear all variables and close all figures before running this code. Your code is working fine on my MATLAB ...

3ヶ月 前 | 0

回答済み
How can i change places to pixel values(black ones to white, white ones to black) of binary image?
Hey Zuy, I don't think you can concatenate statements in matlab using '&&' - that is a logical operator, the kind that is used ...

3ヶ月 前 | 0

回答済み
Replacing for loop in order to decrease run time
Hi Bastiaan, I think this way you can solve it. Below is how yo D = A(1, end-1) - B(1, end-1); D = [0; D] % ';' Assuming...

3ヶ月 前 | 0

回答済み
fprint() to save uint8 in .txt file
You may save it using the '%d' formatting operator and save it line by line to a text file. Use '\n' for moving to the next line...

3ヶ月 前 | 0

回答済み
Question about Goodness of Fit
Please refer to the documentation on nlinfit which explains each of the output arguments in depth. https://in.mathworks.com/hel...

4ヶ月 前 | 0

回答済み
Need help with "??? Undefined function or variable 'limit_2'. The first assignment to a local variable determines its class."
codegen fun -args {zeros(i,i),1} -nargout 3 I think you have forgotten to pass the third argument into the function. This leave...

4ヶ月 前 | 1

| 採用済み

回答済み
How can I plot multiple rectangles (or circles) using the rectangle function without using a for loop?
I don't think there is a way to 'vectorize' this code, you can't eliminate this for loop and achieve much of a speed up. But how...

4ヶ月 前 | 1

| 採用済み

回答済み
Generalization of Catalan's conjecture
You may explore File Exchange for solutions or related code from which you can build your own solution. If you are attempting t...

4ヶ月 前 | 0

| 採用済み

回答済み
Function 'range_calculator' has already been declared within this scope.
You may try removing the initialization of 'g' which is the first line in your function. In matlab, if you have code above the f...

4ヶ月 前 | 0

| 採用済み

回答済み
Classification learner - Confusion matrix
Hi EK, You are correct about False Discovery Rates being the same as False Positives. However, I'm not sure which metric you m...

4ヶ月 前 | 0

回答済み
Finding adjacent pixels of a certain color around a blue pixel in an image
Hi Michael, Here's one way to do it:- Create 2 masks, one identifying all blue pixels and another identifying all pixels adja...

5ヶ月 前 | 0

回答済み
Dice roll sum and its corresponding probabilities
Have a look at the following post regarding Homework Questions on this forum: https://in.mathworks.com/matlabcentral/answers/86...

5ヶ月 前 | 0

回答済み
Sum specific values from a matrix
You may use logical indexing as follows: cond1 = K(:,2)>=5 & K(:,2)<9; %these are logical indices to select out your given rang...

5ヶ月 前 | 0

回答済み
resizing an array in MATLAB
I think what you're looking for is a way to index. I'm sure you'll find the answer here: https://in.mathworks.com/help/matlab/l...

5ヶ月 前 | 0

回答済み
How to plot a line with repeated values of x?
Looks like you want the plots to appear side-by-side. Maybe you can concatenate 'PC1', 'PC2' and 'PC3' into one longer vector,...

5ヶ月 前 | 0

回答済み
How expanding 2 columns matrix (with each row having edges of a specific range) into a vector without for loop?
Hey, Here's something I came up with, you may try it out to determine if it works with your data. It's not very straightfor...

6ヶ月 前 | 1

| 採用済み

回答済み
How to programmatically adjust the font size of the editor and command window?
Hi Michele, You may use MATLAB's settings object to set and modify MATLAB preferences on the fly. Have a look at the doc linke...

6ヶ月 前 | 0

| 採用済み

回答済み
Solutions of genetic algorithm and globalsearch versus fmincon
Hi Rui, I assume that after ga/globalsearch have terminated with a solution, you are calling fmincon with the 'hessian' ou...

6ヶ月 前 | 0

回答済み
Is it possible to split the Command Window into continuous sub Command Windows?
One can split the editor window, but MATLAB doesn't support splitting the command window the way you described, at the moment.

6ヶ月 前 | 0

| 採用済み

回答済み
How to convert objection function into maths?
You may run the optimization by calling 'bayesopt' function on 'minfn'. See the doc linked below for more details, the examples ...

6ヶ月 前 | 0

回答済み
Converting .CSV file element to double
You may try setting options for the readtable function as outlined in this doc: https://in.mathworks.com/help/matlab/ref/readta...

6ヶ月 前 | 0

| 採用済み

回答済み
How I can use the matlab coder to convert my matlab code to C language? what is the MEX function can any body explain for me.
MEX files are like an interface between matlab and code written in C/C++ or FORTRAN. You can use the 'mex' command to compile so...

6ヶ月 前 | 0

回答済み
Fuzzy Logic cannot delete input and output variables in Matlab 2018b
Yes, this appears to be a bug. The developers were already notified of this issue and it was fixed in R2019a.

6ヶ月 前 | 0

回答済み
Calculate mean of an array in time windows.
I'm not sure how you have arranged your data within the matrix 'EEG' - which dimensions correspond to which attributes? I not...

6ヶ月 前 | 0

回答済み
How to perform Indexing
Hi Larissa, The goal of this forum is to help solve generic MATLAB questions, not to provide full solutions to anybody's homew...

7ヶ月 前 | 0

回答済み
How to write 2 functions both in 2 variables that will be the objective functions of a Multi-objective Genetic Algorithm?
Hi Andrea, I think your approach with the 'multiobjective' function is wrong. The input 'FitnessFunction' should be returnin...

7ヶ月 前 | 1

回答済み
Finding Shortest Path Without Crossing Restricted Areas
I suggest implementing the Dijkstra's algorithm for this problem. An explanation is found here: https://en.wikipedia.org/wiki/Di...

7ヶ月 前 | 0

Load more