Welcome![Sign In][Sign Up]
Location:
Search - nargin

Search list

[ActiveX/DCOM/ATLarg

Description: 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.
Platform: | Size: 1024 | Author: 李泽 | Hits:

[Documents1

Description: 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.
Platform: | Size: 6144 | Author: 陈茯苓 | Hits:

[Graph programDIPM

Description: 关于边缘检测的一个c++程序,较为经典,可以借鉴-It about a program of nargin using c++
Platform: | Size: 2241536 | Author: SkySeraph | Hits:

[matlabnntest6

Description: 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 )
Platform: | Size: 2048 | Author: hacen | Hits:

[Otherfjhnmk

Description: 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
Platform: | Size: 2048 | Author: jafar | Hits:

[Otherhtni

Description: 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
Platform: | Size: 3072 | Author: jafar | Hits:

[Otherswcf

Description: 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
Platform: | Size: 5120 | Author: jafar | Hits:

[Othermex

Description: 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
Platform: | Size: 2048 | Author: jafar | Hits:

[matlabnargin

Description: 主要用于matlab中的一些基本方法的介绍 以一些功能简介,适合初学matlab用户-used for matlab
Platform: | Size: 2048 | Author: 王三石 | Hits:

[matlabargs

Description: 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.
Platform: | Size: 1024 | Author: 晓晓 | Hits:

[matlabDistEuclidian

Description: 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
Platform: | Size: 2048 | Author: safa younes | Hits:

[GUI Developanfis

Description: 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
Platform: | Size: 1024 | Author: hassan | Hits:

[Program docmatlab

Description: 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
Platform: | Size: 1024 | Author: sandeep | Hits:

[matlabK_means

Description: 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
Platform: | Size: 2048 | Author: 夕研 | Hits:

CodeBus www.codebus.net