Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to equate some 200 random numbers with other 200 random numbers that i have ?? And choose values to find slope from them
조회 수: 1 (최근 30일)
이전 댓글 표시
Suppose x equals to some 350 numbers and y equals to some 350 numbers. How to equal them 1 to 1 matching ? And to find the slope from choosing two numbers and there corresponding values ??
댓글 수: 6
Steven Lord
2015년 12월 7일
Interpolate with INTERP1. See the examples in that function's documentation page.
답변 (1개)
Jan
2015년 11월 15일
While I do not understand the first part of your question, getting the slope is possible with different methods:
slope = (y2-y1)/(x2-x1)
or
slope = diff(y)/diff(x)
or
gradient(y,x)
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!