Question: use MATLAB File VO 1. Study the available information on Mathworks.com regarding the scanfsscant and sprintf/fprintf. What's the meaning of the format string %3din'? 2.
use MATLAB

File VO 1. Study the available information on Mathworks.com regarding the scanfsscant and sprintf/fprintf. What's the meaning of the format string %3din'? 2. Create a 1044 x 3 matrix where the rows correspond to 1:1044 and the columns correspond to the functions sin(x), log(x), and x*2. Let the (ij) entry be the value of the jth function evaluated on i. Save this matrix as a *.mat file (use save), a comma separated file (use dimwrite), text file (use fprintf) as an Excel file (use xlswrite) and as a compressed HDF5 file (use h5write). Include these files in the dropbox folder when you complete this homework assignment. a) Which format took the longest/shortest amount of time to write? b) Which format used the least/most amount of disk space? c) Which format took the longest/shortest amount of time to read in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
