1. Background
When running the matlab program, sometimes the output result is too long, and the command line window cannot be fully displayed no matter how large it is. The copied result will also have... instead of the complete result, as shown in the following figure:
Double-click the copy result to display as follows:
y: (25exp(-8x) (10exp(8x) - 9))/9 - ((16exp (-5x))/9 - (40xexp(-5x))/3…
2. Solution to incomplete display of results in the matlab command line window
In fact, all the running results and intermediate variables of matlab will be saved to the workspace on the right. By reading the program carefully, you can see which variable the result is.
Here I assign the results to sol. Just click sol in the workspace on the right to open the command line and display incomplete results.
% 显示解
disp('解:');
disp(sol);
Summary: It’s important to use your brain to think about the reasons.