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 Ansichten (letzte 30 Tage)
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

Antworten (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by