![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
Statistik
2 Fragen
0 Antworten
RANG
114.909
of 292.821
REPUTATION
0
BEITRÄGE
2 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
0
RANG
of 19.946
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 148.012
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
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
AntwortenFrage
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