Not sure what the scatterplot error is?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I am getting an error message when I try to plot this, but MatLab does not specify what the problem is. Thanks.
GL4_Strm = xlsread('GL4_Stream.xlsx');
GL4_endm = xlsread('GL4_Endmember.xlsx');
scatterplot(GL4_Strm,GL4_endm);
8 Kommentare
the cyclist
am 25 Mär. 2017
Please post the entire error message.
Also, if you could upload the data files (or a smaller version that reproduces the error), that would be helpful.
Star Strider
am 25 Mär. 2017
What does the error message say?
Please copy all the red text from the Command Window and paste it to your original post or to a Comment here.
L. E.
am 25 Mär. 2017
Bearbeitet: Walter Roberson
am 26 Mär. 2017
Star Strider
am 25 Mär. 2017
What are the sizes (dimensions) of ‘GL4_Strm’ and ‘GL4_endm’?
L. E.
am 25 Mär. 2017
Star Strider
am 25 Mär. 2017
The scatter function requires two equal-length vectors. There is no way you can plot those two matrices even if you created vectors out of them. They have different sizes, and different numbers of elements.
L. E.
am 25 Mär. 2017
Star Strider
am 25 Mär. 2017
My pleasure!
Now I wish I’d posted this as an Answer!
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!