can i obtain this format ?
Show older comments
i want to get this matrix, can anyone help me ?
pi 0 0 1
0 pi 1 0
0 1 pi 0
1 0 0 pi
Accepted Answer
More Answers (1)
Image Analyst
on 10 Oct 2017
Here's an even simpler way:
m = [...
pi 0 0 1
0 pi 1 0
0 1 pi 0
1 0 0 pi]
No tricky function calls even needed at all.
Categories
Find more on Number Theory 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!