graph plot with respect to axis
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
A=1:10; B=1:20; C=(2,4,6,8,10,11,12,14,16,18); how to plot the graph of A vs B with respect to C.
0 Kommentare
Antworten (1)
KSSV
am 5 Dez. 2017
A=1:10; B=1:20;
C=[2,4,6,8,10,11,12,14,16,18];
figure
hold on
plot(A,C,'-or')
Ci = interp1(A,C,B) ;
plot(B,Ci,'.-b')
legend('A vs C', 'B vs C')
Siehe auch
Kategorien
Mehr zu 2-D and 3-D 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!