我想在 matlab 中绘制这个函数: f(x,y) = (x²+y²)^0.25 * [sin²(50(x²+y²)^0.1) + 1.0]; 所以这是我写的:
>> x = -100 : 1 : 100; //where x varies
>> y = -100 : 1 : 100; //where y varies
>> A = (power(x, 2)+ power(y, 2));
>> B = 50 * A;
>> C = sin(power(B,0.1));
>> z = (power(A,0.25))*((power(C,2)+1));
??? Error using ==> mtimes
Inner matrix dimensions must agree.// how can i resolve this error??
帮助!