MATLAB Answers

how to read records line by line saved in m30.txt .

1 view (last 30 days)
moni sinha
moni sinha on 29 Nov 2018
Commented: moni sinha on 29 Nov 2018

  0 Comments

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 29 Nov 2018
Edited: madhan ravi on 29 Nov 2018
Edited
Do you mean this?
fid=fopen('m30.txt','r')
f=textscan(fid,'%s','Delimiter','\n')
fclose(fid)
celldisp(f)

  3 Comments

moni sinha
moni sinha on 29 Nov 2018
firstly read the first line and do hashingusing sha128 with random number of 64 bit hexadecimal length and bitxor the value of hashed value of random and first line record hashed value .then read the second line and do hashing with the previous hash vaue i.e random number and first line

Sign in to comment.