matlab 局部变量
时间: 2023-08-26 21:17:34 浏览: 83
matlab开发-局部傅立叶变换
在Matlab中,局部变量是指在函数内部定义的变量,只在该函数内部可见和使用。如果一个变量没有特别声明,它默认是一个局部变量。这意味着该变量在函数外部是不可见的。在命令行窗口中调用fcircle函数,我们可以通过指定输出实参表来接收返回值,例如[s,p = fcircle(r)。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [转 MATLAB自定义函数及局部变量](https://blog.csdn.net/weixin_29745063/article/details/115879771)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Matlab的函数文件、匿名函数、函数递归调用、函数参数的可调性、全部变量与局部变量](https://blog.csdn.net/HangHug_L/article/details/108011678)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文