01 2018 档案

摘要:A - New Year 题目链接:https://abc084.contest.atcoder.jp/tasks/abc084_a Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement How m 阅读全文
posted @ 2018-01-24 17:58 wydxry 阅读(278) 评论(0) 推荐(0) 编辑
摘要:A - Libra 题目链接:https://abc083.contest.atcoder.jp/tasks/abc083_a Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement A balanc 阅读全文
posted @ 2018-01-24 17:40 wydxry 阅读(401) 评论(0) 推荐(0) 编辑
摘要:矩阵块操作: 矩阵尺寸改变: 矩阵的查找: 矩阵的排序: 矩阵求和: 矩阵的求积: 矩阵的差分: 全零矩阵: 单位矩阵: 随机矩阵: 伴随矩阵: 方针行列式计算: 特征值: 对角矩阵: 三角矩阵: 矩阵求逆: 阅读全文
posted @ 2018-01-24 15:53 wydxry 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-01-24 14:52 wydxry 阅读(239) 评论(0) 推荐(0) 编辑
摘要:1 function varargout = GUI20(varargin) 2 % GUI20 MATLAB code for GUI20.fig 3 % GUI20, by itself, creates a new GUI20 or raises the existing 4 % single 阅读全文
posted @ 2018-01-24 10:31 wydxry 阅读(370) 评论(0) 推荐(0) 编辑
摘要:1 function varargout = GUI19(varargin) 2 % GUI19 MATLAB code for GUI19.fig 3 % GUI19, by itself, creates a new GUI19 or raises the existing 4 % single 阅读全文
posted @ 2018-01-24 09:49 wydxry 阅读(428) 评论(0) 推荐(0) 编辑
摘要:1 function varargout = GUI18(varargin) 2 % GUI18 MATLAB code for GUI18.fig 3 % GUI18, by itself, creates a new GUI18 or raises the existing 4 % single 阅读全文
posted @ 2018-01-24 09:12 wydxry 阅读(398) 评论(0) 推荐(0) 编辑
摘要:1 %带有右键菜单的GUI 2 figure('Menubar','none'); 3 h = uicontextmenu; 4 uimenu(h,'Label','A'); 5 uimenu(h,'Label','B'); 6 set(gcf,'Uicontextmenu',h); 7 8 %获得 阅读全文
posted @ 2018-01-23 20:24 wydxry 阅读(413) 评论(0) 推荐(0) 编辑
摘要:1 function varargout = GUI013(varargin) 2 % GUI013 MATLAB code for GUI013.fig 3 % GUI013, by itself, creates a new GUI013 or raises the existing 4 % s 阅读全文
posted @ 2018-01-23 19:43 wydxry 阅读(453) 评论(0) 推荐(0) 编辑
摘要:输入对话框: 留言对话框: 目录对话框: 列表对话框: 阅读全文
posted @ 2018-01-23 17:44 wydxry 阅读(307) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 #include <cstring> 3 #include <string> 4 using namespace std; 5 int n; 6 struct LinkList 7 { 8 int value;//数据域 9 struct LinkLi 阅读全文
posted @ 2018-01-23 17:13 wydxry 阅读(367) 评论(0) 推荐(0) 编辑
摘要:%普通对话框 dialog %单击时会关闭当前窗口 %自定义 关于对话框 点击确定 关闭 h = dialog('name','关于...','Position',[200 200 200 70]); uicontrol('parent', h , 'Style','pushbutton','Pos 阅读全文
posted @ 2018-01-23 17:10 wydxry 阅读(225) 评论(0) 推荐(0) 编辑
摘要:1 %进度条 2 %waitbar 3 h=waitbar(0,'实例'); 4 get(h); 5 6 %获得进度条的子对象 7 get(get(h,'Children')) 8 9 ha=get(h,'Children'); 10 11 %获得坐标轴子对象内容 12 %get(ha,'Child 阅读全文
posted @ 2018-01-23 16:55 wydxry 阅读(198) 评论(0) 推荐(0) 编辑
摘要:112、文本串的加密: 目标与要求.一个文本串可用事先给定字母映射表进行加密,字母映射表如下:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ NgzQTCobmUHelkPdAwxfYIvrsJGnZqtcOBMuhELKpaDWXFyiVR 阅读全文
posted @ 2018-01-09 19:14 wydxry 阅读(741) 评论(0) 推荐(0) 编辑
摘要:1 package collection; 2 3 import java.util.ArrayList; 4 import java.util.Collection; 5 import java.util.Date; 6 import java.util.List; 7 8 public class test01 { 9 public static void ma... 阅读全文
posted @ 2018-01-07 16:35 wydxry 阅读(315) 评论(0) 推荐(0) 编辑
摘要:1 %颜色设置对话框 2 uisetcolor 3 4 %c 1 0 0 红色 5 c=uisetcolor 6 7 %默认规定颜色 8 c=uisetcolor([1 0 0 ]); 9 10 %设置曲线颜色 11 h = plot([0:10]); 12 c = uisetcolor(h); 13 14 %生成一个按钮 点击弹出改变颜色的对话框 选定颜色改变按钮的颜... 阅读全文
posted @ 2018-01-06 20:16 wydxry 阅读(1282) 评论(0) 推荐(0) 编辑
摘要:1 %uigetfile 2 uigetfile 3 4 doc uigetfile 5 6 %规定打开文件类型 7 uigetfile('*.m'); 8 9 %输出参数意义 10 [a,b,c] = uigetfile('*.m');%a 文件名 b 位置 c 保存键or取消键 11 12 [a,b,c] = uigetfile('*.txt'); 13 load(... 阅读全文
posted @ 2018-01-06 19:53 wydxry 阅读(212) 评论(0) 推荐(0) 编辑
摘要:1 %text 2 hf = axes; 3 ht = text(1,1,'示例'); 4 5 get(ht); 6 7 %公式 并且设置位置坐标 (积分符号) 8 text('String','\int_0^x dF(x)','Position',[0.5 0.5]); 9 10 text('interpreter','latex','String', '$$ \int... 阅读全文
posted @ 2018-01-06 19:36 wydxry 阅读(324) 评论(0) 推荐(0) 编辑
摘要:1 %示意line对象的用法 2 hf=figure; 3 hl=plot([0:10]); 4 5 %示意line对象的属性 6 get(hl) 7 8 %设置line的颜色 9 set(hl,'Color','r'); 10 11 %设置每个点形状 12 set(hl,'Marker','p'); 13 14 %设置颜色 15 set(hl,'MarkerEdgeC... 阅读全文
posted @ 2018-01-06 19:17 wydxry 阅读(292) 评论(0) 推荐(0) 编辑
摘要:1 %常用对象的属性 2 3 %1.figure 4 %hf=figure; 5 %get(hf); 6 7 %改变颜色 set Color 8 %set(hf,'Color','w'); 9 10 %去掉默认的菜单 Menubar 11 %set(hf,'Menubar','none'); 12 13 %设置名字 14 %set(hf,'NumberTitle',... 阅读全文
posted @ 2018-01-06 18:58 wydxry 阅读(515) 评论(0) 推荐(0) 编辑

Live2D