Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

update array in simulink and pass it to a matlab function

1 view (last 30 days)
Hello, I am working on estimating the radius of curvature of vehicle from camera data. I am getting x and y co-ordinates from camera at 100Hz. I have a function written in matlab that takes atleast 3 points and estimates the radius. On simulink while running a simulation i want to take about 10-15(about 0.1 seconds) data in array and pass it to this function to calculate radius of curvature.After i get the radius I want to flush out this data and do the same for next 0.1 seconds. Can anyone help me with this implementation. I mostly need help with array update part.
Thank you!

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!