# Asteroid light curve simulation and shape reconstruction with Markov Chain Monte Carlo
## 2D-Asteroid Light Curve simulation
- Create a shape and save it by running defineShape.m. You can change the shape primarily by changing values of pvec.
But keep in mind that first 3 values have to be same as last 3 values for curve to be closed. And length of the vector is also important.
Rules: length(tvec) = length(pvec)+p+1 and length(pvec) = length(wvec)
- Call lightCurve_visual-function with these parameters:
- accuracy: accuracy of the measurement (How many light-rays)
- angle: angle between viewer's direction and light source
- folder: folder, where animation frames are saved
Example usage:
1. Open defineShape.m
2. Run it
3. Create folder 'my_frames'
4. Call a function lightCurve_visual(30, 3*pi/4, 'my_frames')
## MCMC simulation
- Simulate MCMC shape reconstruction by running function inverse_problem_mcmc(N, folder, acc, frame_freq)
- Parameters:
- N: number of MCMC iterations
- folder: folder, where animation frames are saved
- acc: in light curve simulation, the number of light rays
- frame_freq: how frequently you want to record a frame
(every frame_freq:th iteration will be recorded. In addition frame will
be recorded whenever new maximum value likelihood occurs)
Example:
1. Create folder for animation frames ie. 'mcmc_frames'
2. Run inverse_problem_mcmc(1000, 'mcmc_frames', 10, 1)
没有合适的资源?快使用搜索试试~ 我知道了~
毕业设计&课设-基于Matlab的小行星光曲线仿真与形状恢复.zip
共14个文件
m:13个
md:1个
需积分: 1 0 下载量 54 浏览量
2024-01-08
22:54:50
上传
评论
收藏 15KB ZIP 举报
温馨提示
matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随
资源推荐
资源详情
资源评论
收起资源包目录
毕业设计&课设-基于Matlab的小行星光曲线仿真与形状恢复.zip (14个子文件)
matlab_code
light_intensity.m 662B
rationalFunc.m 566B
projLength_visual.m 2KB
lightCurve.m 7KB
lightCurve_visual.m 8KB
NURBSCurve.m 707B
inverse_problem_mcmc.m 11KB
basisFunc.m 676B
projLength.m 2KB
defineShape.m 1KB
NURBSFunc.m 548B
preProc.m 609B
lightCurve_view_direction.m 4KB
README.md 1KB
共 14 条
- 1
资源评论
白话机器学习
- 粉丝: 9496
- 资源: 7681
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功