Update a vector using equation of a line

1 次查看(过去 30 天)
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