Update a vector using equation of a line

1 visualización (últimos 30 días)
Vincent Ogonda
Vincent Ogonda el 13 de Ag. de 2020
Respondida: David Hill el 13 de Ag. de 2020
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

Respuestas (1)

David Hill
David Hill el 13 de Ag. de 2020
y=C*x+b;%assuming you have C and b defined as constants
plot(x,y);%assume you want to plot x vs y

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by