Update a vector using equation of a line

2 ビュー (過去 30 日間)
Vincent Ogonda
Vincent Ogonda 2020 年 8 月 13 日
回答済み: David Hill 2020 年 8 月 13 日
Do you have any idea how to update a vector using equation of a straight line X = [380 250 220 200] Update vector X using X = Cx + b and plot the results

回答 (1 件)

David Hill
David Hill 2020 年 8 月 13 日
y=C*x+b;%assuming you have C and b defined as constants
plot(x,y);%assume you want to plot x vs y

カテゴリ

Help Center および File ExchangeLabels and Styling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by