?? numconvertcard.m
字號(hào):
function [valindex] = NumconvertCard(num,length,AccCard)% This function converts a vector of variables num, where the accumulative cardinality of each variable is in AccCard,% to the index valindex corresponding to the vector.% AccCard is the product of cardinalities of previous variables, where the first variable is the one to left. valindex = num(length); for i=1:length-1, valindex = valindex + num(i)*AccCard(i); end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -