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...
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');
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
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:-
I am doing a difference angle calculation for 4 points in matlab.
For 2 points, my code will be
But if for 4 vectors, how to find the differences by using above method?
i2c data hold
may anyone can tell me how the freq of I2C in a IC to be set?
for example the datasheet attached below. (red circled data)
the to come out the value of those I2C frequency and time?
**broken link removed**
i need to plot a graph by using the voltage differences between 2 signals. I have built a sensor to obtain the 2 signals and now I need to measure the voltage different by using Differential Amp.
by using TL061, which is op-amp amplifier, izt I just need to input 2 obtained signals into Pin 2...
labview 3d graph
can anyone provide me the block diagram of labview to plot two real time input signals in 3D graph....URGENT
i using sensor to obtain 2 signals n now i wanna use that 2 signals to plot a 3D graph.....ths signal is continuos signal(ECG)
why the need for max232
why we need MAX232 before RS232....i searched from yahoo/google but i dun really understand the explaination...can someone tell me?
max232 convert signal from TTL level to +and- level or in the other way round?
the output of PIC microcontroller is + level or both +-...
I'm currently doing my final year project with the title of VECTORCARDIOGRAPH MONITORING SYSTEM.
I done the sensor and sucessfully obtained ECG signal. Now I facing the problem of obtaining VCG signal, which is vector of ECG. i tried using LABVIEW to plot the graph but failed.