photo

Andreea Alexandra


Active since 2015

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
111,895
of 300,302

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 20,911

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,040

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer