I am trying to plot the slope consisting of 4 data point. I have determined the slope between points 1&2, 2&3, etc. So I would like to plot the curve using the 4 slope points found. Would I need to create an array? I am lost please assist. Thank you
조회 수: 1 (최근 30일)
이전 댓글 표시
s1_2=(squirrelStructure_vec.back2y-squirrelStructure_vec.back1y)/(squirrelStructure_vec.back2x-squirrelStructure_vec.back1x))
s2_3=(squirrelStructure_vec.back3y-squirrelStructure_vec.back2y)/(squirrelStructure_vec.back3x-squirrelStructure_vec.back2x))
etc.
I want to group s1_2, s2_3 etc. and plot the for data points and show the curve.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!