equation or formula for multiple values to equal a constant
Mostrar comentarios más antiguos
Constant is 56.68 and the values are 32.06, 34.26, 35.84, 39.2, 44.92, 52.24
1 comentario
Dyuman Joshi
el 26 de Mzo. de 2023
What is the problem you are facing? How does this relate to MATLAB?
Respuestas (1)
format long g
x = [32.06, 34.26, 35.84, 39.2, 44.92, 52.24];
y = repelem(56.68, 1, length(x));
p = polyfit(x, y, 2)
To within round-off error, the formula is
y = 0*x^2 + 0*x + 56.8
which is just
y = 56.8
Categorías
Más información sobre Robust Control Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!