photo

Olivia DeBenedictis


Last seen: alrededor de 1 mes hace Con actividad desde 2021

Followers: 0   Following: 0

Estadística

  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


How to plot this signal x(𝑡) = (𝑡 + 2)𝑢(𝑡 + 2) − 2𝑡𝑢(𝑡) + (2(𝑡 − 4) + 2)𝑢(𝑡 − 4)?
I just am unsure of the correct syntax for plotting a signal with unit step. This is what I have so far. It gives me an error sa...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Create a function myPrimes that returns the first n primes as a vector, given a positive integer. For example, if the positive integer is 5, the vector returned would include 1, 2, 3, 5, 7. In your script, prompt the user for the positive integer val
clc; close all; clear all; n=input('Prime Numbers until:'); function result = myPrimes(n) result = []; index = 1; ...

más de 3 años hace | 1 respuesta | 0

1

respuesta