is there any one line code for writing in this way? if it's please give me a way to write this.

1 view (last 30 days)
T = [
0 0.0018 0 0.0012
0.0018 0 0.0025 0
0 0.0025 0 0.0015
0.0012 0 0.0015 0
]
T = 4×4
0 0.0018 0 0.0012 0.0018 0 0.0025 0 0 0.0025 0 0.0015 0.0012 0 0.0015 0

Answers (1)

Voss
Voss on 26 Jan 2023
T = [0 0.0018 0 0.0012; 0.0018 0 0.0025 0; 0 0.0025 0 0.0015; 0.0012 0 0.0015 0]

Categories

Find more on Random Number Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!