⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xoft.m

📁 Dispersion de Rutherford en Matlab
💻 M
字号:
%xoft.m
% plots x=r*cos(2pi*t/tau)
clear;
tau=2;               %period
NPTS=100;            %number of points
t=[0:2/NPTS:2*tau];  %time array
r=2.0;               %amplitude
x=r*cos(2*pi*t/tau); %position array
plot(t,x);
title('Plot of x(t)=r\cdotcos(2\pit/\tau) vs time','FontSize',14)
ylabel('x(t)','FontSize',14);
xlabel('t(sec)','FontSize',14);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -