EE308_Lab1_1
1. Self-introduction
My name is Fuze Sun, a junior student at FZU. I like comic and animation, and I also like football. So far, my life is very peaceful and smoetimes boring, I really need a girlfriend to change this situation, Well, maybe it is too difficult for someone like me.
2. The skills I've learned and preferred
2.1 Programming language
After two and a half years of study, I've learned the basic knowledge of Java, c++, c, matlab and so on. It seems like I have learned a lot. Well, acturally, the hardest thing I can do is only to create a class by Java or c++. Programming is not the most important curse. I can not write a web page or APP. So software engineering may be the most difficult course for me in this term. Even though I will try my best to finish all the Lab perfectly.
2.2 Other courses I have
We also have other courses such as embedded system, signal&system and control system and so on. In the last term, my teammates and me build a robot which can automatically follow the ultrasonic signal. In my free time, I learned video clip. If you're interested, I'm very glad you to follow my bilibili account.
2.3 Skills I prefer
Nowadays, The concept of artificial intelligence is catching on. And I tried drawing with artificial intelligence. Hope one day, I can build an artificial intelligence project by myself.

3. The amount of code
The longest code I have written is about 180 lines. Here is an AVLtree class.
public class AVLtree {
public Node root;
public class Node{
int value;
Node left;
Node right;
Node parent;
public Node(int value){
this.value = value;
}
public Node(Node node,int value){
this.parent = node;
this.left = null;
this.right = null;
this.value = value;
}
}
public AVLtree() {
root = null;
}
public void insert(int key) {
Node n = new Node(key);
Node current = root;
Node p;
p = current;
if(root == null) {
root = n;
}
else {
while(true) {
p = current;
if(key < current.value) {
current = current.left;
if(current == null) {
Node n1 = new Node(p,key);
p.left = n1;
break;
}
}else{
current = current.right;
if(current == null) {
Node n1 = new Node(p,key);
p.right = n1;
break;
}
}
}
}
rebuild(p);
}
private Node rebuild(Node p) {
while(p != null){
if(getHight(p.left)-getHight(p.right) == 2){
if(getHight(p.left.left)-getHight(p.left.right) == 1)
rotateWithLeftChild(p);
else {
doubleWithLeftChildRightSubtree(p);
}
}else if(getHight(p.left)-getHight(p.right) == -2){
if(getHight(p.right.right)-getHight(p.right.left) == 1)
rotateWithRightChild(p);
else {
doubleWithRightChildLeftSubtree(p);
}
}
p = p.parent;
}
return p;
}
public int getHight(Node node){
if(node == null){
return 0;
}
return 1+Math.max(getHight(node.left),getHight(node.right));
}
private Node rotateWithLeftChild(Node k2) {
Node k1 = k2.left;
if(k2 != null) {
k2.left = k1.right;
if(k1.right != null) {
k1.right.parent = k2;
}
k1.parent = k2.parent;
if(k2.parent ==null) {
this.root = k1;
}
else if(k2.parent.right == k2) {
k2.parent.right = k1;
}
else if(k2.parent.left == k2) {
k2.parent.left = k1;
}
k1.right = k2;
k2.parent = k1;
}
return k1;
}
private Node rotateWithRightChild(Node k2) {
Node k1 = k2.right;
if(k2 != null) {
k2.right = k1.left;
if(k1.left != null) {
k1.left.parent = k2;
}
k1.parent = k2.parent;
if(k2.parent ==null) {
this.root = k1;
}
else if(k2.parent.right == k2) {
k2.parent.right = k1;
}
else if(k2.parent.left == k2) {
k2.parent.left = k1;
}
k1.left = k2;
k2.parent = k1;
}
return k1;
}
private Node doubleWithLeftChildRightSubtree(Node k3) {
k3.left = rotateWithRightChild(k3.left);
return rotateWithLeftChild(k3);
}
private Node doubleWithRightChildLeftSubtree(Node k3) {
k3.right = rotateWithLeftChild(k3.right);
return rotateWithRightChild(k3);
}
public void sortAscending(Node n) {
if(n!= null) {
sortAscending(n.left);
System.out.print(n.value + " ");
sortAscending(n.right);
}
}
public Node delete(Node root,int v) {
if(v<root.value) {
root.left = delete(root.left,v);
}
else if(v>root.value) {
root.right = delete(root.right,v);
}
else {
if(root.left!=null && root.right!=null) {
Node n = root.right;
while(n.left!=null) {
n=n.left;
}
root.value = n.value;
root.right = delete(root.right,n.value);
}
else {
root = (root.left!=null)?root.left:root.left;
}
}
if(root==null) {
return(root);
}
if(getHight(root.left)-getHight(root.right) == 2){
if(getHight(root.left.left)-getHight(root.left.right) == 1)
return(rotateWithLeftChild(root));
else {
return(doubleWithLeftChildRightSubtree(root));
}
}else if(getHight(root.left)-getHight(root.right) == -2){
if(getHight(root.right.right)-getHight(root.right.left) == 1)
return(rotateWithRightChild(root));
else {
doubleWithRightChildLeftSubtree(root);
}
}
return root;
}
}
I hope we can finish a project with thousands of lines.
4. Course Planning
In this course, I want to have a better understanding of software engineering. As the team leader, I hope to lead our team to cooperate well and complete the tasks of this semester together. To ahieve this goal, I will try my best to learn relevant knowledge(database, Java...) and I will also assign appropriate tasks to my team members.
| The Link Your Class | https://bbs.csdn.net/forums/MUEE308FZU202201 |
|---|---|
| The Link of Requirement of This Assignment | https://bbs.csdn.net/topics/608734618 |
| The Aim of This Assignment | introduction |
| MU STU ID and FZU STU ID | 20124261 832002225 |
相关推荐
EE-308 LAB4 final version.7z
这是本次实验的压缩包
复现基于李雅普诺夫的模型预测控制MPC水下机器人AUV方法路径跟踪(Matlab代码实现)
内容概要:本文系统介绍了基于李雅普诺夫稳定理论的模型预测控制(MPC)方法在水下机器人(AUV)路径跟踪中的应用,并提供了完整的Matlab代码实现。该方法融合MPC的多步预测与滚动优化优势,通过构造李雅普诺夫函数严格证明闭环系统的渐近稳定性,有效提升了AUV在复杂海洋环境下的轨迹跟踪精度、抗干扰能力与控制鲁棒性。文档不仅详述了控制系统建模、约束处理与稳定性分析的关键步骤,还配套列举了大量相关科研资源,涵盖路径规划、运动控制、智能算法等多个方向,突出其在顶刊算法复现、科研验证与工程仿真中的高参考价值。; 适合人群:具备自动控制理论、机器人学或海洋工程等相关专业背景,熟悉Matlab/Simulink仿真工具,且具有一定控制算法基础的研究生、科研人员及自动化领域工程技术人员。; 使用场景及目标:①开展水下机器人高精度路径跟踪控制算法的研究与仿真验证;②深入学习李雅普诺夫稳定性理论与MPC控制策略的有机结合方法;③作为高水平期刊论文复现的技术支撑,服务于科研项目推进、学术论文撰写与算法创新设计; 阅读建议:建议结合文档中提及的反步法、滑模控制、非线性MPC等先进控制技术进行对比分析,重点研读代码中的动力学建模、优化问题构建、约束处理机制与稳定性证明逻辑,根据具体研究需求灵活调整系统参数与仿真场景,以实现最优控制性能并深化理论理解。
风光火储多源协同参与电网一次调频与二次 AGC 调频控制策略研究(Simulink仿真实现)
内容概要:本文聚焦于风光火储多源协同参与电网一次调频与二次AGC调频控制策略的研究,基于Simulink平台构建完整的多能源系统仿真模型,深入探讨风力发电、光伏发电、火力发电与储能系统在电网频率调节中的协同工作机制。研究系统分析了一次调频的快速响应特性与二次自动发电控制(AGC)的动态调节能力,重点设计并验证了多源协调控制算法,通过仿真评估不同电源间的出力互补性与动态响应性能,有效提升了含高比例新能源电网的频率稳定性和运行可靠性,具有突出的理论深度与工程应用价值。; 适合人群:适用于具备电力系统分析、自动控制理论及新能源并网技术背景的研究生、科研人员以及从事电网调度、新能源集成与储能系统设计的工程技术人员。; 使用场景及目标:①研究多能源系统协同参与电网频率调节的动态机制;②设计与优化面向复杂电网环境的一次调频与AGC协调控制策略;③开展新能源大规模接入背景下电网稳定性仿真分析;④支撑高水平学术论文撰写、科研项目申报或实际工程方案的技术验证与原型开发。; 阅读建议:建议结合Simulink仿真环境动手复现文中控制模型,对照控制逻辑与时序响应曲线深入理解多源协同控制的设计原理,同时可参考文中关联的MATLAB/Simulink案例进行拓展性研究与算法改进。
厂外外包管制作业规范.doc
制造技术
科技型中小企业申请政府资助时,孵化器管理系统需要提供哪些关键数据支撑材料?.docx
科易网基于行业知识库+行业大数据+科技资源要素+AI模型,以AI,赋能技术转移、成果转化、技术经理人培训、知识产权管理、区域产业分析与布局、地方科技招商、创新创业大赛等场景,推出科技创新领域的AI工具、场景化服务和数智化解决方案,推动科技创新与产业创新智能化发展。


