Community Profile

photo

Caleb Nickens


Last seen: environ un an il y a Actif depuis 2021

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

Question


Error using ismember function: Input A of class cell and input B of class cell must be cell arrays of character vectors, unless one is a character vector.
I have a cell array of names with some duplicates. For example, the 1st, 18th and 32nd row of the array contain the same value. ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Indexing Error - can't get for loop to function because indices are incorrect
function basis = regbas(CorrectionType) basisN0 = @(x)[ 1 ]; basisN1 = @(x)[ 1, x ]; basisN2 = @(x)[ 1, x, x^2 ]; basisN3 ...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


Cannot input function handles into array
basisN0 = @(x)[ 1 ]; basisN1 = @(x)[ 1, x ]; basisN2 = @(x)[ 1, x, x^2 ]; basisN3 = @(x)[ 1, x, x^2, x^3 ]; When I use the c...

environ 3 ans il y a | 2 réponses | 0

2

réponses

Question


Can't save values to array with for loop
function traprule = traps(fr,y,a,b) format long dx = (1/fr); % fr = frequency in Hz N = ((b + a)/dx) + 1; % creating N trap...

environ 3 ans il y a | 1 réponse | 0

1

réponse