>> balance1('()')
ans =
1
>>
>> balance1('()((')
ans =
0
>> balance1('()(())')
ans =
1
引用
uu tsi (2024). balance1(x) (https://www.mathworks.com/matlabcentral/fileexchange/59613-balance1-x), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |