How to replace number with string in a matrix
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ali Raza
am 24 Aug. 2022
Kommentiert: Lavanya
am 14 Sep. 2022
I want to print like:
A =
1 1 1 1 1
1 1 1 1 1
1 1 Ali 1 1
1 1 1 1 1
1 1 1 1 1
but there are errors in my code:
for i = 1:5
for j = 1:5
A(i,j) = 1;
end
end
A
0 Kommentare
Akzeptierte Antwort
Geoff Hayes
am 24 Aug. 2022
Verschoben: Cris LaPierre
am 24 Aug. 2022
5 Kommentare
Lavanya
am 14 Sep. 2022
Here is the ''app1.mlapp'' file. This '.mlapp' file should work same as above the code. But its not working. Can you help me with this?
Weitere Antworten (0)
Siehe auch
Kategorien
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!