How to save data coherence in matlab by using fprintf from the given coding?

fs=1000;
xn=importdata('alphaO1.txt');
yn=importdata('deltaCz.txt');
mscohere(xn,yn,[],[],[],fs);
ylim([0 1]);
xlim([0 500]);

2 Kommentare

Change
mscohere(xn,yn,[],[],[],fs);
to
cxy = mscohere(xn,yn,[],[],[],fs);
then run the code. When it finishes, tell us what
size(cxy)
shows.
ok.. thank you very much.. finally i get data of coherence..thanks again..

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 9 Mai 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by