How to write squarewave in matlab
古いコメントを表示
I need to include a squarewave command in my matlab script. I have a function, c(1)+c(2)*1/6*d(t), where d(t) is my squarewave with the values:
R, 0<= 0 t <= 1 0, 1 <= t < Tp
How do I write this in matlab? I know it is square(t,Tb,Tp)*R, but it doesn't work.
1 件のコメント
Daniel Shub
2013 年 2 月 25 日
What doesn't work? What commands are you typing? What error do you get? What do you expect to get?
回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Software Development についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!