Scatter plots exercise - Data Visualization

Scatter plots
- In the attached '.mat' file you will find vectors 'x' and 'y'. Perform a scatter plot to reveal what is often called the most beatiful equation in all of mathematics.
After plotting, use:
1- axis equal;
... to ensure it is displayed in the proper aspect ratio for readability.
Type the identity into the text box below.
EulerIdentity.mat
When I have responded and the answer was incorrect, the following is suggested:
Incorrecto
Type the text exactly as you see it in the scatter plot. There are no spaces in the answer.
I don't think I quite understand what you're asking. Because my doubt is that when I generate the scatter plot nowhere in the graph it tells me something that suggests an answer. I don't know what I'm missing when I make the graph. If you could help me, I would be very grateful.

8 Comments

What step, specifically, are you having trouble with? Applying a text object to the plot?
Show what you tried and explain why it didn't work.
As I indicate, I think that I am not understanding well what they are asking me, because I do not know whether to generate the dispersion only with the vector 'x' or to generate the dispersion of both 'x' and 'y', so as they are asking for the identity, I have the confusion of whether they are asking for the identity function, the value of the slope, or as they are talking about "write the identity in the text box" and talk about Euler's equation, I do not know if that equation should be generated.
I tried to plot(x). And also plot(x,y), I calculated the slope myself. But I'm not sure what they're really asking for. Thank you very much.
"Type the identity into the text box below." is too vague.
It's even more difficult to interpret since we don't have an image of the data.
Are you supposed to be using the scatter function?
Do you have any contextual hints of clearer instructions?
This is what they propose.
This is what they propose.
This is when I load the .mat file they give out for the exercise.
What does the scatter plot look like?
For figure(1) it is the dispersion using ploot(x,y), while for figure(2) it is using ploot(x).
Friend, I managed to solve it, it occurred to me to enter the part of Curve Fitting and to load the data of the 2 vectors, and the curve was generated with that identity. I had already tried before, placing that identity but with i instead of j. Thank you very much for your time and for answering me, I appreciate it.

Sign in to comment.

Answers (1)

Try using scatter(x,y) instead of plot(x,y). Doing so, you might see the data forms letters that you are then supposed to type in somewhere in the assignment.

Asked:

on 23 Aug 2020

Commented:

on 24 Aug 2020

Community Treasure Hunt

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

Start Hunting!