⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p1_3.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% P1_3.M MATLAB functions for f(x) % We will scan through the manual and list a few commands% For trigonometric functions, the value is in radians% The list does not include some functions that make more sense for%  vectors and matrices.%% Try help elfun for a longer list%diary p1_3.direcho onx=2.0abs(x)  % Same value since x>0.acos(x)	% If you don't understand this answer, review complex valuesacosh(x) %  There are other functions such as asin, asinh, atan, etc.angle(x) %  This is zero for a real numberceil(x)  % Other functions are fix, floor and round (Try these for x=2.1) cos(x)  % Other functions are cosh, cot, coth, sin, tan, etc.erf(x) % This is an integral; others are expint and gammaexp(x)gamma(x) % For an integer value, this is (n-1) factorialimag(x)  % This is zero for x real log(x) % Others are log10 and log2sqrt(x)echo offdiary off

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -