![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3789144_1522098259570_DEF.jpg)
Lina Baquero
Liberty University
Followers: 0 Following: 0
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
Statistica
2 Domande
0 Risposte
RANK
114.909
of 292.820
REPUTAZIONE
0
CONTRIBUTI
2 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 148.011
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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...
oltre 11 anni fa | 2 risposte | 0
2
risposteDomanda
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)...
oltre 11 anni fa | 2 risposte | 0