Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I had fwrite 2 files, X.mat and Y.mat. I would like to do a code to check whether this 2 files are exactly the same content or not ( both files are same content inside, but using different codes to do it). I am actually wanted to check both of my codes whether can produce the same result or not...
HI,
I have wrote a write file to key in my data (binary and ASCII). Here is my matlab code:-
fid = fopen('data.mat', 'wb');
value = 555
WriteBinary = typecast(uint16(value),'uint16');
b = fwrite(fid, WriteBinary, 'uint16');
value = 10
WriteBinary = typecast(uint8(value),'uint8');
b...
I have developed a fwrite file to save my data. But I dunno how to read it by using fread function. Can any advise?
Here is my code:-
fid = fopen('CEOS.mat', 'wb');
Value = 555;
x = Value
WriteBinary = typecast(uint16(x),'uint16');
b = fwrite(fid, WriteBinary, 'uint16')...
I am trying to write a matlab code to save all my parameters into one .mat file.
My parametera, for example:
a = 2
b = 1
c = 1.3
d = 99
Q1: I tried to use fwrite, but have no idea how to do continue.
fid = fopen('parameter.mat', 'wb'); <----create .mat file to be written
fwrite(fid, ...
I am doing signal recording in binary format. I would like to store the binary data into CEOS format by using MATLAB way. Can anyone teach/guide me how to do it? or any example?
THANK!
Hi Medra,
Thank for your advise. I read thru the parfor documents, but I do not understand how to operate, that's why I came here to ask if any help/example could show me.
Can you give me further explaination? PLEASE!!!!!!!
THANK A LOT!!
I am currently doing my real time signal processing by using Matlab.
The time elapsed are huge, which is ~6sec. I wish to implement my system into parallel processing for those FOR LOOP in order to improve my time comsumtion. I tried the very simple option as below before my loops:-
matlabpool...
I am doing a difference angle calculation for 4 points in matlab.
For 2 points, my code will be
2_Vector_difference=conj(vector1).*vector2;
angle=angle(2_Vector_difference);
But if for 4 vectors, how to find the differences by using above method?
Re: SPI bus application
I understand SPI how to function, but i dun really know about its application on AUDIO devices.
Can anyone explain to me how SPI apply in our daily goods?
and also,
WHy there are diff type of clock polarity and phase?
THX
Re: ECG circuit
i have the circuit but not with me now(cos i am in office), are u still wan it? if yes then later i go home n post it here.
pls do let me know
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.