Hello Everyone,
I am working on a project in which a values changes for every iteration, i want to make it independent.The code is this
for t1=-0.5:0.1:0.5for t2=-0.5:0.1:0.5w=w0.*exp(j*t2*x+j*t1*y);endend
In this code w0,x and y are 40*40 matrix, so whenever the loop started the value of w changes for every iteration. i want to save this w value for each iteration in 480*640 matrix. means for first iteration value will cover 1*1-1*40 index of a 480*640 matrix next iteration value has to cover 1*41-1*80 and so on.
This will eventually make a matrix of 480*640.
I am looking forward for a favorable response.
Thanks in advance Regards
Best Answer