Why won't matlab plot data from a table?
Show older comments
%I am getting an empty plot from this code.
x1=linspace(0,500000,1000);
for x=1:17
y=lightint{x,1}
plot(x1,y)
end

2 Comments
Sindar
on 21 Feb 2020
It looks like y is a scalar value. Is that intentional?
Daniel Montgomery
on 21 Feb 2020
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!