photo

Lina Baquero


Liberty University

Aktiv seit 2012

Followers: 0   Following: 0

Nachricht

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

Statistik

Feeds

Anzeigen nach

Frage


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...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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)...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten