Caleb Nickens
Content Feed
提问
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. ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0