Question: PLEASE USE MATLAB 1) Write a function that takes a single input as a vector of numbers numbers. The function should check if each number
PLEASE USE MATLAB

1) Write a function that takes a single input as a vector of numbers numbers. The function should check if each number in the vector is a prime number or not, and then place the prime numbers in one vector and the not prime numbers in a different vector. The function should then return both the vector of prime numbers and the vector of not prime numbers. 2) Use this function as a local function is a script that checks the integers between 1 and 10 for primes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
