1. Engineering
  2. Electrical Engineering
  3. please answer this question using matlab write a matlab function...

Question: please answer this question using matlab write a matlab function...

Question details

Please answer this question using Matlab:

Write a matlab function to generate and plot a sine wave at a specified frequency having at least 10 cycles, for this case the amplitude will represent voltage. Your sine wave should have a positive going zero crossing at T=0. Make sure your plot has at least 25 samples per cycle. Make sure the plot is with respect to time. Your function needs to return your generated samples and time vector. The frequency will be given in Hz.


Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution