Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to selected a variable point on the y-axis?
1 次查看(过去 30 天)
显示 更早的评论
I've got 5 subjects who walk up the stairs. And I want to select the starting point for each subject. The starting point on the y-axis. The y-axis gives the distance. (look figure).
0 个评论
回答(2 个)
Joseph Cheng
2014-12-22
well there isn't a figure in your question. But a quick assessment would say you have some equation that would be distance = stair climb rate * time + constant. where your constant would be the initial stair position. you can use the rand() or randi() functions to generate your starting points
1 个评论
Image Analyst
2014-12-22
How about using ginput() to let the user specify the starting points?
2 个评论
Image Analyst
2014-12-22
Hard to say since you're making us work blind. Maybe just select 2 and put the remaining three on a line extrapolated from the first two????
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!