Somebody help me on how to solve the question i have asked just below the file below

1 Ansicht (letzte 30 Tage)

I have the data in my excel in three columns x,y1 and y2 but I don't know what to do next,,somebody to help on how to save this data in matlab current folder and how to read the columns and plot the two functions y1 and y2 using the 'xlead' function

Akzeptierte Antwort

Vilém Frynta
Vilém Frynta am 25 Mär. 2023
Bearbeitet: Vilém Frynta am 25 Mär. 2023
hello,
quite bold of you to straight up post screenshot of your homework assigment.
while your homework seems to be simple, we do not really like to help people who didn't even try. this would encourage more people to not learn Matlab themselves and rather post their homework, which would also lead to this page being a "homework service", which is not something we want.
however, your homework assigment is quite self-explanatory. write a script, where you load the data and then plot them, also add a legend. if you are not familiar with that, you can read more about these functions in the documentation:
xlsread (readmatrix might be better there, though), plot, legend.
internet is full of examples, guides, videos. you go check these out and try yourselves.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by