Compute the following using MATLAB Given A 4 i5 B 2 i35
Compute the following using MATLAB: Given: A = 4 - i5, B = 2 + i3.5, C = 5 77 degree, D = 15 30 degree A + B =_B + C =_C - D =_A/B =_B/C =_C/D =_Solve the set of simultaneous linear equations using MATLAB (solve for w, x, y, and z): x + 2y - 3z + 4w = 12 2x + 2y - 2z + 3w = 10 y + z = -1 x - y + z - 2w = -4
Solution
n = firstnumber : secondnumber; p = isprime(n); n(p) %displays the primes clc num1 =input(\'Enter num1 value \'); num2 =input(\'Enter num2 value \'); n = firstnumber : secondnumber; p = isprime(n); n(p) %displays the primes clc num1 =input(\'Enter num1 value \'); num2 =input(\'Enter num2 value \'); n = num1 : num2 ; p = isprime(n); n(p) %displays the primes