freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)值分析課程設(shè)計(jì)--三次樣條插值-資料下載頁

2025-01-16 15:54本頁面
  

【正文】 [3] 石博強(qiáng),[M].北京:.[4]郝紅偉,MATLAB 6,北京,中國電力出版社,2001[5]姜健飛,胡良劍,數(shù)值分析及其MATLAB實(shí)驗(yàn), 科學(xué)出版社,2004[6]薛毅,數(shù)值分析實(shí)驗(yàn),北京工業(yè)大學(xué)出版社,2005翻譯Switch語句在幾個(gè)case表達(dá)式基礎(chǔ)上的轉(zhuǎn)換。語法:case case_expr statement,...,statement case {case_expr1,case_expr2,case_expr3,...} statement,...,statement... otherwise statement,...,statementend用法討論:switch表達(dá)式的語法足一種有條件的執(zhí)行碼。特別地,switch執(zhí)行一系列任意的可供選強(qiáng)的數(shù)字下的語句,每一個(gè)可選項(xiàng)組成一個(gè)case,由以下3個(gè)部分組成:(1) case語句。(2) 一個(gè)或多個(gè)表達(dá)式。(3) 一個(gè)或多個(gè)語句。在基本語法中,switch執(zhí)行的語句必須滿足switch_expr=case_expr。當(dāng)case表達(dá)式為單元數(shù)組時(shí)(如上面的第——個(gè)case所示),case_expr只有在單元數(shù)組元中有元素匹配switch表達(dá)式時(shí)才匹配上。如果沒有case表達(dá)式匹配switch表達(dá)式,則控制轉(zhuǎn)換到otherwise case(如果該項(xiàng)存在的話)。Case執(zhí)行完后,程序必須從switch末尾開始繼續(xù)執(zhí)行。switch_expr是一個(gè)標(biāo)量或者一個(gè)字符串。如果switch_expr=case_expr成立的,標(biāo)量switch_expr匹配上case_expr。當(dāng)且僅當(dāng)strcmp(switch_expr,case_expr)=1(真)時(shí) ,一個(gè)字符串switch_expr與case_expr匹配。應(yīng)用實(shí)例:執(zhí)行的列編碼塊基于what the string, method, is set to, methodmethod = 39。Bilinear39。switch lower(method) case {39。linear39。,39。bilinear39。} disp(39。Method is linear39。) case 39。cubic39。 disp(39。Method is cubic39。) case 39。nearest39。 disp(39。Method is nearest39。) otherwise disp(39。Unknown method.39。)endMethod is linear對(duì)照英文:Switch among several cases based on expression Syntaxswitch switch_expr case case_expr statement,...,statement case {case_expr1,case_expr2,case_expr3,...} statement,...,statement... otherwise statement,...,statementendDiscussionThe switch statement syntax is a means of conditionally executing code. In particular, switch executes one set of statements selected from an arbitrary number of alternatives. Each alternative is called a case, and consists of The case statement One or more case expressions One or more statements In its basic syntax, switch executes the statements associated with the first case where switch_expr == case_expr. When the case expression is a cell array (as in the second case above), the case_expr matches if any of the elements of the cell array matches the switch expression. If no case expression matches the switch expression, then control passes to the otherwise case (if it exists). After the case is executed, program execution resumes with the statement after the end. The switch_expr can be a scalar or a string. A scalar switch_expr matches a case_expr if switch_expr==case_expr. A string switch_expr matches a case_expr if strcmp(switch_expr,case_expr) returns 1 (true). Note for C Programmers .Unlike the C language switch construct, the MATLAB switch does not fall through. That is, switch executes only the first matching case。 subsequent matching cases do not execute. Therefore, break statements are not used. ExamplesTo execute a certain block of code based on what the string, method, is set to, method = 39。Bilinear39。switch lower(method) case {39。linear39。,39。bilinear39。} disp(39。Method is linear39。) case 39。cubic39。 disp(39。Method is cubic39。) case 39。nearest39。 disp(39。Method is nearest39。) otherwise disp(39。Unknown method.39。)endMethod is linear
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1