For an assignment I need to create a function that creates a graph using data from an imported excel file.
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
The file has two columns in which the first entry in each column is a string. The first column should be used for x-values and the second column for y-values. The string in the first entry should be used as the label for their respective axis. The graph should plot a 'o' at each data point.
3 件のコメント
Geoff Hayes
2018 年 11 月 26 日
Noah - since this is for an assignment (homework), what have you tried so far?
Noah Walker
2018 年 11 月 28 日
Geoff Hayes
2018 年 11 月 28 日
Noah - by "generalized", i suppose this means that the columm input (i.e. A3:A9) should be configurable by being input parameters into this function. Presumably the same would be true for the x- and y-labels (or maybe you can read this from the Excel sheet).
Also, you are passing in a filename input parameter but are then not using it and are instead using the hard-coded data.xlsx. Why?
回答 (0 件)
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!