axis X and Y code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, how to take value from X axis on Waveform 1 and take value from Y axis of waveform 2 to plot in one waveform? the code?
0 Kommentare
Antworten (1)
Image Analyst
am 16 Okt. 2016
Bearbeitet: Image Analyst
am 16 Okt. 2016
Exactly what is Waveform 1 and waveform 2? If you plotted them in an axes, you know the x and y signals. For example
subplot(2, 2, 1);
plot(x1, y1);
subplot(2, 2, 2);
plot(x2, y2);
subplot(2, 2, 3);
plot(x1, y2); % Plot y2 using axis of x1.
Or maybe you want to use interp1() to sample y2 at the locations of elements of x1?
5 Kommentare
Image Analyst
am 16 Okt. 2016
I didn't understand that. Are you saying that you have another array, say x1, that says what the x value of each element of waveform1 is?
Siehe auch
Kategorien
Mehr zu Hilbert and Walsh-Hadamard Transforms finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!