代码搜索:fprintf
找到约 10,000 项符合「fprintf」的源代码
代码结果 10,000
www.eeworm.com/read/458488/7296050
m nmmcheck.m
function nmmCheck(verbose)
% nmmCheck Verify installation of NMM toolbox
%
% Synopsis: nmmCheck
% nmmCheck(verbose)
%
% Input: verbose = (optional) flag to turn off/on printing of
www.eeworm.com/read/458488/7296063
m equaltest.m
% Script to demonstrate equality of two floating point numbers
x = tan(pi/6);
y = sin(pi/6)/cos(pi/6);
if x==y
fprintf('x and y are equal\n');
else
fprintf('x and y are not equal: x = %e
www.eeworm.com/read/458488/7296086
m newtonng.m
function x = newton(fun,x0,xtol,ftol,verbose,varargin)
% newtonNG Newton's method to find a root of the scalar equation f(x) = 0,
% no global (NG) variables are needed to pass
%
% Sy
www.eeworm.com/read/458488/7296103
m solvespeed.m
function solveSpeed
% solveSpeed Measure elapsed time and flop rate for solving Ax=b
%
% Synopsis: solveSpeed
%
% Input: none
%
% Output: Print out of elapsed time, flop rate and memory use
www.eeworm.com/read/458488/7296107
m demonewtonsys.m
function x = demoNewtonSys(maxit,x0)
% demoNewtonSys Solve a 2-by-2 nonlinear system by Newton's method
% The system is
% 1.4*x1 - x2 = 0.6
%
www.eeworm.com/read/458488/7296108
m vectorsequence.m
function vectorSequence(x,n)
% vectorSequence Behavior of a vector sequence x.^k in different p-norms
%
% Synopsis: vectorSequence
% vectorSequence(x)
% vectorSequence(x,n
www.eeworm.com/read/458488/7296119
m demossub.m
function x = demoSSub(maxit,x0)
% demoSSub Solve a 2-by-2 nonlinear system by successive substitution
% The system is
% 1.4*x1 - x2 = 0.6
% x1^2 - 1.6*x
www.eeworm.com/read/458488/7296134
m demoode45opts.m
function demoODE45opts(rtol,atol,nref)
% demoODE45opts Integrate dy/dx = -y; y(0) = 1 with ode45 and options
%
% Synopsis: demoODE45opts
% demoODE45opts(rtol)
% demoODE45
www.eeworm.com/read/458488/7296139
m demoode45args.m
function demoODE45args(alpha)
% demoODE45args Integrate dy/dt = -alpha*y; y(0) = 1 with variable alpha
%
% Synopsis: demoODE45
% demoODE45(alpha)
%
% Input alpha = (optional)
www.eeworm.com/read/458488/7296164
m compsplintflops.m
function compSplintFlops
% compSplintFlops Show flops savings due to sparse storage in spline interp
%
% Synopsis: compSplintFlops
%
% Input: None
%
% Output: Table of flops to compute spli