Determine the power and the Rms value for the following sign
Determine the power and the Rms value for the following signal using the matlab (write the code)
a) t^2[u(t - 1) - u(t - 2)]
b) (t - 4) [u(t - 2) - u(t - 4)]
Determine the power and the Rms value for the following signal using the matlab (write the code)
a) t^2[u(t - 1) - u(t - 2)]
b) (t - 4) [u(t - 2) - u(t - 4)]
a) t^2[u(t - 1) - u(t - 2)]
b) (t - 4) [u(t - 2) - u(t - 4)]
Solution
t=0:0.1:10;
a=(t.^2).*(t>=1&t<=2);%decaltre the afunction
b=(t-4).*(t>=2&t<=4);%declare the b function
rms_a=rms(a);%To find rms value a
rms_b=rms(b);%to find rms value a
power_a=rms_a^2;%To find power of a
power_b=rms_b^2;%to find power of b
![Determine the power and the Rms value for the following signal using the matlab (write the code) a) t^2[u(t - 1) - u(t - 2)] b) (t - 4) [u(t - 2) - u(t - 4)] D Determine the power and the Rms value for the following signal using the matlab (write the code) a) t^2[u(t - 1) - u(t - 2)] b) (t - 4) [u(t - 2) - u(t - 4)] D](/WebImages/21/determine-the-power-and-the-rms-value-for-the-following-sign-1046836-1761544623-0.webp)