代码搜索:2D物理模拟
找到约 10,000 项符合「2D物理模拟」的源代码
代码结果 10,000
www.eeworm.com/read/413044/11168814
c width.c
/* width.c -- field widths */
#include
#define PAGES 931
int main(void)
{
printf("*%d*\n", PAGES);
printf("*%2d*\n", PAGES);
printf("*%10d*\n", PAGES);
printf("*%-10d
www.eeworm.com/read/411796/11226311
m fwa2.m
function c = fwa2(x,pat,tp)
% fwa2 - 2D forward wave atom transform
% -----------------
% INPUT
% --
% x is a real N-by-N matrix. N is a power of 2.
% --
% pat specifies the type of frequency partitio
www.eeworm.com/read/411674/11233537
m check2ddata.m
function res=check2ddata(fname)
% CHECK2DDATA Checks if given file containins labeled 2D vectors.
%
% Synopsis:
% res = check2ddata(fname)
%
% Description:
% If the file 'fname' contains matrix X [2
www.eeworm.com/read/411401/11246822
m bound1.m
function int=bound1(g);
%bound1 Computes the boundary integral of one linear basis function in 2D FEM
% Function int=bound1(g) calculates the boundary integral
% of one basis function from g(1,:) to
www.eeworm.com/read/411401/11246897
m makenode2nd.m
function [Node]=MakeNode2nd(Element,Nodelist,g);
%MakeNode2nd Computes the Node data structure for a 2D mesh having quadratic triangles
% Function [Node]=MakeNode2nd(Element,g);
% computes the Node d
www.eeworm.com/read/411401/11246907
m makeelement2nd.m
function [Element,Nodelist]=MakeElement2nd(H,bg,E);
%MakeElement2nd Computes the Element data structure for a 2D quadratic triangular mesh
% Function [Element,Nodelist]=MakeElement2nd(H,bg,E);
% com
www.eeworm.com/read/249703/12478986
m dejong_f2.m
% DeJong_f2.m
% De Jong's f2 function, also called a Rosenbrock Variant
% This is a 2D only equation
%
% described by Clerc in ...
% http://clerc.maurice.free.fr/pso/Semi-continuous_challenge/Sem
www.eeworm.com/read/334873/12565546
m cnnderiv.m
function dx = cnnderiv(t,x)
%CNNDERIV derivative of 2D CNN
% takes and returns current state as
% a column vector.
% requires global variables A Bu I m n
global A Bu I m n
x = reshape(x,m,n
www.eeworm.com/read/147186/12578862
m plot_matrix.m
function plot_matrix(G, bw)
% PLOT_MATRIX Plot a 2D matrix as a grayscale image, and label the axes
%
% plot_matrix(M)
%
% For 0/1 matrices (eg. adjacency matrices), use
% plot_matrix(M,1)
if
www.eeworm.com/read/235612/14060239
m shootraytosurf.m
function [tray,r]=shootraytosurf(dt,tmax,r0)
% SHOOTRAYTOSURF: shoot a ray to z=0 in v(x,z)
%
% [tray,r]=shootraytosurf(dt,tmax,r0)
%
% Ray tracer for a 2D gridded velocity model. The model
% is