what is wrong in my square wave code it isnt running
古いコメントを表示
clc;
clear vars;
close all;
a=[1,1,1,1,0,0,0,0];
fs=10;
tiv=1/fs;
t=0:tiv:(3-tiv);
plot(t,a,'*');
axis([0 3 -0.5 1.5]);
xlabel('sec.');
title('square wave samples');
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Least Squares についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!