-
1 Comment
Rishabh Rishabh
on 13 May 2020
Why is this program failing?
function m = plot_cos(y, t)
j = size(y);
k = zeros(1,j(2));
a = k - y;
b = max(a);
k = find(a==b);
m = -b;
plot(t,y,'--',t(k),m,'r*');
end
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!