Community Profile

photo

Athul Prakash


Last seen: Today

MathWorks

166 total contributions since 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 Badges

  • Introduction to MATLAB Master
  • Community Group Solver
  • Commenter
  • Promoter
  • Knowledgeable Level 3
  • Solver
  • 3 Month Streak
  • First Answer

View details...

Contributions in
View by

Answered
How can i solve this? Subscripted assignment dimension mismatch
The error message indicates that you may be assigning an array of values but the sizes of the arrays on the left and right of '=...

5 days ago | 0

| accepted

Answered
Plot Results of objective function in fmincon
Hi Amanuel, @optimplotfval is designed to plot the output of the Objective Function against the number of iterations. In you...

8 days ago | 2

Answered
How to use IF with @(block_struct) function
Hi Saud, Since blockproc uses anonymous functions, you may save your multi-line function into a script, say myFunc.m and then p...

8 days ago | 0

| accepted

Answered
How do I find the given eigenvectors
I presume that you've obtained these eigenvalues by calling the 'eig' function in MATLAB. You may try calling the same with a se...

13 days ago | 0

Answered
Row index exceeds table dimensions.
If you could attach the input file, others users may actually run the code with that data and witness the exact error themselves...

13 days ago | 0

Answered
Looping vector values into functions
Saving multiple variables with names 'n1', 'n2', etc may be a bad practice, I would recommend using a vector 'n' with indices 1-...

15 days ago | 0

Answered
Help with simple ANN for data prediction
If you're looking to pick up how Neural Networks are handled in Matlab, I would suggest going through some of the examples in th...

20 days ago | 0

Answered
Array not positive real value?
As others have pointed out, this error message typically occurs when you're indexing an array with incompatible values (usually ...

20 days ago | 0

Answered
How to add a column in MATLAB after sorting an array
Hi Sukalyan, Looking at your figure, I assume that the data is a table existing in the workspace and that you've already sorted...

20 days ago | 0

Answered
Combinations of values in vectors
Hi Davide, To answer both your questions.. a) I'm assuming that you don't want to specify 'lam' in the code (along with the i...

29 days ago | 0

Answered
Include several folders into path using Matlab Engine for Python
Hi Davide, If you're in MATLAB at the command line, you may use genpath and addpath as follows to add a folder 'myOuterFolder'...

1 month ago | 0

Solved


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

1 month ago

Solved


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

1 month ago

Answered
How to deal with a single tsv-file whose size is out of the memory?
I have noticed that you have not created the tall array in the code attached. Perhaps . . . t = tall(ds); might be missing. ...

1 month ago | 0

Answered
Error Using convertToGUIDECallbackArguments(app, event)
Hi Sebastian, The 'event' object seen here typically has different properties depending on which type of event it is respondin...

1 month ago | 0

Answered
How can i find an equation from datas?
You may pick out a model first to fit your data onto. There a wide variety of models available in Matlab and the choice would de...

1 month ago | 0

Answered
Read data from .txt file
I recommend trying the 'Import Data' button on the Home tab in the Matlab toolstrip. After selecting your .txt file in the tool,...

1 month ago | 0

Solved


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

1 month ago

Solved


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

1 month ago

Solved


Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

1 month ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

1 month ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

1 month ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

1 month ago

Solved


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

1 month ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

1 month ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

1 month ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

1 month ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

1 month ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

1 month ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

1 month ago

Load more