顺解淘宝ued前端小测试

[url]http://ued.taobao.com/sts/join_us.php[/url]
路过,前端有题,正好得闲,写解温故:
[img]http://dl.iteye.com/upload/attachment/439964/01e51ea0-6aa0-35f6-9e23-01983b0ac9f9.gif[/img]

<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312">
<title>鞋色选项</title>
<style>
#shoesColorGroup label{
position:relative;
overflow:hidden;
display:inline-block;
cursor:pointer;
border:5px solid #fff;
width:100px;
height:100px;
background:url(shoes-color-sprite.png);
/*text-indent:-32767px; 为测试观察效果,临时注释掉*/
}
#shoesColorGroup .label-choose-checked{
border:5px solid #f00;
}
#shoesColorGroup .label-choose-checked::before{
content:"√";
position:absolute;
right:1px;
bottom:1px;
padding:2px;
background-color:#f00;
font-size:10px;
font-weight:bold;
text-indent:0;
color:#fff;
}
#shoesColorGroup #brown_label{
background-color:brown;
background-position:0 0;
}
#shoesColorGroup #darkkhaki_label{
background-color:darkkhaki;
background-position:-100px 0;
}
#shoesColorGroup #fuchsia_label{
background-color:fuchsia;
background-position:-200px 0;
}
#shoesColorGroup #brown_label.label-choose-checked{
background-position:0 -100px;
}
#shoesColorGroup #darkkhaki_label.label-choose-checked{
background-position:-100px;
}
#shoesColorGroup #fuchsia_label.label-choose-checked{
background-position:-200px -100px;
}
</style>
<script src="zCool.js"></script>
</head>
<body>
<form name="form1" method="post" action="">
<div id="shoesColorGroup">
<label for="brown" id="brown_label">
<input type="radio" name="shoesColor" id="brown">
咖啡色</label>
<label for="darkkhaki" id="darkkhaki_label">
<input type="radio" name="shoesColor" id="darkkhaki">
暗黄色</label>
<label for="fuchsia" id="fuchsia_label">
<input type="radio" name="shoesColor" id="fuchsia">
紫红色</label>
</div>
</form>
<script>

$(function(){

// 为单选按钮确定被包含的<label/>标签,并设置样式类
function setChooseLabelClass(radio){
$(radio).
ancestor('label')
[ radio.checked ? 'addClass' : 'removeClass' ]
('label-choose-checked');
};

// 确定选项组的根元素
$('#shoesColorGroup').
// 委托注册事件
click(function(e){
if( $.match(e.target, 'input[type=radio]') ){
$(this).
find('input[type=radio]', setChooseLabelClass);
}
});

});
</script>
</body>
</html>
内容概要:本文档介绍了基于3D FDTD(时域有限差分)方法在MATLAB平台上对微带线馈电的矩形天线进行仿真分析的技术方案,重点在于模拟超MATLAB基于3D FDTD的微带线馈矩形天线分析[用于模拟超宽带脉冲通过线馈矩形天线的传播,以计算微带结构的回波损耗参数]宽带脉冲信号通过天线结构的传播过程,并计算微带结构的回波损耗参数(S11),以评估天线的匹配性能和辐射特性。该方法通过建立三维电磁场模型,精确求麦克斯韦方程组,适用于高频电磁仿真,能够有效分析天线在宽频带内的响应特性。文档还提及该资源属于一个涵盖多个科研方向的综合性MATLAB仿真资源包,涉及通信、信号处理、电力系统、机器学习等多个领域。; 适合人群:具备电磁场与微波技术基础知识,熟悉MATLAB编程及数值仿真的高校研究生、科研人员及通信工程领域技术人员。; 使用场景及目标:① 掌握3D FDTD方法在天线仿真中的具体实现流程;② 分析微带天线的回波损耗特性,优化天线设计参数以提升宽带匹配性能;③ 学习复杂电磁问题的数值建模与仿真技巧,拓展在射频与无线通信领域的研究能力。; 阅读建议:建议读者结合电磁理论基础,仔细理FDTD算法的离散化过程和边界条件设置,运行并调试提供的MATLAB代码,通过调整天线几何尺寸和材料参数观察回波损耗曲线的变化,从而深入掌握仿真原理与工程应用方法。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值