1 / 5

数学软件 Matlab

数学软件 Matlab. —— Matlab 与 Latex. 主要内容. 将符号计算的结果输出到 Latex Matlab 做图加入数学公式. 符号计算与 Latex. latex( 符号表达式 ). syms x f=diff(sqrt(x)) latex(f). H=sym(hilb(3)) latex(H). Matlab 做图与 Latex. Matlab 做图时可使用 text 命令在任意指定的地方放置文本. text (x,y,string, properties ). syms x

badrani
Download Presentation

数学软件 Matlab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 数学软件 Matlab —— Matlab 与 Latex

  2. 主要内容 • 将符号计算的结果输出到 Latex • Matlab 做图加入数学公式

  3. 符号计算与 Latex latex(符号表达式) syms x f=diff(sqrt(x)) latex(f) H=sym(hilb(3)) latex(H)

  4. Matlab 做图与 Latex • Matlab 做图时可使用 text命令在任意指定的地方放置文本 text(x,y,string,properties) syms x f=exp(sqrt(x)+2*x) ezplot(f,[0,1]) text(0.5,subs(f,x,0.5)+6,'exp(sqrt(x)+2x)') text(0.5,subs(f,x,0.5)+6,'exp(sqrt(x)+2x)', ... 'FontSize',12) 详细用法见: doc text  Text Properties

  5. Matlab 做图与 Latex • 如果需要输入数学符号或数学公式,可以使用 text命令的 interpreter 属性 syms x f=exp(sqrt(x)+2*x) ezplot(f,[0,1]) text(0.5,subs(f,x,0.5)+6, ... '$e^{\sqrt{x}+2x}$', 'interpreter','latex')

More Related