clear all %syms x y; v = -1:0.02:1; [x,y] = meshgrid(v); z = x.^2+2.^y-1; [px,py] = gradient(z,.02,.02); quiver(v,v,px,py); …
Contour+Model 源代码
汇集 Contour+Model 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
clear all %syms x y; v = -1:0.02:1; [x,y] = meshgrid(v); z = x.^2+2.^y-1; [px,py] = gradient(z,.02,.02); quiver(v,v,px,py); …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
%产生非平稳信号 sig=atoms(128,[32,0.15,20,1;96,0.15,20,1;32,0.35,20,1;96,0.35,20,1]); %时域波形 figure(2) plot(real(sig),'LineWidth',2)…
%产生非平稳信号 sig=atoms(128,[32,0.15,20,1;96,0.15,20,1;32,0.35,20,1;96,0.35,20,1]); %时域波形 figure(2) plot(real(sig),'LineWidth',2)…
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …