Info
此问题已关闭。 请重新打开它进行编辑或回答。
Graphing using Matlab. How would you graph a function using matlab?
1 次查看(过去 30 天)
显示 更早的评论
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 ;
d =0.43
%y= a+bx
hold on
for i = 0:20
y = a + b*i
plot(i,y)
end
% 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?
0 个评论
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!