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 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Walter Roberson
on 27 Feb 2022
MATLAB does not have implicit multiplication. Your syntax error on line 7 is because you coded 3x instead of 3.*x
0 Comments
See Also
Categories
Find more on Octave in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!