MATLAB: Undefined operator ‘^’ for input arguments of type ‘cell’.

signal processing

c0=1;
c1=2;
c3=4;
A={((c0/2)-(c1*c2/6)+(c2^3/27))-[(c0/2)-(c1*c2/6)+((c2^3/27)^2)+(c1/3-c2^2)^3]^1/2}^1/3;
i am getting the above error

Best Answer

c0=1;
c1=2;
c2=5
c3=4;
A=(((c0/2)-(c1*c2/6)+(c2^3/27))-[(c0/2)-(c1*c2/6)+((c2^3/27)^2)+(c1/3-c2^2)^3]^1/2)^1/3;
You can't write
a= {2+3}^3
write
a=(2+3)^3