MATLAB编程死循环求助在编写matlab程序时,不慎出现死循环,麻烦给位高手帮忙看看,帮忙找出错误:B=[0\x058 0\x058 2\x052 0\x056 6\x056.4\x056 6\x056 2 2 4 0\x056];A=[inf\x052.04 \x054.29 \x051.08 \x05inf\x053.02 \x050.53

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 11:31:58
MATLAB编程死循环求助在编写matlab程序时,不慎出现死循环,麻烦给位高手帮忙看看,帮忙找出错误:B=[0\x0580\x0582\x0520\x0566\x056.4\x0566\x05622

MATLAB编程死循环求助在编写matlab程序时,不慎出现死循环,麻烦给位高手帮忙看看,帮忙找出错误:B=[0\x058 0\x058 2\x052 0\x056 6\x056.4\x056 6\x056 2 2 4 0\x056];A=[inf\x052.04 \x054.29 \x051.08 \x05inf\x053.02 \x050.53
MATLAB编程死循环求助
在编写matlab程序时,不慎出现死循环,麻烦给位高手帮忙看看,帮忙找出错误:
B=[0\x058 0\x058 2\x052 0\x056 6\x056.4\x056 6\x056 2 2 4 0\x056];
A=[inf\x052.04 \x054.29 \x051.08 \x05inf\x053.02 \x050.53 \x052.35 \x051.77 \x050.89 \x050.85 \x0511.10 \x054.38 \x052.45 \x05inf\x055.13
inf\x052.86 \x052.47 \x050.96 \x05inf\x051.74 \x052.26 \x050.86 \x051.98 \x052.62 \x052.64 \x0512.39 \x056.18 \x053.23 \x05inf\x056.64
inf\x052.39 \x052.58 \x052.16 \x05inf\x052.99 \x053.05 \x052.15 \x051.42 \x053.02 \x053.35 \x0511.75 \x056.45 \x052.62 \x05inf\x057.64
inf\x05inf\x054.91 \x052.75 \x05inf\x054.55 \x052.37 \x053.69 \x050.98 \x051.68 \x052.38 \x059.54 \x054.31 \x050.42 \x05inf\x056.49
inf\x054.91 \x05inf\x053.35 \x05inf\x052.33 \x054.72 \x052.22 \x053.93 \x055.08 \x055.11 \x0514.32 \x058.64 \x055.18 \x05inf\x058.90
inf\x052.75 \x053.35 \x05inf\x05inf\x051.96 \x051.40 \x051.28 \x052.10 \x051.96 \x051.79 \x0512.10 \x055.42 \x053.16 \x05inf\x055.69
inf\x053.52 \x055.66 \x052.35 \x05inf\x053.79 \x051.28 \x053.47 \x053.53 \x051.85 \x051.15 \x0511.43 \x053.76 \x053.89 \x05inf\x053.37
inf\x054.55 \x052.33 \x051.96 \x05inf\x05inf\x053.25 \x050.88 \x053.71 \x053.91 \x053.63 \x0514.02 \x057.28 \x054.93 \x05inf\x056.78
inf\x052.37 \x054.72 \x051.40 \x05inf\x053.25 \x05inf\x052.67 \x052.25 \x050.86 \x050.39 \x0511.07 \x054.04 \x052.77 \x05inf\x054.60
inf\x053.69 \x052.22 \x051.28 \x05inf\x050.88 \x052.67 \x05inf\x052.84 \x053.23 \x053.07 \x0513.20 \x056.71 \x054.07 \x05inf\x056.68
inf\x050.98 \x053.93 \x052.10 \x05inf\x053.71 \x052.25 \x052.84 \x05inf\x051.88 \x052.42 \x0510.48 \x055.09 \x051.28 \x05inf\x056.75
inf\x051.68 \x055.08 \x051.96 \x05inf\x053.91 \x050.86 \x053.23 \x051.88 \x05inf\x050.72 \x0510.25 \x053.56 \x052.04 \x05inf\x054.90
inf\x052.38 \x055.11 \x051.79 \x05inf\x053.63 \x050.39 \x053.07 \x052.42 \x050.72 \x05inf\x0510.78 \x053.65 \x052.75 \x05inf\x054.35
inf\x059.54 \x0514.32 \x0512.10 \x05inf\x0514.02 \x0511.07 \x0513.20 \x0510.48 \x0510.25 \x0510.78 \x05inf\x058.10 \x059.20 \x05inf\x0511.97
inf\x054.31 \x058.64 \x055.42 \x05inf\x057.28 \x054.04 \x056.71 \x055.09 \x053.56 \x053.65 \x058.10 \x05inf\x054.36 \x05inf\x054.00
inf\x050.42 \x055.18 \x053.16 \x05inf\x054.93 \x052.77 \x054.07 \x051.28 \x052.04 \x052.75 \x059.20 \x054.36 \x05inf\x05inf\x056.77
inf\x052.64 \x053.96 \x050.61 \x05inf\x052.43 \x050.82 \x051.86 \x052.20 \x051.52 \x051.22 \x0511.75 \x054.87 \x053.06 \x05inf\x055.12
inf\x056.49 \x058.90 \x055.69 \x05inf\x056.78 \x054.60 \x056.68 \x056.75 \x054.90 \x054.35 \x0511.97 \x054.00 \x056.77 \x05inf\x05inf];
path=[1]; i=1;sum=0;
while max(B)

MATLAB编程死循环求助在编写matlab程序时,不慎出现死循环,麻烦给位高手帮忙看看,帮忙找出错误:B=[0\x058 0\x058 2\x052 0\x056 6\x056.4\x056 6\x056 2 2 4 0\x056];A=[inf\x052.04 \x054.29 \x051.08 \x05inf\x053.02 \x050.53
ctrl+c停止,然后,在调试,发现其中的错误,改正过来就可以了.