Info

This question is closed. Reopen it to edit or answer.

Could anyone please explain this codes ?

1 view (last 30 days)
SUKUMAR NAGINENI
SUKUMAR NAGINENI on 24 Nov 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
inmenu=sprintf(' enter the number of the desired filter type:\n1) Low-pass \n2) High pass\n3) Band-pass \n4) Band-stop\n-> ');
filtertype=0;
while(filtertype==0)
filtertype=input(inmenu);
if(isempty(filtertype))
fitertype=0;
end
if ((filtertype<1) || (filtertype>4))
filtertype=0;
end
end
switch (filtertype)
case 1,
----
case 2,
-----
case 3,
------
case 4,
---
end
finally required output commands
  7 Comments

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!