Signal conversion problem in Image Processing

1 Ansicht (letzte 30 Tage)
Rooter Boy
Rooter Boy am 12 Nov. 2020
Bearbeitet: Rooter Boy am 12 Nov. 2020
How can I solve this question in matlab and how do we find the answer?
I tried this code blog:
r1= input('enter r1: ');
r2= input('enter r2:');
s1= input('enter s1:');
s2= input('enter s2:');
r=[0 r1 r2 255], [0 s1 s2 255];
if r < r1
s=r*(r1/s1);
elseif r1<r & r<r2
x=tan((r2-r1)/(s2-s1))
s(r-r1)*x
else
s=r*(r2/s2)
end
plot(s);
I would be glad if you help.

Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by