A = zeros(2,2);
c = 0:0.1:2.23;
A =[-1-2.*x(c)+y(c) x(c);-6.*y(c) 4-2.*c.*y(c)-6.*x(c)];
I am trying to plot a graph of trace-determinant of mmatrix A, where I am in need of the values of x and y varying with c in my matrix A.
The result is a vector of 0's, Values of y and care displayed fine but only one value of x in one iteration of c.
Array indices must be positive integers or
Error in Untitled7 (line 8)
A =[-1-2.*x(c)+y(c) x(c);-6.*y(c)