Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 3 (Stock prices, functions, plotting) My Solutions > Write a script which uses the function defined in Task 2. Use it on the variable

image text in transcribed

Task 3 (Stock prices, functions, plotting) My Solutions > Write a script which uses the function defined in Task 2. Use it on the variable stock2 from data file NYSEstock. Using the function outputs, plot the following . Figure 1 which contains the closing price as black line, but with days when the opening price was equal to closing price marked as green points, days when the opening price was lower than closing price marked as red points, and the remaining points marked blue. Label the plot accondingly . Figure 2 which contains the trade volume as black line but with the 100 highest trade days marked as red points and the 100 lowest trade days marked as blue points. . Figure 3 being a scatter plot between the closing price and volume, where the respective highest 100 trade days are marked red and lowest 100 trade days marked blue (it doesn't matter which axis represents which variable) The function should be defined after the entire script and should be closed with end-command. Script Save C Reset 3 MATLAB Documentation Task 3 (Stock prices, functions, plotting) My Solutions > Write a script which uses the function defined in Task 2. Use it on the variable stock2 from data file NYSEstock. Using the function outputs, plot the following . Figure 1 which contains the closing price as black line, but with days when the opening price was equal to closing price marked as green points, days when the opening price was lower than closing price marked as red points, and the remaining points marked blue. Label the plot accondingly . Figure 2 which contains the trade volume as black line but with the 100 highest trade days marked as red points and the 100 lowest trade days marked as blue points. . Figure 3 being a scatter plot between the closing price and volume, where the respective highest 100 trade days are marked red and lowest 100 trade days marked blue (it doesn't matter which axis represents which variable) The function should be defined after the entire script and should be closed with end-command. Script Save C Reset 3 MATLAB Documentation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Multinational Financial Management

Authors: Alan C. Shapiro

7th Edition

0471395307, 9780471395300

More Books

Students also viewed these Finance questions

Question

What do you know of my (the interviewers) research program?

Answered: 1 week ago