why is there no lines in in my plot
1 view (last 30 days)
Show older comments
clear;
clc;
close all;
%input the filename you want to consider
%filename=input('what is the filename you want to consider \n','s');
folder ="C:\Users\Ajuff\CLionProjects\C++ML\C++MLP1\cmake-build-debug\tempvstime.txt";
%load file into variable data
data = load(folder);
for n=1:length(data)
fprintf('%f %f\n',data(n,1),data(n,2));
x=data(n,1);
y=data(n,2);
plot(x,y,'g')
end
why is there nothing in the plot the fprint f prints out values
0 Comments
Answers (0)
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!