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 vues (au cours des 30 derniers jours)
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

Réponses (1)

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

Catégories

En savoir plus sur Octave dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by