Matrix
Exercises for Octave / Matlab: If A is a matrix created by command A=rand(10,10);, what is a command to get the sub-matrix of elements whose both coordinates are odd? Write an expression for the sum of the integers from 1 to 100. Write an expression for the sum of the powers of 0.5 to the numbers from 1 to 10. Download and decompress (stock prices: date, open, high, low, close, volume) (18MB) stckPrcs.tar.bz2. in Octave, ‘load’ BDXA (in B/BDXA.us.txt and Octave needs to be in the directory where BDXA.us.txt is): BDXA=load(‘BDXA.us.txt’); at which data the BDXA had the highest price (need to use functions below for date as solution): m = max(BDXA(:,2)), i = find(BDXA(:,2) == m), date = BDXA(i, 1) For the submission send in the plain text the commands you used in part 1) (a,b,c) : there should be 3 lines. send in the plain text the ‘date’ variable you found in part 2) b): there should be one number.
Top-quality papers guaranteed
100% original papers
We sell only unique pieces of writing completed according to your demands.
Confidential service
We use security encryption to keep your personal data protected.
Money-back guarantee
We can give your money back if something goes wrong with your order.
Enjoy the free features we offer to everyone
-
Title page
Get a free title page formatted according to the specifics of your particular style.
-
Custom formatting
Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.
-
Bibliography page
Don’t pay extra for a list of references that perfectly fits your academic needs.
-
24/7 support assistance
Ask us a question anytime you need to—we don’t charge extra for supporting you!
Calculate how much your essay costs
What we are popular for
- English 101
- History
- Business Studies
- Management
- Literature
- Composition
- Psychology
- Philosophy
- Marketing
- Economics