not able to plot
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lincy Elizebeth Jim
am 24 Jun. 2015
Bearbeitet: Azzi Abdelmalek
am 24 Jun. 2015
Hi all I have m=0:2.5:12 which is time axis in seconds and p=0:0.2:1 which is probability
when i do plot(p,m) i get vectors must be of same length
kindly guide me
thanking in advance
lincy
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 24 Jun. 2015
Bearbeitet: Azzi Abdelmalek
am 24 Jun. 2015
m and p should have the same number of element. To correct this
m=0:2.5:12.5
p=0:0.2:1
plot(m,p)
You can check the size of each vector
size(m)
size(p)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations 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!