Cody

Solution 1995495

Submitted on 29 Oct 2019 by Simon Pilgrim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
t = linspace(0,15,400); y = exp(-0.5*t).*cos(2*pi.*t); m = plot_cos(y, t); f = gcf; assert(isequal([f.Children.Children.Color], [1 0 0 0 0 1])) assert(strcmp([f.Children.Children.LineStyle], 'none--')) assert(strcmp([f.Children.Children.Marker],'*none')) assert(isequal([f.Children.Children.YData],[m, y]))

G+0q53jbwwr9aaaaabjru5erkjggg=="}]
2   Pass
t = linspace(2,5,100); y = exp(-0.5*t).*cos(2*pi.*t); m = plot_cos(y, t); f = gcf; assert(isequal([f.Children.Children.Color], [1 0 0 0 0 1])) assert(strcmp([f.Children.Children.LineStyle], 'none--')) assert(strcmp([f.Children.Children.Marker],'*none')) assert(isequal([f.Children.Children.YData],[m, y]))

998+znuk0zk7vkbikuqcvrmwdqmwd0dad0dad0dad0daa9awa9awa9awa9awa9a0dpaedpaedpaedpanazanazanazanazapqmapqmapqmapqmad0dad0dad0dad0dqm8aigx+d7m5tbov33gfaaaaaelftksuqmcc"}]