Original link:tecdat.cn/?p=12307

Original source:Tuo End number according to the tribe public number

 


 

I used MATLAB to solve the following Lorenz initial value problems:

I write a function that takes three systems of differential equations as input and solves the system using the Runge-Kutta method with step sizes. I used MATLAB to generate a GIF of the solution.

 

 

 

% input: % f1,f2,f3 = y'(t,y) as a string % y0 = initial condition % inter = interval % h = step size % L = LorenzRK (' - + 10 * 10 * y1 y2, y3 + '- y1 * 28 * y1 y2 -', '* y1 y2 - (8/3) * y3', [0, 50], [5,5,5],. 01) % draw Lorenz solution plot3 (L (:, 2), L (:, 3), L (:, 4)) % create GIF: L = LorenzRK (' - + 10 * 10 * y1 y2 ', '- y1 * y3 + 28 * y1 y2', '* y1 y2 - (8/3) * y3', [0, 50], [5,5,5],. 01)Copy the code


Most welcome insight

1. Dynamic map visualization in R language: how to create beautifully animated graphs

2. Visual analysis of R language survival analysis

3.Python Data Visualization – Seaborn Iris Iris data

4. R language for buffon needle throwing (Buffon needle throwing) experiment simulation and dynamic

5. Visualization case of R language survival analysis data analysis

6. R language data visualization analysis case: Explore BRFSS data data analysis

7. Dynamic visualization in R language: make animated GIF video images of cumulative dynamic line charts of historical global average temperature

8. Case report of principal component Pca and T-SNE algorithm dimension reduction and visual analysis for R language high-dimensional data

9. Python topics LDA modeling and T-SNE visualization