Update a vector using equation of a line

조회 수: 1 (최근 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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by