I haven't used MATLAB for research for a long time. I forgot a little bit about it at school and before.
I forgot to use two tips yesterday. I found it online.
1) sometimes write mFile,One rowCodeIt's too long. It needs to be written with a line break, which is easy to read. We need to use three dots and one comma, not three dots, or just one comma.What about commas?).
...,
For example:
Intervalue = (1-(x-INZ) * (iny + 1-y) * (x + 1-indx) * x111 ...,
+ (INZ + 1-z) * (iny + 1-y) * (X-indx) * x112 ...,
+ (INZ + 1-z) * (Y-iny) * (indx + _x) * x121 ...,
+ (INZ + 1-z) * (Y-iny) * (X-indx) * x122 ...,
+ (Z-INZ) * (iny + 1-y) * (indx + _x) * x211 ...,
+ (Z-INZ) * (iny + 1-y) * (X-indx) * x212 ...,
+ (Z-INZ) * (Y-iny) * (indx + _x) * x221 ...,
+ (Z-INZ) * (Y-iny) * (X-indx) * x222 );
2) WhenProgramA lot of Figure windows are generated. If there are hundreds of windows, the manual work is too tired. If it is none, it will affect others. There is a command to close all and close all windows. Of course, if you only want to close one, you can write it as close (Figure name.
Figure (1), figure (2), close (2 ).