help understanding matlab codes in details
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello everyone. I am new learner of matlab who only knows some basics of programming. I am trying to read and understand some downloaded code. Can anyone please tell me how can I read and understand a code line by line? Please help me. Thanks in advance.
0 comentarios
Respuestas (2)
madhan ravi
el 20 de Oct. de 2018
Use a cheat sheet https://www.dummies.com/programming/matlab-for-dummies-cheat-sheet/ faster to understand
0 comentarios
Malavika P D
el 25 de Abr. de 2023
x = [ 5 6 9 11];
y = [12 13 14 16];
L = 0;
for i =1:length(x)
el=1;
for j=1:length(x)
if j~=i
c = poly(x(j))/(x(i)-x(j));
el = conv(el,c);
end
end
L_term = el*y(i);
L = L+L_term;;
end
polynomial = poly2sym(L);
disp(polynomial)
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!