How can I create it?
Ältere Kommentare anzeigen
How can I create a 5x5 matrix with the following criterion: aij = 2cos(0.4(i-j)π)
Akzeptierte Antwort
Weitere Antworten (1)
jgg
am 12 Feb. 2016
Try this
A = 2*cos(0.4.*pi.*(repmat([1:5]',1,5) - repmat([1:5],5,1)));
1 Kommentar
Taner Cokyasar
am 12 Feb. 2016
Kategorien
Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!