I keep getting this error and i cannot work out what it means
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Indat = load('-ascii','C:\Users\jbake_000\Documents\MATLAB\SC101\weather.txt');
Time = Indat(:, 1);
Windspeed = Indat(:, 4);
Windgust = Indat(:, 5);
figure(1);
clf;
Plot(Time, Windspeed);
hold on;
plot( Windgust, 'r');
xlabel('time(s)');
ylabel('speed K/ph');
title('Average windspeed and windgusts vs time')
Undefined function 'Plot' for input arguments of type 'double'.
Error in Perth_weather_obs_April08 (line 29) Plot(Time, Windspeed);;
0 Kommentare
Antworten (1)
Roger Stafford
am 15 Mai 2013
You used an uppercase 'P' in Plot(Time, Windspeed). Matlab doesn't know what that is.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!