📄 fcn2plot.mht
字号:
From: <Saved by Windows Internet Explorer 7>
Subject:
Date: Tue, 12 May 2009 09:58:39 -0700
MIME-Version: 1.0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
Content-Location: http://www.mece.ualberta.ca/Courses/mec390/390code/fcn2plot.m
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY><PRE>function y = fcn2plot(x)
% FCN2plot returns an array containing two functions to be
% plotted simultaneously with fplot
% BE SURE TO COMMENT OUT ALL DEFINITIONS NOT REQUIRED
% The following is used for plotting two functions with 'fplot'
% for the polynomial f2, this is rearrangment for 1-point iteration
%y(:,1) = -1200/(x^3 - 5*x^2 - 124*x + 380); % version 1
%y(:,1) = (5*x^3 + 124*x^2 - 380*x - 1200)/x^3; % version 2
y(:,1) =(-x^4 + 5*x^3 - 380*x - 1200)/(-124*x); % version 3
y(:,2) = x;
</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -