Feeds
提问
see, i have this error in my code saying: ??? Attempted to access x(0); index must be a positive integer or logical. Error in ==> abc at 14 x(i)=mod(g^x(i-1), p);
clear all; close all; clc; p = input('Introduceti numarul prim p= '); g = input('Introduceti numarul prim g=...
10 years 前 | 2 个回答 | 0
2
个回答提问
see, i have this error in my code saying: ??? Attempted to access x(0); index must be a positive integer or logical. Error in ==> abc at 14 x(i)=mod(g^x(i-1), p); how could index 0 not be a posiitive integer? :
% Implementarea algoritmului Blum Micali % pentru PRNG in Matlab clear all; close all; clc; p = input('Introduceti numarul ...
10 years 前 | 1 个回答 | 0
