import multiple mat files together
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how can i import several .mat files together and plot it in one plot
2 Kommentare
Geoff Hayes
am 1 Jul. 2022
@usman ahmed - you can use load to load the variables from each file and then plot the data for each.
Antworten (1)
Rohit Kulkarni
am 2 Jul. 2022
Hi,
You can use load for loading files, plot for plotting, and hold on and hold off for plotting multiple plots on one.
Hold on and off can be used like this:
plot(vector_1)
hold on
plot(vector_2)
plot(vector_3)
hold off
"hold on" will let you add multiple plots on a single plot, and then you can write "hold off" to stop this
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Import and Analysis 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!