photo

Natalie


Last seen: 8 meses hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

  • Thankful Level 2

Ver insignias

Feeds

Ver por

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 4 respuestas | 0

4

respuestas