hi i have this programm function irnnumber


hi i have this programm
function [IRN,number ] = randnumbers( IRN )

IRN=int32(IRN)

ITOTAL=(IRN*330)+100
ITOTAL=int32(ITOTAL);

IQUOTIENT=ITOTAL/2303
IQUOTIENT=int32(IQUOTIENT);

IRN=ITOTAL-(IQUOTIENT*2303);

IRN=int32(IRN);

number =double(IRN/2303)
return

end

and when i am calling the function the number returns zero and it is not correct because it must be returned 0.2657 with IRN=183

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: hi i have this programm function irnnumber
Reference No:- TGS0358481

Expected delivery within 24 Hours