Why do i keep getting this," Incorrect use of '=' operator." error?
Afficher commentaires plus anciens
this is my code:
function z=fxy(M,N)
z=0;
for m=1:M & n=0:N
z = z+ ((10^5)*sin(x*y))+ ((((-1)^m)/(m^3))*(x.^m))+ ((y^n)/(factorial(n)));
end
alpha=linspace(-2,2,120);
beta=linspace(0,3,88);
[alpha,beta]=meshgrid(alpha,beta);
Z=fxy(20,25); //the error occurs here.
what do i do?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!