Community Profile

photo

Caleb Nickens


Last seen: 2 days ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

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

4 months ago | 1 answer | 0

1

answer

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

9 months ago | 1 answer | 0

1

answer

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

9 months ago | 2 answers | 0

2

answers

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

9 months ago | 1 answer | 0

1

answer