Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Getting an error "INDEX OUT OF BOUNDS" in my matlab program. Please help.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
for i=1:3 fepsn(i)=i; end %%Loop for epsilon values for icounter=1:3 epsn=fepsn(icounter) end
%%Shape function for axial effect N1(epsn)=(-1/2)*epsn*(1-epsn) N2(epsn)=(1+epsn)*(1-epsn) N3(epsn)=(1/2)*epsn*(1+epsn)
%%First Derivatives of Shape Function N1=diff(N1(epsn),epsn) N2=diff(N2(epsn),epsn) N3=diff(N3(epsn),epsn)
%%%%Second Derivatives of Shape Function N11=diff(N1(epsn),epsn,2); Attempted to access N1(3); index out of bounds because numel(N1)=0.(ERROR HERE) N22=diff(N2(epsn),epsn,2); N33=diff(N3(epsn),epsn,2);
3 comentarios
Stephan
el 2 de Oct. de 2018
Usually duplicate questions will be closed. To get more help my suggestion is to unaccept the answer and tell the contributer who tried to help what went wrong by leaving a comment to the answer.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!