Xi(0)=init(i,s)

can anyone can convert this to matlab code

5 Comments

madhan ravi
madhan ravi on 31 Dec 2018
what code is it?
madhan ravi
madhan ravi on 31 Dec 2018
Edited: madhan ravi on 31 Dec 2018
Vijay v's answer moved here for consistency:
c code
madhan ravi
madhan ravi on 31 Dec 2018
What's i and c? if you explain what the code does in c , we may be able to help you in converting it.
madhan ravi
madhan ravi on 31 Dec 2018
Vijay v's answer moved here for consistency:
i ranges from 1 to N
and s is sample space of 10 by 30 matrix
so we want initiqlise xi(0)
madhan ravi
madhan ravi on 31 Dec 2018
please don't comment on answer section use comment section instead

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 31 Dec 2018
Edited: madhan ravi on 31 Dec 2018
Xi=zeros(size(s)); % see if it does what you want

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 31 Dec 2018

Edited:

on 31 Dec 2018

Community Treasure Hunt

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

Start Hunting!