Natalie
Followers: 0 Following: 0
Feeds
질문
Using the find function to check if the numbers in an array are divisible by a given number
x = 0:1:10 f = x.^2-x-1 M = find( ~mod(f,2) & ~mod(f,3)) I can use the ~mod(f,2) function to find if the numb...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
Unrecognized function or variable 'e'
a = [1 2 3; 4 5 6; 7 8 9] b = [7 5 6] c = [19 23; 31 29; 17 13] d = [e(1:2,:); f; e(3,:)]; % matrix f is inserted between ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
My function won't accept the vector
x = 0:1:10; f(x) = x.^2-x-1; I keep getting an error message saying Array indices must be positive integers or logical values....
1년 초과 전 | 답변 수: 4 | 0