用matlab画函数图像

MATLAB中怎么绘制出cos(nπx/L)cos(mπy/L)-cos(mπx/L)cos(nπy/L)=0 其中,(m,n=1,2……)、L为定值. x.y为坐标轴。的图像

clc
clear all;

syms n m L x y
S = solve(cos(n*pi*x/L) * cos(m*pi*y/L) == cos(m*pi*x/L)*cos(n*pi*y/L), [x, y])

这个函数无解

img

可以参考一下,如有帮助,请采纳
比如 f(x)=x+10sin(5x)+7cos(4x)

%%%%%%%%%f(x)=x+10sin(5x)+7cos(4x)%%%%%%%%%%
clear all;              %清除所有变量
close all;              %清图
clc;                    %清屏
x=0:0.01:10;
y=x+10*sin(5*x)+7*cos(4*x);
plot(x,y)
xlabel('x')
ylabel('f(x)')
title('f(x)=x+10sin(5x)+7cos(4x)')

【用matlab绘制函数图像】https://minipro.baidu.com/ma/qrcode/parser?app_key=GeVyFwtN81ARbPF3GIbuaPlRPT3SfzYB&launchid=7bd73d00-d7e9-4986-a616-a21263df8475&path=%2Fpages%2Farticle%2Farticle%3Feid%3De73e26c0dfa80765acb6a75e%26scene%3D10810008%26from%3D%26_swebFromHost%3Dbaiduboxapp