How can I solve such questions in matlab (fix the error)
Show older comments
t = 0 : 0.0001 : 0.1
fc = 1000;
fo = 50;
fmax = 100;
I have range of |f| as [950, 1050].
And its used in this formula
x = ((f - 50)/2*50) + 1/2
and this is further multiplied with this curve
m = 300*cos(60*pi*t) + 5*cos(160*pi*t);
v = m.*cos(fc*t);
vsb = v.*x;
and then i plot it like this
plot(t, vsb);
but in this i get the error as
`Arrays have incompatible sizes for this operation.`
for this part
vsb = v.*x
Accepted Answer
More Answers (0)
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!