Defining Double Summations in MATLAB for Contour Plotting

4 views (last 30 days)
Hello everyone,
I'll lead with the fact that I am not a programmer and for your piece of mind, the assignment I have been tasked with is a structures question. My graduate professor appears to have a rather dark sense of humor when it comes to assigning things that require programming skills that far exceed my own.
Anyway, my weapon of choice was matlab so hopefully someone will be able to help me.
- I calculated a matrix required for solving my problem (Cmn) it's a [10X10] matrix and it consists of varying constants based on previous calculations. - The equation required now is attached as a JPG. - Essentially I need to figure out a way to do a double summation where the function is dependent on the subscripts of the matrix and the correct constant (Cmn) value is multiplied respectively.
For example when m=1 and n=4, the value of C14 should be used and for the function, m=1 and n=4 should be used.
In addition, this needs to be plotted in the form of a 2D contour so the X and Y values have to be specified.
If anyone has any ideas on how I even touch this, I'm all ears!
Thanks a lot for your help in advance.

Answers (0)

Categories

Find more on MATLAB 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!