- 博客(15)
- 资源 (7)
- 收藏
- 关注
原创 Python基本语法
五种基本对象类型 字符串(string) 使用’’或” ”括起来 整数(integer) 十进制:123, 八进制:025, 十六进制0x15 浮点数(float) 2.13, 2., .21, 2.1E1 布尔数(boolean) True, False 复数(complex) 1+2j 通过type()可查看对象类型。 type(2)
2015-02-19 11:53:07 914
转载 MATLAB制作GIF之大鹏展翅
clc;clear all;close all;filename='bird.gif';for i=1:8 str = sprintf('photo1\\photo%d.jpg',i); % 写入文件位置和名称 img = imread(str); % 读取图像 img = imresize(img,[128,128]); % 重新设置图像大小 figure(i)
2015-02-15 17:32:47 2068
原创 MATLAB制作动画视频
“` x = -pi:.1:pi; y = sin(x); t = [1:-.1:-1, -1:.1:8]; for k = 1:size(t,2) plot(x,t(k)*sin(y)) axis ([-pi pi -10 10]) f(k) = getframe; end movie2avi(f,’filename.avi’);movie2avi(f,’
2015-02-15 16:34:41 2120
原创 MATLAB中getframe应用函数举例
clear;clc;clf;x=0:pi/100:50;y=sin(x).*x;plot(x,y)set(gcf,'color',[1 1 1]) %设置背景色为白色F=getframe(gcf); % 获取整个窗口内容的图像F1=getframe; % 获取坐标轴为界的图像imwrite(F.cdata,'test1.png') %将F.cdata写入test1.png图片imw
2015-02-15 16:19:07 24422
原创 matlab制作GIF之hello world
clear;clc;clff = ['hello world'];step = length(f);%figureaxis([0 step+2 0 2])axis off;for i=1:step text(i,1,f(i),'fontsize',40,'color','red'); hold on frame = getframe(gcf); im =
2015-02-15 15:46:33 1453
原创 欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2015-02-15 14:59:04 439
原创 Latex按照章节为公式编号
%为公式自动编号\makeatletter\@addtoreset{equation}{section}\makeatother\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}后面就可以begin{equation}
2015-02-05 15:58:51 16531 5
原创 Latex首行缩进&段落间距
%设置首行缩进1.5字符\usepackage{indentfirst}\setlength{\parindent}{1.5em}%设置段落之间的距离,若不需要删除或者注释掉即可。\setlength\parskip{.3\baselineskip}
2015-02-05 15:56:09 19915
原创 Latex项目编号
生成黑点项目编号\begin{itemize}\item \textbf{Applies widely}\\This system can be used for many types of airplanes, and it alsosolves the interference during the procedure of the boardingairplane
2015-02-05 15:30:09 2105
原创 Latex生成并列表格
\begin{table}[h] %h参数让表格固定在这个位置\centering\caption{shangtizhu} %这里为表格添加题注\begin{tabular}{cl}\toprule[1.5pt] Symbol & Description\\\midrule[0.5pt] ${I_i}$ & right\\${O_j}$ & 2\\$P\left(
2015-02-05 15:10:02 3683
原创 Latex引用公式
\begin{equation}\left\{ {\left( {{x_i},{y_i}} \right),i = 1,2, \cdots ,l} \right\}\label{11} \end{equation}As Eq.(\ref{11}) shows, blabla
2015-02-05 15:08:53 15516
原创 Latex杂谈
%为公式自动编号\makeatletter\@addtoreset{equation}{section}\makeatother\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
2015-02-04 17:38:54 823
原创 pajek使用说明
*vertices 101 "1"2 "2"3 "3"4 "4"5 "5"6 "6"7 "7"8 "8"9 "9"10 "10"*Matrix0 1 1 0 0 0 0 0 0 01 0 1 1 0 0 0 0 0 01 0 0 1 0 0 0 0 0 00 0 0 0 1 1 1 0 0 00 0 1 0 0 0 1 1 0 0
2015-02-02 21:10:44 8100
语音信号的合成及其matlab_GUI实现
2016-02-08
三体问题的迭代法求解及系统仿真
2016-02-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人