This question is closed. Reopen it to edit or answer.
Graphing using Matlab. How would you graph a function using matlab?
1 view (last 30 days)
Show older comments
Khang Nguyen on 23 Nov 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
I am wondering how can you graph a function in MatLab? This is how I do it but the code doesn't work
% for matrix A
a = 24;
b = 4.8;
c = - 0.5 ;
for i = 0:20
y = a + b*i
% now y = a + b*x + c*x^2
% and y = a + b*x +c*x^2 +d*x^3
% how would you graph these function?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!