I've attached a drawing using Mathematica and want the following graph to be exactly the same

3 vues (au cours des 30 derniers jours)
syms y(x)
vel = table([0;.125;0.25;0.375;0.5;0.625;0.75;0.875;1;1.125;1.25;1.375;1.5;1.625;1.75;1.875;2],[0; 0.024934942578746697937373773042546; 0.049480663428674892204211876103623; 0.073253551446249896676617134859737; 0.095881199630495565880615199318259; 0.11700795711194655959310358044298; 0.1363003943635875927477781482227; 0.15345261966609088937500193824478; 0.16819135141725456884193011923064; 0.18028063867519389490367023494122; 0.18952609200141862076834501332858; 0.19577849294980553501413718323421; 0.19893664111442157919172260532557; 0.19894932805948448380986354760928; 0.19581634817447727513592110333613; 0.18958850260295146039225538942577; 0.18036659655686807780641359567233])
plot(vel{:,1},vel{:,2},'.')
axis([0 60 -.2 .2])

Réponse acceptée

KSSV
KSSV le 5 Mar 2019
x = linspace(0,50,1000) ;
y = 0.2*sin(x) ;
plot(x,y,'.b')
  2 commentaires
sadeem alqarni
sadeem alqarni le 5 Mar 2019
I do not want '' sin ''function I just want to draw the data in the table above
KSSV
KSSV le 5 Mar 2019
That case you should provide the data for entire range.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by