receiving error when code is correct on matlab onramp Project – Stellar Motion II task 4?
my code:
for v = 1:7
s = spectra(:,v);
if speed(v)<= 0
plot(lambda,s,"–")
else
plot(lambda,s,"–","LineWidth",3)
end
hold on
end
hold off
It says incorrect for "Did you make a plot with seven line?" and I did? How can I fix this?my code:
for v = 1:7
s = spectra(:,v);
if speed(v)<= 0
plot(lambda,s,"–")
else
plot(lambda,s,"–","LineWidth",3)
end
hold on
end
hold off
It says incorrect for "Did you make a plot with seven line?" and I did? How can I fix this? my code:
for v = 1:7
s = spectra(:,v);
if speed(v)<= 0
plot(lambda,s,"–")
else
plot(lambda,s,"–","LineWidth",3)
end
hold on
end
hold off
It says incorrect for "Did you make a plot with seven line?" and I did? How can I fix this? error, onramp MATLAB Answers — New Questions