摘要: >> clear all Image = imread("PICTURE1.jpg"); imshow(Image); [centers,radii,metric] = imfindcircles(Image,[20,1000]); subplot(121),imshow(Image); visci 阅读全文
posted @ 2026-03-30 16:21 酒神醉心者丶 阅读(1) 评论(0) 推荐(0)
摘要: >> clear all; >> Image = im2double(rgb2gray(imread('C001H001S0001000001.jpg'))); >> figure,imshow(Image),title('原始图像'); >> BW = edge(Image,'log'); >> 阅读全文
posted @ 2026-03-30 09:52 酒神醉心者丶 阅读(1) 评论(0) 推荐(0)
摘要: >> clear all >> >> Image = im2double(rgb2gray(imread('C001H001S0001000001.jpg'))); >> H1 = [-1 -1 -1;0 0 0;1 1 1]; >> H2 = [0 -1 -1;1 0 -1;1 1 0]; >> 阅读全文
posted @ 2026-03-30 09:13 酒神醉心者丶 阅读(3) 评论(0) 推荐(0)
摘要: # 线性回归计算 # 生成数据集 import random import torch from torch.utils import data from d2l import torch as d2l true_w = torch.tensor([2, -3.4]) true_b = 4.2 fe 阅读全文
posted @ 2026-03-27 15:09 酒神醉心者丶 阅读(4) 评论(0) 推荐(0)
摘要: # import torch import math # import time import numpy as np from d2l import torch as d2l def normal(x, mu, sigma): p = 1 / math.sqrt(2 * math.pi * sig 阅读全文
posted @ 2026-03-27 14:20 酒神醉心者丶 阅读(5) 评论(0) 推荐(0)
摘要: 1.自定义梁截面 1 FINISH 2 /Clear 3 /PREP7 4 K,1,1130/2,0,0 5 K,2,1130/2,16,0 6 K,3,1130/2-30,16,0 7 K,4,1130/2-30,0,0 8 K,5,1130/2-30-12,0,0 9 K,6,1130/2-30 阅读全文
posted @ 2022-05-20 08:34 酒神醉心者丶 阅读(4109) 评论(0) 推荐(0)
摘要: 1.K1关键字 该CONTA174单元关键字主要用来设置单元自由度。 KEYOPT(1)=0:只考虑结构 UX, UY, UZ的自由度; KEYOPT(1) = 1:同时考虑结构自由度和温度自由度( UX, UY, UZ, TEMP); KEYOPT(1) = 2:仅考虑温度自由度( TEMP); 阅读全文
posted @ 2021-04-12 21:18 酒神醉心者丶 阅读(4249) 评论(0) 推荐(0)
摘要: 1.定义一个委托,并调用 class Program { private delegate string GetAstring(); static void Main(string[] args) { int X = 100; //使用委托类型创建实例 //GetAstring firststrin 阅读全文
posted @ 2021-03-02 20:56 酒神醉心者丶 阅读(108) 评论(0) 推荐(0)
摘要: 1.使用择一匹配符提取字符串 static void Main(string[] args) { string str = "Berliner,Philharmoniker;Herbert.von,karajan"; string pattern = @"[;]|[,]|[.]"; //择一匹配 s 阅读全文
posted @ 2021-03-01 20:01 酒神醉心者丶 阅读(88) 评论(0) 推荐(0)
摘要: 1.查找除aceo之外的所有字符,用*代替; static void Main(string[] args) { string str = "I am Tschaikowsky Klavierkonzert"; string pattern = @"[^aceo]"; string a = Rege 阅读全文
posted @ 2021-02-27 22:06 酒神醉心者丶 阅读(242) 评论(0) 推荐(0)
Live2D