photo

Lina Baquero


Liberty University

Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Hi, I have this problem: let A_ij =ij-j^2 for all i,j {1:10}
I using this loop:

for i=1:10
for j=1:10
A(i,j)=i*j-j^2
end
end

It is giving me the answer but it is showing every step. Now I need to find a way to do the for loop without displaying the result each step. In other words, find the execute but don't display output syntax

Estadística

Feeds

Ver por

Pregunta


Differential equations on MATLAB
I have this exercise but I'm stock: A =[5 1 0 0; 1 5 0 0; 0 0 1 -2; 0 0 2 1] a)solve dx/dt = Ax using the differential eq...

más de 11 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to find the execute but don't display output syntax of a loop?
Hi, i have this problem: Let A_ij =ij-j^2 for all i,j {1.2...10} Im using this for loop: for i=1:10 for j=1:10 A(i,j)...

más de 11 años hace | 2 respuestas | 0

2

respuestas