%the dimension is two ,n=2; clear clc lb=-5.12; ub=5.12; teix=0.05; [X,Y] = meshgrid(lb:teix:ub); Z=X.*X+Y.*Y; % %%mes…
BLE-Mesh 源代码
汇集 BLE-Mesh 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%例子: %二元插值interp2 %不规则数据griddata clear;close; %二元插值interp2 x=0:4;y=2:4; z=[82 81 80 82 84;79 63 61 65 81;84 84 82 85 86]; …
function [x,y,z]=meshf(f_name,xa,xb,y_lower,y_upper,m,n) %二元函数z=f(x,y)非矩形网格图 %用法:[x,y,z]=meshf('f_name',xa,xb,'y_lower','y_upper…
%微积分例2:二元函数求导(gradient) clear;close; xa=-1:0.1:1;ya=-1:0.1:1; [x,y]=meshgrid(xa,ya); F=y.*x.^2+y.^3.*x; [fx,fy]=gradient(F,xa…
%RWG32 FREQUENCY LOOP % Calculates radiated field at a point as a function % of frequency % The point is outside the met…
%RWG5 Visualizes the surface current magnitude % Uses the mesh file from RWG2, mesh2.mat, and % the file containing surface…
%RWG5 Visualizes the surface current magnitude % Uses the mesh file from RWG2, mesh2.mat, and % the file containing surface…
%RWG5 Visualizes the surface current magnitude % Uses the mesh file from RWG2, mesh2.mat, and % the file containing surface…
function [p,t]=plate(X1, X2, Y1, Y2, Z1, Z2, Size); %STRIP_ Creates strip (or plate) mesh in an arbitrary plane (xy or xz or yz) …
%RWG5 Visualizes the surface current magnitude % Uses the mesh file from RWG2, mesh2.mat, and % the file containing surface…