Index in position 2 exceeds array bounds. Index must not exceed 1.
2 次查看(过去 30 天)
显示 更早的评论
Hi, i am tried to obtain output of dpre 51*71*3 i applied for loop but out put still 51 1 3 any help please
Vpsim, Vssim, Rhosim they are 51 1
for k=1:71
for j=1:iter
[Vpsim, Vssim, Rhosim]=applico_RPM_II([Sw_sim Sh_sim Phi_sim]);
dpre(:,k,:)=calcola_dati_pre_stack(Vpsim(:,k),Vssim(:,k),Rhosim(:,k),wavelet,ang); % dato test
end
end
6 个评论
Torsten
2022-1-1
What is the size of what you get back from "calcola_dati_pre_stack" ?
What is "iter" ?
回答(2 个)
Sulaymon Eshkabilov
2022-1-1
Here is a tentative solution with some pre-assumptions:
for k=1:51
for jj=1:61
for ii=1:3
[Vpsim(k), Vssim(k), Rhosim(k)]=applico_RPM_II([Sw_sim(k), Sh_sim(k), Phi_sim(k)]);
dpre(k,jj,ii)=calcola_dati_pre_stack(Vpsim(k),Vssim(k),Rhosim(k),wavelet(jj),ang(ii)); % dato test
end
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!