not enough input arguments error uploading through an excel file

조회 수: 2(최근 30일)
Hello, I am trying to plot data from an excel file that is 480 by 80 big; the program successfully reads into data arrays. The first column of the excel file which is x axis in this case Energy and the y axis is the first row of the excel file which is the y axis known as the time delay. I am trying to graph these data points but I am getting an Not enough input arguments error and I am not sure what to do. I have upload my code as well, I added zeros to the Timedelay matrix so that both the Time Delay and Energy are the same size while also adding zero the first element of the Energy matrix so there is no empty elements and I am still getting the error. Any ideas of how to fix this would be extremely helpful.


Community Treasure Hunt

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

Start Hunting!

Translated by