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 日間)
Maneesh T
Maneesh T 2015 年 11 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Maneesh T
Maneesh T 2015 年 12 月 7 日
I have a matrix of 360*2.one column is angle and one column is gain. suppose if I would like to know the corresponding gain of 178.4 which is not in the matrix.From the matrix that I had given the gain will be in between 5.6 and 5.8 What is the procedure?
Steven Lord
Steven Lord 2015 年 12 月 7 日
Interpolate with INTERP1. See the examples in that function's documentation page.

回答 (1 件)

Jan
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)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by