How to debug Error in returning value?
7 次查看(过去 30 天)
显示 更早的评论
Could you please help ASAP? In the program attached below, I am getting the following error when I try to return the value of variable heart_rate calculated from pan_tompkin function to an array Heart_Rate
Error: File: pan_tompkin4.m Line: 135 Column: 15 Unbalanced or unexpected parenthesis or bracket.
Please help. Its urgent!!
0 个评论
回答(1 个)
Guillaume
2016-4-25
The error is very clear:
Heart_Rate[:,K]
is not valid syntax. Possibly you meant
Heart_Rate(:,K)=heart_rate
Note that saying that something is urgent makes it less likely that people will help you. We're doing this on a voluntary basis, it's certainly not urgent for us.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!