Vector field rotation using Rotation (Transformation) matrix:动画演示了在矢量场中使用二维旋转矩阵-matlab开发

时间:2021-05-29 09:21:38
【文件属性】:
文件名称:Vector field rotation using Rotation (Transformation) matrix:动画演示了在矢量场中使用二维旋转矩阵-matlab开发
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-29 09:21:38
matlab %% 二维旋转中的矢量场% by Prof. Roche C. de Guzman 清除; clc; 关闭所有'); %% 给定f = @(x,y) [1+0*x; sin(x.^2 + y.^2)]; % 匿名 fx: f(x,y) = (1)i + (sin(x^2 + y^2))j xi = 1; xf = 3; yi = 1; yf = 3; n = 8; % x 和 y 初始值和最终值,以及元素数量= 30; % 旋转角度 [度] fr = @(x,y) ROT(f,x,y,the); % 用于轮换的匿名 fx
【文件预览】:
VectorField2D_Rotation.m.zip

网友评论