Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to equate some 200 random numbers with other 200 random numbers that i have ?? And choose values to find slope from them
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Steven Lord
am 7 Dez. 2015
Interpolate with INTERP1. See the examples in that function's documentation page.
Antworten (1)
Jan
am 15 Nov. 2015
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 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!