Parfor+for+if+if How to calculate variable form last if
See my code
parfor i = 1:n
for j=1:m
if some_condition(i)
if some_condition(i)
t=do_something(i);
b = [b;t];
end
end
end…
end
I want all b values to get out from the parSee my code
parfor i = 1:n
for j=1:m
if some_condition(i)
if some_condition(i)
t=do_something(i);
b = [b;t];
end
end
end…
end
I want all b values to get out from the par See my code
parfor i = 1:n
for j=1:m
if some_condition(i)
if some_condition(i)
t=do_something(i);
b = [b;t];
end
end
end…
end
I want all b values to get out from the par par+if+for MATLAB Answers — New Questions