write short matlab/octave program to generate numbers in the range x: 1 to 10, step (0.5), and draw y= 3x+5 as a dt signal. 3. find 3.a 4. find x. y 5. find b.^2

4 visualizaciones (últimos 30 días)
write short matlab/octave program to generate numbers in the range x: 1 to 10, step (0.5), and draw y= 3x+5 as a dt signal. 3. find 3.a 4. find x. y 5. find b.^2

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Feb. de 2022
MATLAB does not have implicit multiplication. Your syntax error on line 7 is because you coded 3x instead of 3.*x

Categorías

Más información sobre Octave en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by