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.

Answered

How To Find the Euler Angles(Roll,Pitch,Yaw) of a Plane in 3D?

Hi Ercan, You mentioned that you have a plane equation of the form and wish to calculate the Euler angles. I presume you are r...

How To Find the Euler Angles(Roll,Pitch,Yaw) of a Plane in 3D?

Hi Ercan, You mentioned that you have a plane equation of the form and wish to calculate the Euler angles. I presume you are r...

3 jours ago | 1

Answered

Create the following Matrix typing one command

Hi Jens, In MATLAB for entering matrix values, commas and spaces can be used (interchangeably) to separate values left to right...

Create the following Matrix typing one command

Hi Jens, In MATLAB for entering matrix values, commas and spaces can be used (interchangeably) to separate values left to right...

4 jours ago | 0

Answered

Please write the c-code below in matlab.

Hey Attcharapan, I presume that you're trying to do somethign similar to the Sieve of Erastosthenes alrogithm and find prime nu...

Please write the c-code below in matlab.

Hey Attcharapan, I presume that you're trying to do somethign similar to the Sieve of Erastosthenes alrogithm and find prime nu...

4 jours ago | 0

Answered

feature vector of NN

You can extract the network and inputs from the 'results' struct using.. net = results.net inputs = results.inputs I found ...

feature vector of NN

You can extract the network and inputs from the 'results' struct using.. net = results.net inputs = results.inputs I found ...

14 jours ago | 0

| accepted

Answered

Response must not contain any NaNs??

Hi Sho, NaN is a special floating-point value which is used as a placeholder in cases where a 'double' type number was expected...

Response must not contain any NaNs??

Hi Sho, NaN is a special floating-point value which is used as a placeholder in cases where a 'double' type number was expected...

16 jours ago | 1

| accepted

Answered

Importing EEG edf to matlab

Hi Mubeen, I presume you're using the pro_biosig.m file found here: https://github.com/donnchadh/biosig/blob/master/biosig/eegl...

Importing EEG edf to matlab

Hi Mubeen, I presume you're using the pro_biosig.m file found here: https://github.com/donnchadh/biosig/blob/master/biosig/eegl...

17 jours ago | 0

Answered

Terminating function call with CTRL-C but keep the main function working

Hi Adrian, I can't think of a straightforward solution, since MATLAB doesn't allow you to programmatically trigger a Ctrl+C ; n...

Terminating function call with CTRL-C but keep the main function working

Hi Adrian, I can't think of a straightforward solution, since MATLAB doesn't allow you to programmatically trigger a Ctrl+C ; n...

23 jours ago | 0

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 '=...

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 '=...

environ 2 mois 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...

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

environ 2 mois 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...

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

environ 2 mois 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...

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

2 mois 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...

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

2 mois 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-...

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

2 mois 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...

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

2 mois 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 ...

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

2 mois 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...

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

2 mois 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...

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

3 mois 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'...

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

3 mois 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 ...

3 mois 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...

3 mois 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. ...

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

3 mois 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...

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

3 mois 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...

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

3 mois 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,...

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

3 mois 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...

3 mois 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...

3 mois 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...

3 mois 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 ...

3 mois 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...

3 mois 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, ....

3 mois ago