Help with indexing in MuPAD
Show older comments
Hi,
I am looking for some help to do the following in MuPAD :
AA := sum(sum(q[i][j],i=1..2),j=1..2)
This gives me AA = q11 + q12 + q21 + q22. Now I want to specify that q12 = q21. How would I do that? I tried to use the 'Assume' command in MuPAD, but haven't made much progress.
Also, What is the difference between writing 'q_1' and 'q[1]' in MuPAD. I guess the first one refers to a subscript while the second one acts like an index. Is this right?
Thanks,
yogesh
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MuPAD 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!