CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - nargin
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - nargin - List
[
ActiveX/DCOM/ATL
]
arg
DL : 0
In particular, ARGS is a demonstration of the NARGIN function, which counts command line arguments and the VARARGIN function, which allows the user to specify that a routine has a variable number of input arguments. -In particular, ARGS is a demonstration of the NARGIN function, which counts command line arguments and the VARARGIN function, which allows the user to specify that a routine has a variable number of input arguments.
Update
: 2025-02-19
Size
: 1kb
Publisher
:
李泽
[
Documents
]
1
DL : 0
1. 如果matlab有两个函数nargin和nargout,分别返回matlab函数的输入和输出参数的个数。如果采用元组变量varargin和varargout来替代常规的输入和输出参数,则函数就可以接收数目可变的输入和输出参数。-1. If there are two matlab functions nargin and nargout, respectively matlab function back to the input and output parameters of the number. If the tuple variable varargin and varargout to replace conventional input and output parameters, the function can receive a variable number of input and output parameters.
Update
: 2025-02-19
Size
: 6kb
Publisher
:
陈茯苓
[
Graph program
]
DIPM
DL : 0
关于边缘检测的一个c++程序,较为经典,可以借鉴-It about a program of nargin using c++
Update
: 2025-02-19
Size
: 2.14mb
Publisher
:
SkySeraph
[
matlab
]
nntest6
DL : 0
function nntest6(action,flag) NNTEST6 View and Control Neural network. See also SIMUFF. Koos j. den Oudsten, 1-20-99 koos@phil.uu.nl Copyright (c) 1998-99 by KoosSoft vof $Revision: 0.4 $ $Date: 1999/01/27 22:29:28 $ global Xx w1 b1 w2 b2 hidden mlp if nargin < 1 action = start end On recursive calls get all necessary handles and data. if ~strcmp(action, start ) childList = allchild(0) nn_fig = childList(find(childList == gcf)) ud = gco popupvalue = get(ud.popup, Value ) -function nntest6(action,flag) NNTEST6 View and Control Neural network. See also SIMUFF. Koos j. den Oudsten, 1-20-99 koos@phil.uu.nl Copyright (c) 1998-99 by KoosSoft vof $Revision: 0.4 $ $Date: 1999/01/27 22:29:28 $ global Xx w1 b1 w2 b2 hidden mlp if nargin < 1 action = start end On recursive calls get all necessary handles and data. if ~strcmp(action, start ) childList = allchild(0) nn_fig = childList(find(childList == gcf)) ud = gco popupvalue = get(ud.popup, Value )
Update
: 2025-02-19
Size
: 2kb
Publisher
:
hacen
[
Other
]
fjhnmk
DL : 0
function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file-function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file
Update
: 2025-02-19
Size
: 2kb
Publisher
:
jafar
[
Other
]
htni
DL : 0
function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file-function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file
Update
: 2025-02-19
Size
: 3kb
Publisher
:
jafar
[
Other
]
swcf
DL : 0
function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file-function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file
Update
: 2025-02-19
Size
: 5kb
Publisher
:
jafar
[
Other
]
mex
DL : 0
function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file-function matrix=asciiRead(fileName) asciiRead: Read an ascii file into a matrix Usage: matrix=asciiRead(fileName) Roger Jang, 20041021 if nargin<1, selfdemo return end fid=fopen(fileName, rb ) content=fread(fid, inf, char ) fclose(fid) file=tempname copyfile(fileName, file
Update
: 2025-02-19
Size
: 2kb
Publisher
:
jafar
[
matlab
]
nargin
DL : 0
主要用于matlab中的一些基本方法的介绍 以一些功能简介,适合初学matlab用户-used for matlab
Update
: 2025-02-19
Size
: 2kb
Publisher
:
王三石
[
matlab
]
args
DL : 0
ARGS is a MATLAB program which demonstrates command line argument retrieval.In particular, ARGS is a demonstration of the NARGIN function, which counts command line arguments and the VARARGIN function, which allows the user to specify that a routine has a variable number of input arguments.
Update
: 2025-02-19
Size
: 1kb
Publisher
:
晓晓
[
matlab
]
DistEuclidian
DL : 0
this code calculate the euclidian distance. h = waitbar(0, Distance Computation ) switch nargin case 1-this code calculate the euclidian distance. h = waitbar(0, Distance Computation ) switch nargin case 1
Update
: 2025-02-19
Size
: 2kb
Publisher
:
safa younes
[
GUI Develop
]
anfis
DL : 0
function [t_fismat, t_error, stepsize, c_fismat, c_error] ... = anfis(trn_data, in_fismat, t_opt, d_opt, chk_data, method) ANFIS Training routine for Sugeno-type FIS (MEX only). if nargin > 6 & nargin < 1, error( Too many or too few input arguments! ) end Change the following to set default train options. default_t_opt = [10 training epoch number 0 training error goal 0.01 initial step size 0.9 step size decrease rate 1.1] step size increase rate Change the following to set default display options. default_d_opt = [1 display ANFIS information 1 display error measure 1 display step size 1] display final result-function [t_fismat, t_error, stepsize, c_fismat, c_error] ... = anfis(trn_data, in_fismat, t_opt, d_opt, chk_data, method) ANFIS Training routine for Sugeno-type FIS (MEX only). if nargin > 6 & nargin < 1, error( Too many or too few input arguments! ) end Change the following to set default train options. default_t_opt = [10 training epoch number 0 training error goal 0.01 initial step size 0.9 step size decrease rate 1.1] step size increase rate Change the following to set default display options. default_d_opt = [1 display ANFIS information 1 display error measure 1 display step size 1] display final result
Update
: 2025-02-19
Size
: 1kb
Publisher
:
hassan
[
Program doc
]
matlab
DL : 0
function [out1,out2] = humps(x) HUMPS A function used by QUADDEMO, ZERODEMO and FPLOTDEMO. Y = HUMPS(X) is a function with strong maxima near x = .3 and x = .9. [X,Y] = HUMPS(X) also returns X. With no input arguments, HUMPS uses X = 0:.05:1. Example: plot(humps) See QUADDEMO, ZERODEMO and FPLOTDEMO. Copyright 1984-2014 The MathWorks, Inc. if nargin==0 x = 0:.05:1 end y = 1 ./ ((x-.3).^2 + .01) + 1 ./ ((x-.9).^2 + .04) - 6 if nargout==2, out1 = x out2 = y else out1 = y end qually probable bits, P(0) = P(1) = 0.5. (a) Construct a program to generate 10000 bits with bipolar signaling. (b) Use your program to simulate the bit error performance of the system with Eb/N0 = 0, 2, 4, 6, 8, 10 dB. (c) Compare your simul-function [out1,out2] = humps(x) HUMPS A function used by QUADDEMO, ZERODEMO and FPLOTDEMO. Y = HUMPS(X) is a function with strong maxima near x = .3 and x = .9. [X,Y] = HUMPS(X) also returns X. With no input arguments, HUMPS uses X = 0:.05:1. Example: plot(humps) See QUADDEMO, ZERODEMO and FPLOTDEMO. Copyright 1984-2014 The MathWorks, Inc. if nargin==0 x = 0:.05:1 end y = 1 ./ ((x-.3).^2 + .01) + 1 ./ ((x-.9).^2 + .04) - 6 if nargout==2, out1 = x out2 = y else out1 = y end qually probable bits, P(0) = P(1) = 0.5. (a) Construct a program to generate 10000 bits with bipolar signaling. (b) Use your program to simulate the bit error performance of the system with Eb/N0 = 0, 2, 4, 6, 8, 10 dB. (c) Compare your simul
Update
: 2025-02-19
Size
: 1kb
Publisher
:
sandeep
[
matlab
]
K_means
DL : 0
function varargout = K_means(varargin) % K_MEANS M-file for K_means.fig % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @K_means_OpeningFcn, ... 'gui_OutputFcn', @K_means_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []); if nargin && ischar(varargin{1}) gui_State.gui_Callback = str2func(varargin{1}); end
Update
: 2025-02-19
Size
: 2kb
Publisher
:
夕研
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.