matrix error, long answer

3 views (last 30 days)
Yu Jin Park
Yu Jin Park on 2 Dec 2021
Answered: Chunru on 2 Dec 2021
Pxx(1,1),Pxx(2,1) have right answer
but after 3, Pxx(3,1) it appear 0
I don't know why that answers are 0
I hope you can help me

Answers (1)

Chunru on 2 Dec 2021
Becasue the range of data is too big, the displayed result using the default format may make the smaller value to be 0. Run the following command first before displaying Pxx.
format longg

Community Treasure Hunt

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

Start Hunting!