Тёмный
No video :(

MATLAB Program to Check Prime Number 

MR MJT
Подписаться 557
Просмотров 10 тыс.
50% 1

Simple MATLAB program to check wheather the no is prime or not.
There is also a matlab function which check also prime no. But you may ask to develop it . so paractice it
RU-vid Channel: / @mrmjt
LIKE US!!
FACEBOOK PAGE:
/ smartnquickacademy
SUBSCRIBE FOR MORE!!!
matlab tutorials
p = primes(n) returns a row vector containing all the prime numbers less than or equal to n. The data type of p is the same as that of n.

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@upscaspirent7599
@upscaspirent7599 3 года назад
. Write a program to find the sum of first n natural numbers. 2. Write a program to find whether a given number is prime or not. 3. Write a program to find whether a given number is even or odd Pls do all in MATLAB
@crammingbanned2118
@crammingbanned2118 5 лет назад
sir,plz upload video to find safe prime numbers..
@crammingbanned2118
@crammingbanned2118 5 лет назад
sir,i ki values 2 se start honi cheahi??bcz 1 is divisor of every no.
@mrmjt
@mrmjt 5 лет назад
No issue in that if we starts from 2 then we have to give c=1; thanks anything else?
@rohitbiradar3053
@rohitbiradar3053 2 года назад
c= 5 13 we should substitute right
@aishwarybangde1486
@aishwarybangde1486 Год назад
why n=n+1
@mohsinrasool7452
@mohsinrasool7452 5 лет назад
sr 2 br end q use kiya?
@mrmjt
@mrmjt 5 лет назад
first time to end (for) command and second time to end if command. anything else?
@mohsinrasool7452
@mohsinrasool7452 5 лет назад
disp etc?
Далее
MATLAB | Number Pyramid using Nested Loops
10:14
Просмотров 3,1 тыс.
Get up in Fajar | Best Hack
1:22
Просмотров 14
Competition For ENGINEERING STUDENTS
1:19
Просмотров 391
x64dbg: How to find caller of function
8:58
Просмотров 75 тыс.
निशु भाई का गेम है
0:58
Guddifachaa [ ጉዲፈቻ ] Kutaa 8ffaa
44:28
Просмотров 117 тыс.
Which programming language should you choose?
14:54
Просмотров 585 тыс.