Community Profile

photo

Ibrahim Omais


Last seen: nästan 2 år ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


i want to create a 2 dim matrix which creates 1000 rows vs 1000 columns which will look like a table, if the prime number occur output 1 in the cell and if not prime output 0
Create 2 dim matrix 0 --> 999 rows, 0 --> 999 columns Prime_matrix = zeros(1000,1000); For i= 0 --> 1000000 If I is == ...

nästan 2 år ago | 1 answer | 0

1

answer