Olivia DeBenedictis
Followers: 0 Following: 0
Feeds
질문
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...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
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; ...
거의 4년 전 | 답변 수: 1 | 0