代码搜索:M

找到约 10,000 项符合「M」的源代码

代码结果 10,000
www.eeworm.com/read/389070/6353144

m m5_2.m

%%%%%%%%% Newton_Cotes Formula %%%%%%%%%% fprintf('\n Newton-Cotes Formula\n'); n=input('Number of data points(2-8)?'); a=input('Lower limit of integration:'); b=input('Upper limit of integratio
www.eeworm.com/read/389070/6353150

m m5_4.m

%%%%%%%% Double Integration by the Simpson's Rule %%%%%%%% clear; nx=input('Number of intervals in x_direction:'); ny=input('Number of intervals in y_direction:'); a=input('Lower limit of x,a?')
www.eeworm.com/read/389070/6353153

m m5_3.m

%%%%%%%%% Gauss Quadrature %%%%%%%%%%%%%% fprintf('Orders of the quadratures available are :n=2,3,4,5\n'); n=input('input n:'); while n>5|n==1 fprintf('\n warn: n=2,3,4,5\n'); n=input('
www.eeworm.com/read/389070/6353156

m m5_1.m

%%%%%%%%%%%%%%%% Trapezoidal or Simpson %%%%%%%%%%%%%%%%%%%%%%%%%%% fprintf('\n Rules of Trapezoidal/Simpson\n'); fprintf('The function to be integrated is hard--coded infunction()\n'); z=input('
www.eeworm.com/read/493017/6403961

m m_exam7.m

% example 7 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,x,z);
www.eeworm.com/read/493017/6403963

m m_exam1.m

% example 1 erasers=4; pads=6; tapes=2; items=erasers+pads+tapes; cost=erasers*25+pads*22+tapes*99; average_cost=cost/items; disp(cost); disp(average_cost);
www.eeworm.com/read/493017/6403970

m m_exam13.m

% example 13 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); a=2*sin(x).*cos(x); b=sin(x)./(cos(x)+eps); h1=figure; plot(x,y);axis([0 2*pi -1 1]),title('sin(x)'); h2=figure; plot(x,z);axis([0 2*pi
www.eeworm.com/read/493017/6403975

m m_exam9.m

% example 9 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,x,z); grid xlabel('Independent variable x'); ylabel('Independent variable y and z'); title('sine and cosine curves');
www.eeworm.com/read/493017/6404013

m m_exam11.m

% example 11 x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y); hold on plot (x,z,'m') hold off xlabel('Independent variable x'); ylabel('Independent variable y and z'); title('sine and c
www.eeworm.com/read/493017/6404035

m m_exam2.m

% example 2 erasers=4; pads=6; tapes=input('Enter number of tape>'); items=erasers+pads+tapes; cost=erasers*25+pads*22+tapes*99 average_cost=cost/items