I have this script.
I = (kron(ev1_of_alice,(ev1_of_bob+ev2_of_bob)))+kron(ev2_of_alice,(ev1_of_bob-ev2_of_bob));
fprintf("I = "+ I + "\n");
fprintf("Violated Bell Inequality");
fprintf("Not enough data to determine S\n")
And when I run the script I have this error:
Error Using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
But I dont understand anything I is not a file I am trying to write a value not a file. How can I solve it?