what is the meaning

1 view (last 30 days)
Md.Simul Hasan Talukder
Md.Simul Hasan Talukder on 29 Jan 2019
Edited: madhan ravi on 29 Jan 2019
val = [double(text) 0];

Answers (1)

madhan ravi
madhan ravi on 29 Jan 2019
Edited: madhan ravi on 29 Jan 2019
Did you check the output first?
Val=[double(logical(1:5)) 0] % double converts other classes to double and the array at the end is padded with zero
doc double % read it

Categories

Find more on Convert Image Type 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!